62 Commits

Author SHA1 Message Date
Doug Hellmann
0c688306c9 add --stable-branch option to new-release
Change-Id: I5bcc2ab4e130289b456f165a4feb6ab1a33c8d24
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-07 15:35:12 -04:00
Doug Hellmann
306e3fe1d2 document new-release
Change-Id: I7e3532c8b5abcb418e58de2edb3610e513fdfb98
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-07 15:35:02 -04:00
Doug Hellmann
842b728e20 add new-release and edit-deliverable to helpers list in readme
Change-Id: Ia61a5fb05850db26b469feea181b3ed5c895ba81
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-01 10:29:08 -04:00
Eric Fried
0ad979f370 Minor typos in README.rst
Change-Id: I26a684d0e077ced21b1630c5bf40d9480b761827
2017-07-25 11:48:48 -05:00
Doug Hellmann
c3850111ff add tool to bulk propose branches for libraries
We need to ensure all of the libraries are branched early, when they
are frozen. Add a command to do that.

Change-Id: I8d67dd7cb35502db2bbbf45c0da215ff189b3886
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-21 10:29:46 -04:00
Jenkins
4228a705bd Merge "make the docs for drivefixes match the code" 2017-06-06 23:13:13 +00:00
Doug Hellmann
d8c990841c add stable-branch-type option
The rules for stable branches vary based on whether a project is tagged
or not. The default rule set still relies on using tags, but projects
like devstack and grenade will want to be able to create branches
without having to tag. This patch adds a new stable-branch-type option
to let us control the behavior for each deliverable file.

Change-Id: I13c22d9da303cd3a6df329bf310a2292cfec9ae0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-05-25 13:27:59 -04:00
Doug Hellmann
8c4417b036 make the docs for drivefixes match the code
The validation logic for driverfixes branches requires a mapping of repo
name to SHA. Update the README to reflect the correct rules.

Change-Id: I1f77c15fa0843b4fc0975b230530d08cc2957acf
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-05-07 11:43:53 -04:00
Andreas Jaeger
511086a92f Use https for docs.openstack.org (1/7)
We switched to https for docs.openstack.org, adjust most URLs.

This change updates documentation etc files, but not any deliverable files.

Change-Id: Ia8b0524025ab1c685ec6f57246f8b34231f52632
2017-04-30 18:01:36 +02:00
Doug Hellmann
d5840915a6 add support for storyboard bug and task trackers
Some projects use storyboard instead of launchpad, so look for one or
the other and try to do some basic validation of the storyboard project
ID.

Change-Id: I94a9507969bcc8bbe2358132761c0935d94cadaa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-16 11:34:24 -04:00
Jenkins
c6b5af4a0b Merge "import list_stable_unreleased_changes.sh from release-tools" 2017-03-06 16:29:59 +00:00
Jenkins
2870614b98 Merge "import list_library_unreleased_changes.sh" 2017-03-06 14:35:27 +00:00
Jenkins
bd125c895d Merge "import a version of list_unreleased_changes.sh" 2017-03-06 14:35:19 +00:00
Jenkins
b3cf1f2399 Merge "improve instructions for defining deliverable and picking version numbers" 2017-02-25 18:32:43 +00:00
Doug Hellmann
9456491e2d improve instructions for defining deliverable and picking version numbers
Add detail about how to define a deliverable based on how the project is
managed rather than technical criteria.

Move the information about assigning version numbers up to the "how to"
section instead of the reviewer section to make it more likely that
submitters will read it.

Change-Id: I480e91ae69f91b2e87ed83fe343dc546948f31f5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-13 13:16:31 -05:00
Doug Hellmann
d987f2ca11 import list_stable_unreleased_changes.sh from release-tools
Change-Id: Ibef585f5a6fb427a073fe069ab47db992a80f120
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 15:48:50 -05:00
Doug Hellmann
ecde878e31 import list_library_unreleased_changes.sh
Change-Id: I8fd0895ff830a5a0d7e7076ba167d19abf46d194
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 15:31:24 -05:00
Doug Hellmann
2db25fc9e8 import a version of list_unreleased_changes.sh
Use a version of list_unreleased_changes.sh that does not rely on the
release-notes command from the release-tools directory.

Change-Id: Ifab8585a3707927d224ee223a551167cced05261
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 15:30:37 -05:00
Doug Hellmann
4447e00585 import propose-final-releases command from release_tools
Change-Id: I628edccf8b9327d8dcebb3044a6b181728ba0d95
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 15:12:04 -05:00
Anh Tran
d4bf2fc1a2 Typo fix: indepedent => independent
Change-Id: Ia40d4cc9ab744b37456e14de1040661a49563cac
2017-01-25 15:35:20 +07:00
Doug Hellmann
b0e5ba6e7e update aclmanager to use default series argument
Instead of requiring the series argument, look at the default that the
rest of the scripts use. There is still a command line option for
overriding the default.

Change-Id: I7168b4786ac8f275da1ff0cd177268b3a4c20c17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-09 10:06:07 -05:00
Doug Hellmann
afef890fb6 add tox environment for running aclmanager
Change-Id: Ia10a287e4fe0f8003b5943914cb1dd815521d768
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-09 10:00:01 -05:00
Doug Hellmann
c22f58ae3b move aclmanager.py from release-tools repo
The aclmanager script needs to be able to get a list of repositories
with the cycle-with-milestone release model, and the data for that lives
in this repository now instead of the governance repository. Rather than
having a tool that relies on this data live in release-tools, move it
here.

Change-Id: I7c2c54c4949829aea92e569e3ac9ec9007d932ed
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-09 09:40:59 -05:00
Thierry Carrez
9c41f9b1d0 Fix deep links to governance.o.o
As part of the "neutral governance website" effort, TC-related
governance content is moved under governance.openstack.org/tc.

While those links are preserved through redirects, it doesn't
hurt to give the right examples (and avoid redirection) wherever
we can.

Change-Id: I85160e0c9bdf3d1f3fbf372162415e80dfc41187
2016-12-15 15:47:57 +01:00
Jenkins
ffb57b8807 Merge "Show team and repo badges on README" 2016-12-07 11:19:28 +00:00
Doug Hellmann
26b6265ef2 add init-series command
Add a command to initialize a new series by copying over the data from
the previous series, without the release or branch specifications.

Change-Id: I97ae78f6ae813ff36084ded82bb36f8769a96816
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-05 11:04:04 -05:00
Doug Hellmann
2f68553169 add a command to build the release dashboard
This new command will replace the one in the release-tools
repository. It uses the deliverable data for a series to produce a
dashboard for tracking the cycle-with-milestone releases so we can set
up a spreadsheet to collaborate on keeping track of those releases.

The old command included deliverables using other release models, but
those are less important/useful to track in this manner.

Change-Id: Ic613d65ae3d143cc910fec201205f1f84fde761c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-02 08:21:50 -05:00
Doug Hellmann
71f36ccc05 fix rst formatting in README
Somehow an earlier commit removed a lot of the indentation that made the
README actual readable. Restore it.

Change-Id: I53e9400c42bfd5f6d23250821b6821ce2c9c7148
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-02 08:21:50 -05:00
Flavio Percoco
f7a4d6101f Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/4e9d8a5144c610674d7d890b17542292\n'

Change-Id: I2244539b82c5e58814df7c964dde91bd51cd95be
2016-12-01 11:47:23 -05:00
Doug Hellmann
b37ae73448 document how to request a branch
Change-Id: I7360a791c8f7d8cfc61ecf4e9294834a6db239e1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-29 10:57:23 -05:00
Thierry Carrez
a7c9bf65db No longer specify announcement list
release.sh no longer processes the send-announcements-to
directive, so stop requiring it.

Change-Id: I53224100b821416f01ebbd5396b4fd9f632b2489
Depends-On: I37f24fe4a716c9b64f241d7a45da8e8bce8b55c2
2016-11-16 17:17:28 +01:00
Doug Hellmann
1392fa23d6 move deliverable type into deliverable files
The deliverable type is really only used to control how the
releases.openstack.org website is rendered, so it does not need to be in
the governance repository. Copy the current values here to a new 'type'
field in the deliverable file and update the validator to require all
deliverable files to have values.

Change-Id: I0def1117b45170ebf451ef510917db9c20301e17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-09 17:09:03 -05:00
Doug Hellmann
2f24a51f6b move release model into deliverable files
Because release models change from series to series, we want to track
the data in the releases repository instead of in the governance
repository. This change adds a new 'release-model' field to the
deliverable files to hold the new value.

The valid release models are documented as part of a new reference
section for the published documentation for the site.

The validator looks only at the deliverable file for the release model,
and no longer looks at the projects.yaml file in the governance
repository. For files in the _independent directory, the release model
is inferred from the filename to avoid having to set it redundantly.

Change-Id: I81198a86da98436dc2f65806aafc5f241340c57f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-09 17:09:03 -05:00
Doug Hellmann
6b84339630 add a separate release type for fuel
Change-Id: Idde4b1acc5ac36dc216e2f31b1e94714ba260211
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-10-13 20:10:48 +00:00
Doug Hellmann
0ea69d559a add a few more details to the readme
Explicitly say that every new release needs a new version number.

Include freeze weeks as a reason a release might be postponed.

Change-Id: Id417783a3e70977251ccba68253c3521f8959af7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-10-05 12:31:55 -04:00
Doug Hellmann
66ce6a7079 add a command to look for missing releases
While we're still doing releases by hand, every once in a while we miss
actually applying the tag after we merge the patch. This command will
help find those missing tags.

Change-Id: Ia7da7cedc53bcf3947e489d95abab9370f6e023b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-08-31 13:23:12 -04:00
Joshua Harlow
a1366cc6d2 Start to add some basic docs around the cmds provided
It's useful to not only have the commands but also provide
what they do (or at least a brief description in the README
file) so that people trying to use them can know they are
there.

Change-Id: I779ed90406baafd1743d07f006f6c1af954068e4
2016-07-21 19:20:01 -07:00
Tony Breeds
6ee15b0c7f Add Support for validating 4 digit verion strings
The xstatic packages have a 4 digit verion number 3-digit semver as
supplied by upstream and a local build number.  PBR only supports 3
digit semver.

To work with that create the concpet of a release type that can have
slightly different validation rules.  In this case use the 'packaging'
library.

This will allow the horizon team to use the standard release process.

For refernce see:
https://blueprints.launchpad.net/horizon/+spec/xstatic-release-process

Change-Id: Ie0f33097c31ee4006ec58147b35731913f7b6f4b
2016-06-21 14:17:32 +10:00
Doug Hellmann
9d12f20416 maintain team ownership info in the deliverable files
Teams add and remove repositories, change owners of repositories, and
are themselves removed over time. We can't rely on the current version
of the governance repository to include the information about who owned
a deliverable, so we need to put that information here in the releases
repository where we can track changes over time.

This patch adds support for a required "team" field to the deliverable
file, using the values set in previous patches in the series, and
updates the rendering code to use it instead of the project list from
the governance repository.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Change-Id: I5941072c641c05bf0983984cae29a34927246d86
2016-06-09 14:34:21 -04:00
Doug Hellmann
50d792175d add a "retired" flag for repositories
Some repositories used to create older deliverables have since been
retired. Add support for a flag to designate them as such, and refactor
the flag test code to make it a little cleaner and to define tags
clearly in one place

Change-Id: I7002f2a13409edfbd76e681b267e28bc28e1a53e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-06-09 14:17:51 -04:00
Jenkins
4b8b90a163 Merge "add a warning about using patch series in this repository" 2016-06-09 13:52:22 +00:00
Doug Hellmann
33313ff757 provide a way to turn off the build-job validation check
Some projects want to tag repositories that do not have explicit build
artifacts. This patch adds a somewhat generic "flag" system for adding
this and similar settings on a per-repository basis.

Change-Id: I40d73987f91409e760177b573c1c300c091ef09e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-06-06 13:12:21 -04:00
Doug Hellmann
7d809b9393 add a warning about using patch series in this repository
Change-Id: Id42e1e0c29188154aae30bf53f41edd4d858fb89
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-06-03 15:37:23 -04:00
Jenkins
a46dd9651d Merge "sort version numbers as we display them" 2016-05-23 15:05:15 +00:00
Doug Hellmann
775c6fd5ea remove reviewer instructions for upper-constraints.txt
We no longer require the submitter to also patch upper-constraints.txt,
so don't require the reviewer to look for those patches.

Change-Id: Iebc7a4bdc69b8f2fc75e0b32cfd1e0f384e75627
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-19 15:02:53 -04:00
Doug Hellmann
5dd5162e85 sort version numbers as we display them
We have been relying on folks adding entries to the deliverable files in
release order. That breaks the scripts that actually prepare the
releases, since those scripts only look at the last entry in each file
and releasing a stable version of an independent project often means
inserting an entry into the middle of the deliverable file.

This change tries to sort the versions in the deliverable files as it
reads them before building any tables. We use a tuple of the parts of
the version string, converted to integers where possible to avoid weird
alphabetical sorting of numbers and because SemanticVersion can't always
parse some of the legacy version tags project teams used.

The patch includes one change to an existing deliverable file to
demonstrate that the output is sorted properly.

Change-Id: I962a38db6ca79be02a3fdc8d387e30ee86a6a61c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-18 16:03:03 -04:00
Jenkins
4afab700a6 Merge "remove instructions for submitting constraint update" 2016-05-17 17:07:21 +00:00
Doug Hellmann
447027caf6 support multiple release notes links
Add support for multiple release notes links for deliverables composed
from multiple libraries.

Change-Id: I2f02028da456c96813eecbdbbb21307088c64476
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-11 11:14:01 -04:00
Doug Hellmann
5a2f120f21 remove instructions for submitting constraint update
When we have the constraint proposal automated, we won't need to have
liaisons submit constraint updates by hand.

Change-Id: Ic7b33a7ad4af3fc4a7a32b9b5b9122c196b699aa
Depends-On: I1d2118dc93ec08bc2cfcd4b9dec0b30705ab5198
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-09 10:03:58 -04:00
Steven Dake
cfe3f7f020 Clarify where project files go
The documentation doesn't currenty state where projects tagged
with a release:* tag should be placed in the repository.  Clarify
that for folks new to the releases repository.

Change-Id: I9b4903bf8cbc6a4c7941efbf44bf822f67ce27a2
2016-04-02 12:32:49 -07:00