Commit Graph

22 Commits

Author SHA1 Message Date
Thierry Carrez
8a1bcb0a4b Include all tests in generated tarballs
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
2012-06-28 14:40:45 +02:00
Dan Prince
fc758a46e7 Re-add migrate.cfg to tarball.
Fixes LP Bug #1010284.

Change-Id: Ic19a5ef16e7e2237c4becfbca9a608ef932fc973
2012-06-07 22:23:48 -04:00
Brian Waldon
dfd9e207f2 Move glance.registry.db to glance.db
Related to bp refactor-db-layer

Change-Id: Ia7c5aea29eef8068a9b67ac5fd051b45a38a20de
2012-06-04 09:29:42 -07:00
Thierry Carrez
86a7976c82 Add missing files to tarball
Add a few missing files to generated tarballs.
Fixes bug 1001213.

Change-Id: Ie6ce3069e9e93aeb6be78bd2d90ad4f07ae56b3a
2012-05-23 21:06:04 +02:00
Chuck Short
bcb6089733 Convert glance to glance/openstack/common/setup.py
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>
2012-05-02 13:29:30 -07:00
Bhuvan Arumugam
f4ce37b9c2 Auto generate AUTHORS file for glance.
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
2012-04-30 19:44:43 -07:00
Thierry Carrez
182b71e9f2 Include babel.cfg and glance.pot in tarballs
Ship babel.cfg and glance/locale/glance.pot in generated tarballs.
Fixes bug 955977.

Change-Id: Ib1b00fae9c3cc752183f38ea88554a06dd706d38
2012-03-15 14:05:01 +01:00
Thierry Carrez
9593687d3d Fix MANIFEST.in to include missing files
Fix MANIFEST.in to include missing files in generated tarballs.
Fixes bug 940364.

Change-Id: I3f07dba902e5e038d2224d0acdbd14f2b1078467
2012-02-24 16:00:39 +01:00
Dan Prince
3b8ff189a1 Adds README.rst to the tarball.
Fixes LP Bug #934320.

Change-Id: Ib16ad8d5d1c418c2b3fd94b6bd427d53d30577ad
2012-02-17 11:56:11 -05:00
Chuck Short
e7b32c13f8 Include glance/tests/etc
Fixes bug 930344

Change-Id: I277185a8b62d982dad597a3ac878608ce5e0de5c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012-02-10 14:13:20 -05:00
Russell Bryant
08dbc2a7cb Include the LICENSE file in the tarball.
Change-Id: Ib51c9e8b02797d9daa956fe02a217b9e748b0c06
2012-01-26 12:26:06 -05:00
Thierry Carrez
5fc3d42dd7 Add missing files to tarball
Add missing files from repository in tarball.
Fixes bug 901217.

Change-Id: Ib4f5efdce412c9255e13894df77d7e63c2ac6d05
2011-12-12 16:45:48 +01:00
Jay Pipes
f45db5e754 Fixes Bug #851216
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
2011-09-16 13:49:52 -04:00
Soren Hansen
327f7525c0 Move tests under the glance namespace. 2011-08-03 00:10:52 +02:00
Soren Hansen
7582a33c79 Add the migration sql scripts to MANIFEST.in. The gets them included in not only the tarball, but also by setup.py install. 2011-04-11 22:21:06 +02:00
jaypipes@gmail.com
23d8980b86 Add ChangeLog back to MANIFEST.in 2011-03-25 13:08:19 -04:00
jaypipes@gmail.com
6ada142538 Remove non-existing files from MANIFEST.in 2011-03-21 15:23:52 -04:00
jaypipes@gmail.com
bb5f1229ef Use Nova's path trick in all bins... 2011-02-21 17:11:27 -05:00
Rick Harris
9c5290bcb5 Adding migration management commands 2011-02-02 01:43:16 +00:00
Soren Hansen
51878645d1 Also include run_tests.py in tarball. 2011-01-20 11:13:46 +01:00
Monty Taylor
bdb2f2209b Include some files that were left out. 2011-01-15 12:02:31 -08:00
jaypipes@gmail.com
6b220dbea1 Packaging fixups 2010-10-21 15:51:44 -04:00