Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Stanley 39a82df080 This repository is now retired
The Release Management Team ceased using this months ago. Its
contents are replaced with a retirement notice so that potential
users will realize it is no longer maintained. Publicly announced
at:

http://lists.openstack.org/pipermail/openstack-dev/2018-June/131920.html

Change-Id: Ia30884174c43ef1c1afcc1f4a18b3c0051a89d8e
Depends-On: https://review.openstack.org/579185
2018-06-29 15:27:19 +00:00
Clint Adams 49d560de11 Fix flake8 warnings
This fixes all the warnings emitted by flake8, mostly involving
qualified imports, import grouping, and indentation.

Change-Id: Ia45839f3e65e15a34e2a2793fd21b83e4fc891d7
Needed-By: I158ea10f104549dd4f0f3ff777b39feb5886642e
2015-11-02 22:53:50 +09:00
Davanum Srinivas f6fc77ce82 Sync with global requirements
* update test requirements with what's in g-r
* Remove hard-coded dependencies from tox.ini as update-requirements
  does not edit tox.ini
* Remove requirements.txt as it is redundant (sdist already has it)
* Fix up all the issues identified by flake8

Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: I0508bd74edda20fbf844e7303c9b44b80ff794ef
2015-09-23 22:20:35 -04:00
Thierry Carrez df2041e4ac spec2bp v2 -- support in-review specs
New version of spec2bp:

- takes the project and blueprint name as arguments, instead of a file
- supports not-yet-approved specs (use --in-review to set them "Blocked")
- sets series goal as well as milestone targets
- if the BP and approved spec names don't match, you can use --specpath
  to specify the spec location
- if --specpath is not provided, but the blueprint URL looks like it
  points to a spec document, spec2bp will infer path from that instead
- if milestone or priority are already set, the --milestone and
  --priority parameters are optional (current values will be kept if
  parameter is omitted)
- spec2bp will recognize projects from the oslo projectgroup and use
  oslo-specs for those

Example usage:

Glance's super-spec.rst was approved and you want to add it to juno-2,
with Medium priority:

./spec2bp.py glance super-spec --milestone=juno-2 --priority=Medium

Nova's my-awesome-spec.rst is still under review, but you would like
to add the my-awesome-spec blueprint to juno-2 (marked Blocked). Since
it's located in a non-standard path, we specify it using --specpath
parameter:

./spec2bp.py nova --specpath=specs/kilo/approved/my-awesome-spec.rst
  --in-review --milestone=juno-2

my-awesome-spec is now approved. You want to flip all the approval
bits, but also change its priority to High. There is no need to pass
--specpath again, spec2bp will infer it from the blueprint URL field:

./spec2bp.py nova my-awesome-spec --priority=High

Change-Id: Idba1f042ffb836ac782f50d91802b2a6f4ff44c1
2014-12-08 12:07:20 +01:00
Doug Hellmann affe11ba77 Fix specs repo location calculation
The launchpad project and specs repository may have different names,
especially for a project like Oslo with many launchpad projects.

Change-Id: I4091e7719395378978a101e9c905da84080ad371
2014-11-19 11:45:51 -05:00
Doug Hellmann 6d3e508038 Allow spec2bp.py to work for Oslo projects
Oslo projects share a common specs repository, but since we are in a
different Launchpad project group from the rest of OpenStack the URL for
the blueprints generated by default does not match. This change looks
for "oslo" as the project name that we parse from the spec file and
converts it to "oslo-incubator" by default. To handle specs for other
Oslo libraries, a new option is provided to explicitly set the Launchpad
project name.

Change-Id: I27c76b93a55856ef4fac48debf706a4d152a740a
2014-11-13 11:02:44 -05:00
Doug Hellmann 24bfeb9862 Use python interpreter in the $PATH
Do not hard-code the python interpreter, so it is possible to run the
command with a virtualenv containing its dependencies.

Change-Id: Ie5f81c120c18ec8f66a62d95d2107e2513445f5c
2014-07-02 18:23:03 -04:00
Thierry Carrez 74a3ee0d54 Add spec2bp.py script
Add script to automatically set blueprint fields for an accepted spec.
Point it to a file in a -specs git repository, specify the target
milestone and off you go. By default, sets priority to Low:

Example:
spec2bp.py ../oslo-specs/specs/juno/graduate-oslo-i18n.rst juno-3

Change-Id: Ie5118e29deea1b455623117828057fca4cf69415
2014-06-27 10:32:41 +02:00