OpenDev Sysadmins
13f264e6ac
OpenDev Migration Patch
...
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:46 +00:00
Monty Taylor
4f7bebb573
Use os_client_config.__version__
...
Change-Id: I1cfb37ac34d03df5e0b07067483ca2eefea6c1b1
2016-08-11 09:30:37 -05:00
Jenkins
98c26d7a6b
Merge "Add gitreview for gerrit"
2016-06-08 09:30:40 +00:00
Jamie Lennox
41438ef8c7
Update repo sources to openstack infra
...
Remove references to my github account and point instead to the
openstack infra repositories.
Change-Id: I11941c44caf07f3beeac97a7b045db8e0cf420fc
2016-06-08 08:55:28 +00:00
Jamie Lennox
6696835333
Add gitreview for gerrit
...
Now we are on openstack infra set up git review.
Change-Id: I7ba4c224c20cd9455553c7df8f6c02ca4f7b29c4
2016-06-08 13:47:12 +10:00
Jamie Lennox
172d380e80
PEP8 fixes
...
Fix all failing PEP8 problems.
2016-06-06 14:34:22 +10:00
Jamie Lennox
2477249a40
Add initial tests
...
To make os-http testable we do a little bit of rearranging of the shell
so that it returns strings and exceptions rather than printing directly.
With this rearranging we can then add a couple of tests to verify basic
functionality.
2016-06-06 14:23:58 +10:00
Jamie Lennox
78dfff9891
Set proper user_agent string
...
The user_agent is not fixed by keystoneauth when being passed to the
request method so we need to set that on the adapter. Move the version
string to prevent circular imports and add it and os-client-config
versions to the user_agent.
2016-04-11 16:14:39 +10:00
Jamie Lennox
7d559eacb6
Use os-client-config instead of keystoneauth directly
...
Support OS_CLOUD and all those options via os-client-config instead of
using keystoneauth's loading directly.
2016-04-11 16:01:01 +10:00
Jamie Lennox
c3b549982b
Improve formatting without a tty
...
Using console formatting when you pipe to a file produces bad output.
Format for text when there is not tty device.
2016-04-11 14:01:37 +10:00
Jamie Lennox
ecd19d97df
Better handle empty catalog errors
...
When the catalog is empty this is indicative of a different problem to
having bad authentication so provide good error messages.
2016-04-11 14:00:10 +10:00
Jamie Lennox
29fe8629db
Use logger instead of print for error message
...
We use python logging almost everywhere else, we should use it for these
error messages as well.
2016-04-11 12:22:18 +10:00
Jamie Lennox
7a48468f2e
Better error message for catalog fail
...
Provide a decent error message for when the parameters provided by the
user fail to find any entries in the service catalog.
2016-04-11 12:19:15 +10:00
Jamie Lennox
906dd0b594
Don't raise error on request
...
By default a bad request raises an exception that is handled by the
clients. We would prefer to have this handled as a standard response so
it can be printed.
2015-09-22 16:35:14 +10:00
Jamie Lennox
a83959673b
Use pygments to make the output pretty
...
Probably not the most immediate requirement but this looks nice. Will
have to do a check later for istty and similar.
2015-09-22 16:34:32 +10:00
Jamie Lennox
46e2556f8f
Quick and dirty first version
...
Provide basic option handling, assume everything is JSON and just pprint
the response.
2015-09-22 12:35:19 +10:00
Jamie Lennox
615e9e4fa7
Initial Cookiecutter Commit.
2015-09-22 11:03:46 +10:00