Commit Graph

405 Commits

Author SHA1 Message Date
OpenDev Sysadmins 92f5a23a63 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:33:59 +00:00
Ondřej Nový 5a3c4293cb Bumped debhelper compat version to 10
Change-Id: I8570bca93c4f61109cef5b10988bd561c94f918e
2016-11-24 00:04:41 +01:00
Thomas Goirand c914b757ea Uploading to unstable
Change-Id: I0ffe4391fcf3835b6bcd38ca1a30730641974baf
2016-10-04 10:37:11 +02:00
Ondřej Nový 7321409273 Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Using OpenStack's Gerrit as VCS URLs.

Change-Id: Ia403be8cdf9b43237db1bf9bdac1b462f28d7fb5
2016-09-26 19:08:32 +02:00
Thomas Goirand 82c76c8c05 Add a .gitreview file
Change-Id: I3493ebc7a6818423f7cc09ec038a8a5c2945c530
2016-08-19 14:19:04 +02:00
Thomas Goirand 75e1d8a4b8 Fixed gbp.conf 2016-08-11 11:03:26 +02:00
Ondřej Nový 62ffc549a9 d/rules: Changed UPSTREAM_GIT protocol to https 2016-05-19 21:10:44 +02:00
Thomas Goirand 118b6b7359 Standards-Version: 3.9.8 2016-04-11 22:26:40 +00:00
Thomas Goirand d9b72fc810 Added missing python{3,}-setuptools build-depends (Closes: #820688). 2016-04-11 22:25:15 +00:00
Thomas Goirand febe6f65a2 Adjusting debian/changelog 2016-02-17 10:18:10 +00:00
Thomas Goirand 1cb989f4a6 Fix unit testing. 2016-02-17 10:16:14 +00:00
Thomas Goirand bd5bbc6da0 Do not run nose. 2016-02-17 10:05:51 +00:00
Thomas Goirand 27e299a574 Another iteration of the fix. 2016-02-06 12:36:09 +00:00
Thomas Goirand f603607f07 Fix the fix of fix-python3.5-unit-tests.patch 2016-02-06 12:31:08 +00:00
Thomas Goirand 880828ff0d Fix fix-python3.5-unit-tests.patch 2016-02-06 12:27:15 +00:00
Thomas Goirand 3392fd0233 VCS URLs using HTTPS. 2016-02-06 12:15:45 +00:00
Thomas Goirand 085dd36e07 Running unit tests for all available versions of Python. 2016-02-06 12:14:37 +00:00
Thomas Goirand 13578d6fd4 Added patch to fix Python 3.5 unit tests. 2016-02-06 12:07:15 +00:00
Thomas Goirand 0184473c77 Removed argparse from requirements.txt (Closes: #810126). 2016-02-06 10:33:13 +00:00
Thomas Goirand 5d2b3e30f0 Added missing build-depends on python{3,}-yaml. 2015-11-20 16:13:42 +01:00
Thomas Goirand ee43bc5fb2 export OSLO_PACKAGE_VERSION 2015-10-15 23:18:06 +00:00
Thomas Goirand 2f740def59 Added gbp.conf 2015-10-15 23:17:19 +00:00
Thomas Goirand 5b711447f4 Some fixes. 2015-10-15 23:16:43 +00:00
Thomas Goirand ac06a063ad Added initial debian folder. 2015-10-15 23:13:03 +00:00
Jenkins a2e52e2dac Merge "Implement a json formatter in cliff" 2015-09-08 09:42:40 +00:00
Jenkins 2a1f0cd9c7 Merge "Replace '\r' with ' ' for prettytable" 2015-08-18 15:39:52 +00:00
liyingjun 22ceb9c9b9 Replace '\r' with ' ' for prettytable
Table doesn't display well when there are '\r' in prettytable data.
Fixes it by replace '\r\n' with '\n' and '\r' with ' '.

Change-Id: I1fde6d33c211e9629ee0dbeab241eeba20f7b8d5
Closes-bug: #1476929
2015-08-18 13:43:00 +00:00
Steve Baker 4e1470d93e Implement a json formatter in cliff
This change replaces the cliff-tablib json formatter with an internal
replacement. It differs from the tablib formatter in the following ways:
- by default outputs with an indent of 2 spaces. The --noindent formatting
  argument outputs with no indentation, to save space or to pipe to tools
  which can't handle multi-line input.
- emit_one serialises a simple dict where the column name is the key
and the data item is the value (rather than a list of dicts with
'Field' and 'Value' keys)

The cliff release which contains this change will need a corresponding
cliff-tablib release which removes the json formatter from its setup.py
entry_points.

Change-Id: I7f9b1f339d96ead347a0c9d95ec7004a78d8c9d5
Related-Bug: #1308744
2015-08-18 09:42:19 +12:00
Steve Baker 0a8daff7bd Implement a yaml formatter in cliff
This change replaces the cliff-tablib yaml formatter with an internal
replacement. It differs from the tablib formatter in the following ways:
- always outputs with block formatting rather than the PyYAML default
  of deciding based on value content
- emit_one serialises a simple dict where the column name is the key
  and the data item is the value (rather than a list of dicts with
  'Field' and 'Value' keys)
- emit_one preserves column order by printing a single-item dict for
  each column_name

The cliff release which contains this change will need a corresponding
cliff-tablib release which removes the yaml formatter from its setup.py
entry_points.

Change-Id: I691dbab3dee7c5ec28b1083f87ab1f5c051d582b
Related-Bug: #1308744
2015-08-18 09:42:19 +12:00
Jenkins 57650f6950 Merge "Improve help messages" 2015-08-17 18:30:43 +00:00
OpenStack Proposal Bot faf935a648 Updated from global requirements
Change-Id: I5411706ad78b25f5ca3d9223ed37214bcbfe2de4
2015-08-10 01:05:17 +00:00
Andreas Jaeger 784f6d6d3d Improve help messages
Help messages are in normally fully sentences starting with a capital
letter, some of the help messages follow this but not all. Adjust all so
that help messages look consistent.

Also, improve wording of --help text.

Change-Id: Ia22ccc42d71a4c9d7085303939dae9948ba52418
2015-08-07 16:49:09 +02:00
TerryHowe 3473869011 Add csv formatter test
Change-Id: Ief2a6514c417f7de18e736599e8090075ebf8fc8
2015-07-30 19:03:01 +00:00
gcmalloc eb655cc84f Fix encoding issue with the default python csv output
Change-Id: I8a1fd7947002c20003d97d74377741107c8a00c2
2015-07-30 16:36:25 +00:00
Jenkins a535747358 Merge "Remove py26 as a default test from tox.ini" 2015-07-24 20:31:39 +00:00
Jenkins 5970766546 Merge "Add command fuzzy matching" 2015-07-24 19:36:37 +00:00
TerryHowe b1c17f657a Remove py26 as a default test from tox.ini
Change-Id: Ib3180081c95cbdb8f966e13c0669dc96c6bb2579
2015-07-24 19:06:36 +00:00
Jenkins fcd09c538e Merge "Set demo app up with deferred help" 2015-07-24 18:10:15 +00:00
Jenkins 965dddc6fb Merge "Remove requirements.txt from tox.ini" 2015-07-24 16:52:02 +00:00
Doug Hellmann 79e05f6bdc Set demo app up with deferred help
Change-Id: Ia48866e17d5823a2ccc85172c717581316ad05a7
2015-07-24 15:44:06 +00:00
kafka 3396764571 Add command fuzzy matching
The command 'openstack user' throws error with no helpful message even though 'openstack user list' works,
that is really a bad UX. This patch adds fuzzy matching to print the most similar command when user mistypes
the command.
Use Demeraou-Levenshtein algorithm to find the best similarity. It takes experience from Git's
algothrim inplement 8af84dadb1


$ openstack user
openstack: 'user' is not an openstack command. See 'openstack --help'.
Did you mean one of these?
  user create
  user delete
  user list
  user password set
  user set
  user show
  consumer create
  consumer delete
  consumer list
  consumer set
  consumer show

Change-Id: Id8732504c0b36177319fc33fae7e630b7b714be7
Closes-Bug: 1462192
2015-07-24 06:25:19 +00:00
OpenStack Proposal Bot df608e7b03 Updated from global requirements
Change-Id: I3627334d994b926da583ff0cf8f20f54f8ebcfa3
2015-07-22 04:54:45 +00:00
TerryHowe b0c92065e7 Remove requirements.txt from tox.ini
From lifeless: pbr reflects the package dependencies from
requirements.txt into the sdist that tox builds.

Change-Id: If54f291e4f3f1a05a1b6142e724cbd33110bac1d
2015-07-17 11:24:47 -06:00
OpenStack Proposal Bot f0b4fab5b6 Updated from global requirements
Change-Id: I7c45b976f8793e8b6bd35055f0e403a8de2ccdb6
2015-07-17 16:11:53 +00:00
Jenkins f54b1682c0 Merge "Allow subcommands to accept --help when using 'deferred_help'." 2015-07-16 19:08:30 +00:00
OpenStack Proposal Bot ab7bf09baf Updated from global requirements
Change-Id: I91a9847d3568965e90724ce581a32f05c612ad68
2015-07-15 00:24:12 +00:00
Sean Perry 5d5aeb2f99 Allow subcommands to accept --help when using 'deferred_help'.
This patch changes how cliff handles help for subcommands but only when
'deferred_help' is enabled. Currently cliff consumes --help requests at the top
level. This means `myapp foo --help` and `myapp --help` produce the same output.
To get help for `foo` one must use `myapp help foo`. With this change
`myapp foo --help` will produce the same output as `myapp help foo` by
transforming the --help request into a help subcommand one. This is only done
when there are any options on the command line other than --help. When a top
level --help is requested the original behavior of print_help_if_requested()
is preserved.

Change-Id: I628bbfc383de516045288512cc023213d723a027
Closes-Bug: 1444983
2015-07-14 10:05:23 -07:00
OpenStack Proposal Bot b39e2f2922 Updated from global requirements
Change-Id: I2e43a7737e7c16534d3e0fd6bb27ca281035c886
2015-07-12 15:17:18 +00:00
Jenkins 640e1bf74d Merge "Fix logging config in demo app" 2015-07-09 22:10:30 +00:00
Doug Hellmann b9f5954b77 Fix logging config in demo app
The demo application was creating a new logger instance instead of using
the one built into the base class.

Change-Id: I980b180132cf20f7d2420e8f61e341760674aac0
2015-07-09 20:15:01 +00:00