CHANGES ======= 0.17.0 ------ * Add release notes for 0.17.0 * Updated help for v2 member-update api * Extend images CLI v2 with new sorting syntax * Add the ability to specify the sort dir for each key * Import sys module * Adds the ability to sort images with multiple keys * add examples for properties and doc build script * Apply expected patch format when updating tags in v2.images * v2: read limit for list from --limit in shell * Fix leaking sockets after v2 list operation * Fix leaking sockets after v1 list operation 0.16.1 ------ * Add release notes for 0.16.1 * removed excessive call to os.path.exists * Fix tests failing if keystone is running locally * Unify using six.moves.range rename everywhere 0.16.0 ------ * Add release notes for 0.16.0 * Show error on trying to upload to non-queued image * https: Prevent leaking sockets for some operations * Glance image delete output * Strip json and html from error messages * Unit tests covering missing username or password * Register our own ConnectionPool without globals * Updated from global requirements * Change oslo.utils to oslo_utils * Return 130 for keyboard interrupt * Ignore NoneType when encoding headers * Remove graduated gettextutils from openstack/common * Use utils.exit rather than print+sys.exit * Remove uuidutils from openstack-common * Add a `--limit` parameter to list operations * Fixed CLI help for bash-completion * Remove openstack.common.importutils * Remove openstack.common.strutils * Adds basic examples of v2 API usage * Sync latest apiclient from oslo-inc * Remove duplicate 'a' in the help string of --os-image-url * Close streamed requests explicitly * Handle HTTP byte returns in python 3 * Updated from global requirements * Add validation to --property-filter in v1 shell * v2: Allow upload from stdin on image-create * Fix v2 image create --file documentation * Make non-boolean check strict * Disable progress bar if image is piped into client * Fix Requests breaking download progress bar * Fix broken-pipe seen in glance-api * Update HTTPS certificate handling for pep-0476 0.15.0 ------ * Add release notes for 0.15.0 * Support Pagination for namespace list * Output clear error message on invalid api version * Support schema types with non-str value * Don't require version to create Client instance * Add os_ prefix to project_domain_name/id * Workflow documentation is now in infra-manual * Allow --file in image-create with v2 Image API * Add useful error on invalid --os-image-api-version * Add release notes for 0.14.0 - 0.14.2 * Fix minor typo in version error message * Send `identity_headers` through the wire * Curl statements to include globoff for IPv6 URLs * Remove readonly options from v2 shell commands * Add --property-filter option to v2 image-list * Fix py34 failure for glance client 0.14.2 ------ * Don't set X-Auth-Token key in http session header if no token provided * Don't replace the https handler in the poolmanager * Refactor method of constructing dicts in some tests * Adds tty password entry for glanceclient * '--public' ignored on image create * Remove network_utils * Skip non-base properties in patch method * Adds support for Glance Tasks calls * Reduce the set of supported client SSL ciphers * Fix the ordering of assertEqual arguments 0.14.1 ------ * Update how tokens are redacted * Handle UnicodeDecodeError in log_http_response * Print traceback to stderr if --debug is set * Stop using intersphinx * Updated from global requirements * Fix v2 requests to non-bleeding edge servers * Fix to ensure endpoint_type is used by _get_endpoint() * Work toward Python 3.4 support and testing 0.14.0 ------ * Support for Metadata Definitions Catalog API * Catch new urllib3 exception: ProtocolError * Default to system CA bundle if no CA certificate is provided * Import missing gettextutils._ in shell.py * Fix error when logging http response with python 3 * Fix indentation in tox.ini * Add bash completion to glance client * Ensure server's SSL cert is validated * Enable osprofiler interface in glanceclient shell * Hide stderr noise in test output * Remove deprecated commands from shell * Normalize glanceclient requested service url * Fix glance-client to work with IPv6 controllers * Add support for Keystone v3 * Downgrade log message for http request failures * Update theme for docs * Add a tox job for generating docs * Don't stream non-binary requests * Use a correctly formatted example location in help * Replace old httpclient with requests * CLI image-update gives a wrong help on '--tags' param * Enable F841 * Resolving the performance issue for image listing of v2 API * Add profiling support to glanceclinet * Use immutable arg rather mutable arg * Add CONTRIBUTING.rst 0.13.1 ------ * Added release notes for 0.13.0 * Add wheels section to the setup.cfg * Add missing classifiers * Add license to setup.cfg * Fix CA certificate handling * Add the six module dependency * Prepend '/' to the delete url for the v2 client * Set purge-props header correctly in image update * Updated from global requirements * Change a debug line to prevent UnicodeDecodeError issue * Add support for location parameters in v2 commands * Convert passed integer values into int in v1 shell * Reuse class Manager from common code * Fix help text in image-create * Python 3: use next(foo) instead of foo.next() * Remove auth token from http logging * Finalize Python3 support * fixed typos found by RETF rules * Updated from global requirements * Remove py3k module * Return request ID to callers * progress flag not supported in v2 API * Fix for invalid literal ValueError parsing ipv6 url(s) * Adding network_utils module from oslo-incubator * Sync with oslo-incubator * Fix the parameter order of assertEqual in glanceclient v1 test * Sync with Oslo * Python 3: do not use __builtin__ * Change assertTrue(isinstance()) by optimal assert * Updated from global requirements * Python3: do not use the 'file' type * Python 3: do not use the unicode() function * Fix the parameter order of assertEqual in glanceclient v2 test * Improve help strings * Fix the parameter order of assertEqual in glanceclient test * Python3: define a __next__() method for VerboseIteratorWrapper * test_shell: remove a deprecated keyword argument * Python 3: Fix JsonPatch-related issues * Pass bytes to tempfile.NamedTemporaryFile().write() * Replace file with open, which is Python 3 compatible * Remove tox locale overrides * Fix misspellings in python-glanceclient * Update my mailmap * Add support for image size in v2 api upload * Only show progress bar for local image files * Using common method 'bool_from_string' from oslo strutils * Handle endpoints with versions consistently * Allow updating empty created v2 images from v1 * server 500 should not be a client error * It was removed urllib, urllib2 & urlparse modules * python3: Switch to mox3 instead of mox * Remove vim header * Python 3: use six.iteritems and six.string_types * Python3: use six.StringIO rather than StringIO.StringIO * Python3: use six.StringIO rather than StringIO.StringIO * Replace file.write and os.path.exists by mock * Python 3: use six.iteritems() instead of iteritems() * Python 3: use six.iteritems() instead of iteritems() * Fix glanceclient http.py string formatting error * Reuse Resource from oslo * Get better format for long lines with PrettyTable * Remove unused imports * Sync apiclient and py3kcompat from oslo * Fix and enable gating on H306 * SSL: Handle wildcards in Subject Alternative Names * Updated from global requirements * Replace inheritance hierarchy with composition * Updates tox.ini to use new features * Updates .gitignore * Readd missing Babel dependency after merge from Oslo(master/bdda833) * Fix extra new line that break from progress bar 0.12.0 ------ * Add release notes for 0.12.0 * Make HACKING.rst DRYer * change assertEquals to assertEqual * Fix Pep8 errors found by Pep8 1.4.6 * python3: use six.moves for httplib imports * Sync from oslo-incubator * python3: xrange no longer exists * Fix misused assertTrue in unit tests * Add CLI for V2 image create, update, and upload * Fix regression bug after removing posixpath in http.py * Fix getting header in redirect processing * Fix default value for a header * Replace OpenStack LLC with OpenStack Foundation * Support glance client can get ipv6 image url correctly * Added support for running the tests under PyPy with tox * Enable query image by tag * Fix python 3.x related Hacking warnings * Fix glanceclient usage inconsistences for options * Add 0.11.0 doc notes * Use openstack-images-v2.1-json-patch for update method * Allow single-wildcard SSL common name matching * Revert "removed deprecated parameter --public" * \Allow removal of properties using glance v2 api * Updated from global requirements 0.10.0 ------ * Revert 02116565d358a4fa254217779fef82b14b38d8ca * Add 0.10.0 docs update * Show a pretty progressbar when uploading and downloading an image * Raise warlock requirement * Cast image_id to string before calling urllib.quote * Don't use posixpath for URLs * Changes to allow image upload with V2 api * removed deprecated parameter --public * Encode error messages before sending them to stdout * Allow v1 client to list all users' images * Add v1 client side owner based filtering * Enable client library V2 to create an image * Provide glance CLI man page * Fix test assertions & test cases for V2 Shell Unit test * HTTPS response issues * Increase default page_size value * Pass all identity headers received to glance * Fix SSL certificate CNAME checking * uncap python-keystoneclient version requirement * Expose checksum index image property in client * Flake8 should ignore build folder * Enable client V2 to update/delete tags for a given image * Rename invalid domain name to be RFC compliant * Start using Pyflakes and Hacking * Removes extra slash on endpoints without a path * Remove explicit distribute depend * Replace utils.ensure_(str|unicode) with strutils.safe(decode|encode) * Do not decode headers in v1/images.py * Fix problem where image data is not read from a pipe * Add tests for encodings * python3: Introduce py33 to tox.ini * Rename requires files to standard names * Don't attempt to read stdin if it is empty * Update importutils and openstack-common.conf format * Convert non-ascii characters within image property to unicode * Migrate to pbr * Migrate to flake8 * Add test for glanceclient shells * Improve unit tests for python-glanceclient.glanceclient.common.base * Image Members for glance v2 api * Fix inconsistent --debug messages on image-update * Expand HACKING with commit message guidelines * Prevent WantReadError when using https * Improve Python 3.x compatibility * Sync with oslo-incubator copy of setup.py and version.py * bug 1166263 image-update handling for closed stdin * Test that copy_from is used properly in old API * Fix "glance add" parsing of "copy_from" option * Fix problem running glance --version * Improve unit tests for python-glanceclient.glanceclient.common.http 0.9.0 ----- * Add docs for 0.9.0 * Filter images list by public=True|False * Trapping KeyboardInterrupt sooner * Allow for prettytable 0.7.x as well * Implements filters: visibility, owner, member_status. Includes tests * Add missing spaces in help msg * Control C does not cancel the CLI cleanly * Replace SchemaNotFound with HTTPNotFound * Use getattr properly in legacy shell 0.8.0 ----- * Add docs for v0.8.0 * Report name resolution errors properly * Decode input and encode output * Add library support for v2 image update * Expect minumum warlock version of 0.7.0 * Update to latest oslo-version * Update .coveragerc * Make effective ssl callback behaviour more obvious * Quote image ids before passing them to glance * Fix typo in image-update help page * Adds image-delete functionality * Change https port to be an optional parameter * Migrate to testr * Add image names to glance command arguments * Use testtools instead of unittest * Add details to stdout error message 0.7.0 ----- * Document v0.7.0 release * Support --os-cacert * Update --location help to reference swift store * Change default image sort to use name * Add --sort-key and --sort-dir to image-list * Pin pep8 to 1.3.3 * Allow setting x-image-meta-store through shell on image creation * Verify that host matches certificate 0.6.0 ----- * Document bugs/features for v0.6.0 * Hook up region_name argument * Simplify human-readable size output * Make image sizes more readable for humans * Set useful boolean flag metavars * Unpin keystoneclient dependency * Fixes bug on Windows related to a wrong API url * Enhance --checksum help with algorithm * added --version as new parameter * Fixes setup compatibility issue on Windows * Allow deletion of multiple images through CLI * Fixes shell command for member-delete * Add OpenStack trove classifier for PyPI * Implement blueprint ssl-connect-rework * Handle create/update of images with unknown size * Display acceptable disk/container formats in help text * Simplify http(s) connection instantiation * Add happy path tests for ResponseBodyIterator * Use full URI path from Glance endpoint in HTTP requests * Typo in image-create help page * Fixes glance add / update / image-create / image-update on Windows * Fix weird "None" displayed on some errors * Make ConnectionRefused error more informative 0.5.1 ----- * Document remaining bug for v0.5.1 * Update docs for v0.5.1 release * Corrects URI to display hostname, port properly * Catches HTTP 300 while printing responses * get_connection should raise httplib.InvalidURL * Fix PEP8 issues * Specified Content-Length in update request header * Sync importutils changes from openstack-common 0.5.0 ----- * Update release notes for v0.5.0 * Add nosehtmloutput as a test dependency * Update command descriptions * Update pip-requires with warlock<2 * Enable client V1 to download images * Simplify docs and provide 'News' on index.rst 0.4.2 ----- * Ensure v1 'limit' query parameter works correctly 0.4.1 ----- * Allow 'deleted' to be passed through image update * Cast is_public, protected, deleted to bool * Return known int values as int, not str * Use system CA certificate file 0.4.0 ----- * socket errors and timeouts should be CommunicationErrors * Handle communication failures cleanly * Enable client V2 to download images * Refactor HTTP-related exceptions * Simplify v2 schema lookup * legacy_shell.py shouldn't be executable * Client-side SSL Connection * SSL Certificate Validation 0.3.0 ----- * Add missing copyright headers * Add legacy compat layer to v1 shell * Allow CLI opts to override auth token and endpoint * Update python-keystoneclient version dependency * Stop looking for v2 image in container 0.2.0 ----- * Add exceptions for 500 and 503 HTTP status codes * Refactor http request/response logging * Fix --debug CLI option * Fix coverage reporting test * Honor '--insecure' commandline flag also for keystone authentication * Replace httplib2 with httplib as http driver * Clarify usage of --insecure flag * Add pagination to v1 image-list * Update README usage examples * Relax prettytable dependency to v0.6.X from v0.6 * Add pagination to v2 image-list * Prevent links from being printed in v2 CLI * Align print_dict to the left * Convert v2 images list method to generator * Replace static v2 Image model with warlock model * Add support for viewing a single image through v2 * Rewrite link parsing for finding v2 schemas * Establish the supported importable interface * Add --is-public to image-create * Wrap image data in iterator * Translate is_protected to protected * Change --protected to --is-protected in create * Properly map boolean-like arguments to True/False * Add ability to get version information in python * Latest setup goodness * Remove AuthorizationFailure exception * Preserve image properties on update * Add --file to image-update and correct bad name * Allow image filtering by custom properties * Expand v1 image-list filters * Add --timeout option to cli * Add size filtering to image-list action * Allow image upload from local file to v1 API * Use PyPI for keystoneclient * Switch CLI to support underscores and dashes 0.1.1 ----- * Split reading of versioninfo out into a method * Add support for tag-based version numbers * Support --os-endpoint-type in glanceclient * Hook up GET /v1/images/ 0.1.0 ----- * Add initial docs * Edit build_sphinx options * Minimize tox.ini * Add 'explain' command to v2 that describes schemas * Stick prettytable at v0.6 * Add tests dir to pep8 command * Set pep8 dependency at v1.2 * Add minimal support for the v2 API * Auto generate AUTHORS file for glanceclient component * Include ChangeLog in tarball * Properly install from zipball * Adds support for --insecure * Fix the zipball change * Replace git url with github zipball * Refactor HTTPClient to use two request methods * Add missing files to MANIFEST.in * Add importutils from openstack-common * Adding service type as configurable shell option * Remove printt * Added condition requirement to simplejson * Use tox for running tests locally * Adds filter support to images.list() * Add '.tox' to .gitignore * Add fields to image-list * Strip version from service catalog endpoint * Fix image-create using pipelines * Allow tenant name to be used in authentication * Make tox cover output coverage.xml * Add Sphinx to test-requires * Updated depend processing to norms * Fixing pep8 errors * Add AUTHORS test case * Added gitreview file * Adding id for image members * image membership management works * Adding support for passing image data through cli * Image update works * More complete image creation * Correct keystoneclient egg name in pip-requires * Adding image-create action * Adding shared-images support * Image members bones * Basic testing * Update version to 2012.2 * Further cleanup * Basic get/list operations work * All the latest OpenStack hotness * Initial checkin for new CLI and client package