Commit Graph

17 Commits

Author SHA1 Message Date
Dmitry Tantsur c09ca3e72c Proposal for a new release model
Change-Id: Id535a6be19ff97e1a46480210c31497280771cb2
2020-05-15 11:22:40 +02:00
Ruby Loo be2b71fe3b Support StoryBoard URLs
Now that ironic has moved from using Launchpad to Storyboard for
tracking features/RFEs, we need to check for StoryBoard URLs in
the specifications.

Co-Authored-By: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: I3442f653a2dc610213d34b55ab8a4c466c888615
2018-04-02 10:03:18 -04:00
Nguyen Hai 3dae485a10 Fail in test_titles of ironic-specs
When run tox to test, the error below appears:
...
dict(expect.items() + allowed.items())]

TypeError: unsupported operand type(s) for +:
'dict_items' and 'dict_items'
...

Change-Id: I54154927e08d04248301d4d29de1d88d13890c01
Closes-Bug: #1755169
2018-03-15 15:32:45 +09:00
Ruby Loo 02ac28be04 Allow spec to have RFE from any ironic project
This changes the unit test that does some checking of
a spec's sections, so that it accepts the (RFE) bug
URL from any (ironic) project, instead of only the
'ironic' project.

Change-Id: Id4c06018cbb0a23346ec49b98d0dfdcf433b5856
2017-03-06 17:52:53 -05:00
Devananda van der Veen fab501cc8e Improve assertion error in check_file_ext test
Improve the assertion error message for the _check_file_ext test in
test_titles.py so that it is possible to tell which file caused the test
to fail.

Change-Id: I2f554307a2c1002b2fb04183a8c2aeed6ee01fdc
2016-04-13 09:28:38 -07:00
Dmitry Tantsur 872e8d740f Use launchpad bugs instead of blueprints
Support for blueprints stays for old specs.

Change-Id: Ic4214e9aabbc7d8e0d721f28484b9bf43e90b500
2015-12-10 12:27:22 +01:00
Ruby Loo db259bfc1b Use doc8 style checker
This uses the doc8 style checker to check that the documents
conform to certain requirements, as documented at
https://pypi.python.org/pypi/doc8.

In particular, we no longer need to check for these in our test code
since they are checked via doc8:
- lines don't exceed 79 chars
- there are no trailing spaces
- there are no carriage returns

Some existing specs were modified because they had tabs or no newlines
at the end of the file.

Change-Id: If27281c7efd60c9f15ca07c723dd94a7d086c325
2015-09-30 20:29:50 +00:00
Devananda van der Veen d6caa9a083 Reorganize specs tree
* Move liberty -> approved
* Move completed liberty specs to liberty-implemented
* Move kilo -> kilo-implemented
* Move juno -> juno-implemented
* Move kilo-archive -> backlog (moving these to approved causes test
  failures because the template changed since kilo)
* Reword the header for the index page
* Update unit tests to look at the new "approved" folder

** NOTE **

This patch does not create placeholders in the previous locations
for each spec. This will be done in the following patch so that the
history is preserved. Both patches must be landed together so that web
links are not broken for long.

Change-Id: I61f02731150ea944eafaa8c6ea702210364b3478
Implements: blueprint feature-based-releases
2015-08-05 06:57:53 -07:00
Jay Faulkner 8deae0ce74 Open specs for Liberty
This updates the template to ask about microversions, as well as
creating the liberty/ dir with a placeholder spec which should be
removed once we have merged an approved spec for Liberty.

Additionally, all specs from Kilo that were not implemented have
been archived. If they wish to be revived for Liberty, a separate
merge request should be issued moving them into liberty/.

Change-Id: I839b478a67af9eab3bfefbf979227e5f49b01aed
2015-04-08 16:58:26 -07:00
Stig Telfer a12a6527dd Fix check for missing subheadings
If a spec heading is missing entirely, and subheadings are expected,
the heading was being used in a key lookup causing an exception.

Change-Id: I44fb2b9c701cf359433211e876d2f6b3d1dbec5c
2015-02-02 03:35:26 +00:00
Ruby Loo 9110d19447 Check that filename is same as blueprint name
The template was updated to indicate that the filename of the
specification must match the name of the blueprint (changed the
name of the sample blueprint be 'template' to match template.rst),
and that the title of the specification could be the title of the
blueprint.

A unit test was added to check the filename against the blueprint name.

Fixed a typo in one of the unit tests.

Change-Id: Ia5180aa44d6b2967d4843b8ab176915181e5e77f
2015-01-06 18:04:22 +00:00
Chris Krelle 5bb4d42d69 Add a test for license header
This adds a test for the license header to the template checking section
to ensure that it is included in the spec.

Change-Id: If16fb7b2569e1b1007ab7ce0a892f52915187de6
2014-11-26 08:22:22 -08:00
Devananda van der Veen 73716ed023 Allow short-specs
* Clarify the template to describe the requirements and process for
  submitting initial drafts better.
* Add testing for a specs/backlog dir which allows "short specs"
  to be accepted in that dir even if they are missing some sections.
* Add a sample file to the specs/backlog dir, for demonstration.
* Update the index page

Change-Id: I634635467f5cbe565958dbcd360399bc5f0b96ec
2014-11-19 15:16:58 -08:00
Devananda van der Veen 75180f2772 Automate testing of template titles
Instead of hard-coding the list of section titles in the unit test,
just auto-generate it by reading the template.

Change-Id: Ifa7bb3a207f2160c2e95b74dab7e2692aeea6ed1
2014-10-03 10:17:45 -07:00
Devananda van der Veen 5d495fead9 Update template for Kilo
Change-Id: I743302220b3a614f8532ce6fde6b0db574d812d8
2014-10-03 10:02:35 -07:00
David Shrewsbury 7e9bf49da4 Add a section for RPC API impact
Changes to the RPC API should definitely be considered.

This changes the unit test to verify specs for Kilo only
since we shouldn't hold past accepted specs to new template
changes.

Change-Id: I3f8857f92ae80cfef01fb4a88e8bdb6a1add1905
2014-09-26 11:54:17 -04:00
Devananda van der Veen 161a82f218 Initial commit
This imports the structure, unit tests, and template from nova-specs, creating
a functional specs repository without any approved specs.

Some modifications were made to the template to make it more applicable to
Ironic, eg. by adding sections and comments to existing sections where relevant
to bare metal provisioning.

Change-Id: I0b1ccd4a283d1c670a6ce497677dea8f47457f00
2014-05-22 15:51:33 -07:00