Make sure all glance/tests is actually shipped in generated
tarballs. Rather than adding yet another specific entry, recursively
include all glance/tests and globally exclude all .pyc.
Change-Id: I7875c58dece452b5356cf7e268f504780ec30bff
Fixes: bug 1018830
Convert glance to use glance/openstack/common/setup.py
to write the changelog.
Change-Id: Ibadec15d7e530149cf62cd00d63c06bf63cf53bb
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Bug: 976267
Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.
This commit fixes the problem.
* Authors
Remove this file. To be consistent with other projects,
the new file AUTHORS is generated automatically.
* .gitignore
Add AUTHORS file.
* glance/common/setup.py
generate_authors(): New method to create AUTHORS file. If
AUTHORS.in file exists, append it's content to AUTHORS file.
* setup.py
Import the new method.
local_sdist.run(): Generate AUTHORS file before creating the
package.
* MANIFEST.in
s/Authors/AUTHORS
* glance/tests/unit/test_misc.py
AuthorsTestCase: Remove this class that test an entry in
Authors file.
parse_mailmap(), str_dict_replace(): Remove these methods.
Change-Id: If83c3fe9b2142342ac11cc019bc24926f52ee753
Fixes a recurring issue with tests that were
decorated with the @runs_sql decorator where the
file-based SQLite registry database used in those
tests was not being properly cleaned up, which was causing
some random-looking failures when python setup.py test was
run for the DEB builders on Jenkins.
According to Monty, files needed in testing do indeed need
to be in MANIFEST.in, so I added the test_migrations.conf
file to that. Sorry, BrianW!
Change-Id: I6535b999921d159de5d957f6b70df3c13310e449