Added setup.cfg for verbose test output.
Removed now-unused .cache.bundle references.

Change-Id: I236cc26be12c21743197e93ed304655702cb1ff2
Version bump after pypi release.

Change-Id: Ic8a6d5de110165dbf2be106e35326288a3ecc928
Raise ClientException for invalid auth version.

- Fixes LP Bug #1008667.
- Fix a pep8 error along the way to pass jenkins.
- Update openstack.swift.common to get jenkins passing for 1.2 pep8
  error.

Change-Id: I4ce86a94e1c799807a2ad8e7e1c502b1eb8a51c7
Add doc and version in swiftclient.__init__.py

- Add parseable version in swiftclient.__init.py
- Generate rst doc like done for swift.

Change-Id: I408fbc36693772d2ef6f4823757dd1f4c830193f
Make CLI exit nonzero on error.

This makes it much easier to detect failure in scripts.

Fixes bug 973557.

Change-Id: Ifd16ffcb7be85e45582095246cc29cfe44e2a173
Add build_sphinx options.

To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc/source and build results go in project/doc/build.

Change-Id: Ibe6745cac73817ea06faca77367b4269d5137a24
Add missing test/tools files to the tarball.

Fixes LP Bug #1013292.

Change-Id: I23ccc476d5e1fa2b131d93970fd3f0e65d633fab
Fix pep8 errors w/pep8==1.3.

Also lock down the version of pep8 in
tools/test-requires. python-swiftclient had a passing test suite
yesterday, but today a new and stricter version of pep8 came out, and
the test suite started to fail. Specifying a particular version of
pep8 will prevent that.

Change-Id: I9092d2225c01b99158229918c86b185cdac9d362
Merge "Add missing test/tools files to the tarball."
Make swift not hang on error.

Before, if a QueueFunctionThread's function raised an exception, then
its thread would log the exception and exit, leaving the rest of the
jobs in the queue and ensuring that the swift client would hang.

Now, the exception is logged and processing continues, so all the
messages get handled eventually and the client exits.

Change-Id: I43d4df212847a2a85732b304de319ea2cce82ddd
Don't suppress openstack auth options.

Fixes LP Bug #1016600.

Change-Id: I837728aa5445b6ccd07c47bdb4d99f0c84a1d7b2
Add post-tag versioning.

Change-Id: Id921105dd2fa818cac7c66dc620b266fd5639d72
Merge "Make swift not hang on error."
Make swift exit on ctrl-c.

The first time the user presses ctrl-c, all QueueFunctionThreads will
have abort=True set on them. This will cause them to finish the work
they're doing (e.g. finish uploading the current file) but then ignore
any further work and let the process exit. Also, a notification of
this is written to stderr so the user understands why the process
didn't exit immediately.

The second time the user presses ctrl-c, the process will exit
immediately. Any in-progress operations are abandoned.

Change-Id: Ie6927f78726ac1c7998e920cb608682ead10f25b
Allow specify tenant:user in user.

We allow having the syntax tenant:user in user since this would make
things easier when switching from auth 1.0 to auth 2.0 and not having to
specify a tenant_name.

In the feature we should use the auth functions from keystoneclient and
be done with those changes, we could then auth by user/tenant-ID.

Change-Id: Ie49748105a678fb9369494e77d41d934d57a39a7
Merge "Make CLI exit nonzero on error."
Merge "Allow specify tenant:user in user."
Configurable concurrency for swift client.

The 'delete', 'download', and 'upload' commands use multiple threads
for concurrency. However, the number of threads was hardcoded at
10. This patch simply makes those configurable.

For example, if I'm downloading a lot of files but I don't want to
saturate the downstream on my Internet connection, I might choose to
use only 1 or 2 threads for object downloads. Conversely, if I'm
uploading a lot of small files across a fast network, I would want
lots of threads to speed things along.

The default number of threads is 10, so the default behavior is
unchanged.

Change-Id: I64c06741b24ca97fef5ded206d7e898bf5cab3b8
Merge "Make swift exit on ctrl-c."