Commit Graph

56 Commits

Author SHA1 Message Date
Andreas Jaeger 176d24de94 Cleanup old cruft
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Update requirements: Remove sphinx, it's not needed for testing, add
  pygments which is really needed.
- Update doc/requirements: Remove python 2.7 support
- tox.ini: Remove testing of po files, the infra scripts do this since
  a long time
- Update conf.py, no need to import openstackdocstheme anymore.

Change-Id: I9d030eb450f2c7ae74c25b7564a01b8785503e5e
2020-03-28 08:18:01 +01:00
OpenStack Proposal Bot d64eb83403 Updated from global requirements
Change-Id: If4c756fc20ae43ecd5be187a630e5995b596ec4a
2017-03-04 01:43:26 +00:00
OpenStack Proposal Bot 4416608880 Updated from global requirements
Change-Id: I4571a53455786d2e501b8f535487ca683013a9a8
2015-09-24 01:01:31 +00:00
OpenStack Proposal Bot e026b5a8a5 Updated from global requirements
Change-Id: Ia59961b0b4bbdc0be1037b364e273cc11181fe7d
2015-07-17 16:12:24 +00:00
Robert Collins 2c4b084a3c Update requirements
- current global requirements
- merge py3 req files into markers

The one eww moment is the -e line for glance store, which only got in
because the infra check-requirements job wasn't checking -py3 files at
all until recently.

Change-Id: I748e9e1bb698085a19c5d8d6060f4d377695dc89
2015-07-02 11:40:46 +12:00
OpenStack Proposal Bot 1c7d575fc8 Updated from global requirements
Change-Id: Id99428645bdc0406071e149b92ea2541587617c2
2014-06-19 13:54:45 -04:00
OpenStack Jenkins f7e9122140 Updated from global requirements
Change-Id: I4f26d3a8790c799e5c1f7f81031406e0c57545f9
2013-10-16 16:09:02 +00:00
Monty Taylor 8302c4264f Migrate to PBR for setup and version code.
Fixes bug 1179007

Also, sync with global requirements because we can't do it in two steps.

Change-Id: If1c687f874272b9d9569af9dd1e5cb4457308f5c
2013-08-09 10:32:31 -03:00
John Bresnahan 039f3d8a59 Convert scripts to entry points
The executable programs used by Glance have historically been scripts
in the ./bin directory.  This patch converts all of the scripts to
entry_points.  This change makes these programs python modules.  Thus
they can be imported and methods in them can be called just like any
other module.  This will allow the tests to call into these programs
directly instead of having to fork out a process.

The conf.py file in the doc tree was causing a name collision with
the python module cmd.  The glance/glance directory was being added
to sys.path which made glance.cmd import with the name cmd.  This
patch also fixes that problem.

blueprint: refactoring-better-faster-stronger-functional-tests
Change-Id: I67ae14b7403af31a5944befcd2ec27a690e81f15
2013-04-29 14:08:29 -10:00
Mark J. Washenberger b8bfc79c46 bump version to 2013.2
Change-Id: Ifbf5314e3a12fa7c55d81e363d4931d42e18e334
2013-03-19 10:10:31 -07:00
Chuck Short 21cf2cf395 Update version code from oslo
Pull in a versioning fix from openstack-common, fixes
python setup.py sdist versioning.

Change-Id: I9ffab5c2b37190b4c7daad5e92da40d773c99b4f
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-01-21 21:17:51 -06:00
Monty Taylor 1aaacf9c63 Update version code from oslo.
Change-Id: Ibe96c6783203dc01d231c5ba990159a089ee27ba
2013-01-13 14:27:48 -08:00
Doug Hellmann 9045e8a2ed Add OpenStack trove classifier for PyPI
Add trove classifier to have glance listed among the
other OpenStack-related projets on PyPI.

Change-Id: I2324430e54dc8057286c4e926a7f5d8691cc13fc
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-10-22 18:28:17 -04:00
Brian Waldon 76c3620c7e Drop Glance Client
* Completely drop the legacy Glance client tool
* bin/glance is gone
* glance/client.py is gone
* Drop relevant tests

Implements bp separate-client

Change-Id: Ifcb0bd9bb537e0243aeb5daf466f46868d522986
2012-09-20 09:32:58 -07:00
Monty Taylor 014d3f9ee3 Move to tag-based versioning.
* Update to latest openstack-common setup code
* Add openstack-common version module

Change-Id: Id6876b55554c358fbd29e7ef8377f42a72a98301
2012-08-12 16:10:03 +00:00
Dan Prince 5985ef6a0a Add bin/glance-replicator to scripts in setup.py.
Fixes LP Bug #1023182.

Change-Id: I7c5627b4b3390b500e159edace02bdd0417fc59e
2012-07-10 18:31:25 -04:00
Brian Waldon d2f04a2743 Remove unused imports in setup.py
Change-Id: Ifb08695a8a9a264a3032ae09524e8b37fa0dd761
2012-05-23 11:47:11 -07:00
Monty Taylor f879081427 Use sdist cmdclass from openstack-common.
Change-Id: I6f970cb61929d32fa121c1bc1209fc1fef1d572d
2012-05-06 11:48:01 -07: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
Brian Waldon 8b23d4faaf Integrate openstack-common using update.py
* Update all cfg and setup imports to point to new location
* Fixes bug 987968

Change-Id: If2fbf126e0b241e80ee59fa4e43bb5af6eb879a8
2012-04-30 14:01:13 -07:00
Dan Prince e4006778db Set install_requires in setup.py.
Inline shared version of setup.py from openstack-common. This can
be removed once projects switch over to use the shared version.

Updates setup.py so that it sets install_requires and dependency_links.

Fixes issues where pip installing glance doesn't properly install
dependencies.

Fixes LP Bug #975483.

Change-Id: I5a10b311cfde2fda4d4dac341dd866f868b72d0d
2012-04-11 11:22:20 -04:00
Brian Waldon d453def814 Remove glance-cache-queue-image
* bin/glance-cache-queue-image duplicates functionality provided by
  bin/ glance-cache-manage, and it is currently broken. Let's just remove it.

Change-Id: Ib18be2116055154047df6ca9b4c335323c8b2dde
2012-03-15 14:26:59 -07:00
Monty Taylor d8f0c382ef Added first step of babel-based translations.
Change-Id: I34e3f49e96cf6e68306770781e8114e56a6b3556
2012-02-28 02:00:37 -08: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
Jenkins 071a880f24 Merge "Adds Driver Layer to Image Cache" 2011-10-26 17:01:27 +00:00
Brian Waldon e46c0a6206 Removing glance-upload
The glance-upload tool targets a very specific use-case that is easily
handled by simply using the standard glance client. It's not worth keeping
around. This addresses bug 767344.

Change-Id: Ie7cf42ba517b744a2a440deb15336c0ee372b2e7
2011-10-25 22:11:38 -04:00
Jay Pipes 39c8557434 Adds Driver Layer to Image Cache
Fixes LP Bug#879136 - keyerror: 'image' when doing nova image-list
Fixes LP Bug#819936 - New image cache breaks Glance on Windows

This patch refactors the image cache further by adding an
adaptable driver layer to the cache. The existing filesystem-based
driver that depended on python-xattr and conditional fstab support
has been moved to /glance/image_cache/drivers/xattr.py, and a new
default driver is now based on SQLite and has no special requirements.

The image cache now contains a simple interface for pruning the
cache. Instead of the logic being contained in
/glance/image_cache/pruner.py, now the prune logic is self-contained
within the ImageCache.prune() method, with pruning calling the
simple well-defined driver methods of get_least_recently_accessed()
and get_cache_size().

Adds a functional test case for the caching middleware and adds
documentation on how to configure the image cache drivers.

TODO: cache-manage middleware...
TODO: cache management docs

Change-Id: Id7ae73549d6bb39222eb7ac0427b0083fd1af3ec
2011-10-25 12:54:31 -04:00
Justin Shepherd 8a33e24311 Addresses glance/+spec/i18n
Added gettext.install to glance endpoints, setup.py, and run_tests.py. Wrapped all exceptions in common/exception.py with gettext.

Included fix for bug lp:823676.

Change-Id: Ied4381e1676227afea857acd01f4754e6a181106
2011-08-10 09:09:56 -05:00
Monty Taylor 8f5bd2dc1c Changed setup.py to pull version info from git.
Change-Id: Ifdbdd6b587f5e4d0c255d4ed683bc81aeb8d95e4
2011-08-04 08:51:04 -07:00
Soren Hansen 327f7525c0 Move tests under the glance namespace. 2011-08-03 00:10:52 +02:00
Thierry Carrez 4e0eb7a70f Include bin/glance-scrubber in tarball binaries 2011-07-27 14:56:08 +02:00
Rick Harris b9dee1abbb Updating setup.py per bin/image_cache removal 2011-07-22 17:26:15 -05:00
Rick Harris 2c9c262163 Moving bin to image_cache/ 2011-07-22 10:57:53 -05:00
Rick Harris e54deefaff Adding reaper script 2011-07-22 00:53:43 -05:00
Rick Harris 413b32ef8a Adding pruner and prefetcher to setup.py 2011-07-14 12:05:00 -05:00
Andrey Brindeyev b892a42631 Removed glance-commit 2011-03-21 15:22:26 +03:00
jaypipes@gmail.com 4ec3e0cb1a Adds bin/glance to setup.py 2011-03-01 01:38:34 -05:00
jaypipes@gmail.com 2fcb4898cb Fixes for Rick review #2 2011-02-09 16:56:48 -05:00
Rick Harris ccfaa82188 Adds glance-combined and glance-manage to setup.py 2011-02-08 12:07:42 -06:00
jaypipes@gmail.com 00ac0d44a6 Makes Glance's versioning non-static. Uses Nova's versioning scheme. 2011-01-27 13:59:49 -06:00
jaypipes@gmail.com c3ed035bbf Bump version 2011-01-26 19:17:54 -06:00
Monty Taylor 0659d5a5de Make sphinx conditional. 2011-01-25 11:46:03 -08:00
jaypipes@gmail.com 4675f0618d Bump version 2011-01-25 11:02:07 -06:00
jaypipes@gmail.com cd15f14fc8 Version bump after release 2011-01-24 09:57:49 -05:00
jaypipes@gmail.com 02781962a4 Version bump for release 2011-01-23 13:03:51 -05:00
Rick Harris a89f94d057 Making glance-upload a first-class binary 2011-01-22 19:35:29 +00:00
jaypipes@gmail.com 9c95aa6122 Duh, it helps to import the class you are inheriting from.... 2011-01-21 13:00:15 -05:00
jaypipes@gmail.com ea0549f73d Add in manpage installation hook. Thanks Soren :) 2011-01-20 18:49:13 -05:00
Monty Taylor 96ddcc0462 Increase version after release. 2011-01-18 09:31:40 -08:00