44 Commits

Author SHA1 Message Date
Doug Hellmann
0cf773e904 add version validation rules
Change-Id: Ie8db861cf7cadacb142134b3143c8a51d6820e66
2015-12-03 19:44:27 +00:00
Jenkins
37341bd7c6 Merge "add release notes links" 2015-12-02 15:06:49 +00:00
Doug Hellmann
439104fec3 fix error reporting for bad SHA
Fix the way the error message is constructed when there is a bad SHA to
the error is reported instead of seeing a KeyError.

Change-Id: I5ff521dee807d3497b2d3496f4361c8fad57d86e
2015-12-02 13:33:58 +00:00
Doug Hellmann
c6485818c8 add release notes links
For old releases, link to the wiki pages.

For liberty, link to the wiki and add links to the reno-generated
release notes pages that are available.

Change-Id: Iac5dbf2a64257d7457b136483322b2cb0d65fd1e
2015-11-30 21:50:28 +00:00
Jenkins
3e1f8525fe Merge "use HTTPS for tarball links" 2015-11-27 00:19:09 +00:00
Doug Hellmann
defc0e7aa4 protect list-changes from new repos in a deliverable
When new repositories are added to a deliverable, we want to recognize
them as new and show all of the changes. The existing logic using the
generator expression fails with a StopIteration exception when there is
no repository matching the new version in the previous version.

Change-Id: Ifb426b89c85b21b18208a630fa5187a279e6ce2f
2015-11-25 20:33:40 +00:00
Ihar Hrachyshka
9528a92d3a releases: fix release diff for multiple deliverables
If there are multiple deliverables (like in neutron), we should make
sure we extract git hash for corresponding repo to extract diff between
previous and proposed versions.

Change-Id: I0e1210c8582ef87c099e45058b415a6e2346ed48
2015-11-25 19:09:25 +01:00
Doug Hellmann
5b94ca9888 use HTTPS for tarball links
The tarball server now supports HTTPS, so default to using it for all
generated links.

Change-Id: I2313cff088a3127ccc260dd82e24e9913b456aa6
2015-11-25 14:17:05 +00:00
Doug Hellmann
76c93bbca9 display release:independent projects on a separate page
Show all of the release:independent projects release histories on a
separate page, now that they have moved out of the release series
directories.

Change-Id: I3fddbca590b1a8fcacc180a2730f0463dbcc0100
2015-11-11 22:06:25 +00:00
Thierry Carrez
46feb821ba Add section for deliverables with no type
Deliverables which do not have any type were assumed to be
type:service deliverables and were listed with services,
resulting in a crowded and confusing output.

This patch makes sure they are listed in their own section.
It is still wrong for some of them (which should really have the
type:service tag), but less wrong than considering them all as
services.

Change-Id: I828b0fb245443cf5e3fb50c222da3f70c65a014b
2015-11-05 14:51:54 +01:00
Jenkins
f09c958c78 Merge "provide download links" 2015-10-14 17:18:22 +00:00
Doug Hellmann
3f8d6b24ef provide download links
Turn the version numbers in the tables into download links for
the tarball of a project at that version.

Change-Id: Id3fb9fbec75bc6b099589fd09a4cd4fafbc709e7
2015-10-07 17:42:38 +00:00
Jenkins
0452321239 Merge "remove unused rubric function" 2015-10-07 17:20:14 +00:00
Doug Hellmann
67b2d7ccda remove unused rubric function
Change-Id: I804e4d9968fa33c1fde1a9bf2502b3b56ee5ccee
2015-10-06 21:17:56 +00:00
Doug Hellmann
046c1b17df show requirements changes
Add git diff output for requirements related files to show what
requirements actually changed over the span of the release, if any.

Change-Id: Id87c858897e75ddcee2150912d3e087743554585
2015-10-06 13:51:40 +00:00
Doug Hellmann
79ea122590 show more verbose git log output
Include the graph log output for the range merging in so we can try to
verify that there are no merges from a bad branch.

Include the full log output for the commits so it is easier to tell
which ones might be features.

Change-Id: I74e34ce78abef63a38b41d6ff1d2d275317fb209
2015-10-01 20:31:52 +00:00
Doug Hellmann
58153cb747 change the master/default branch to mitaka
Change-Id: I8589dd92704df9d26d7f9359477c99377223d897
2015-10-01 19:03:51 +00:00
Jenkins
654be8bb83 Merge "improve error reporting" 2015-09-03 21:43:58 +00:00
Doug Hellmann
35c4473375 improve error reporting
collect stderr and report it when some of the git query commands fail

Change-Id: I2bcabec71518e32416581f2d0107c45c69795bd3
2015-09-02 23:23:04 +00:00
Doug Hellmann
7cf0eedaf7 show more of the release summary in table
Include the earliest release and the most recent release in the summary
table at the top of each deliverable-type section.

Change-Id: Ib0704f4639bc6e350a9587aefba2819b65128940
2015-09-01 21:37:38 +00:00
Doug Hellmann
15b0758543 group service and library projects separately
Split the deliverables based on whether they are a service or
library. Default to service, since we do have some untagged projects and
they tend toward service rather than library.

Change-Id: Icaa2bacf5aadf7c53543c6c4a1abc5ef62eb77e7
2015-09-01 21:37:33 +00:00
Doug Hellmann
890aaa12c1 Handle errors from git describe
The git describe command reports errors if there are no tags to be used
to get a description. Trap the errors in places where it is reasonable
to encounter that situation.

Change-Id: I436af248b1740c493b14178cbbe59c8b0474aa94
2015-08-31 14:56:14 +00:00
Thierry Carrez
34208cad73 Fix release history
- Add missing entries for Austin to Cactus
- Remove development milestones, alphas and temporary artifacts
- Remove projects that were not officially part of OpenStack
  by the time of each release
- Remove extraneous entries (like neutron-*aas before kilo)
- Reorder some releases (0.10>0.2)
- Remove oslo-incubator where it was mentioned, since it's not
  really released
- Fix validation code to handle just-deleted files

Change-Id: Ia9fd26cbefe9c25c9fecab33069b2826e2328675
2015-08-27 19:18:30 +00:00
Jenkins
34bdc5ec4c Merge "tighten up the tables within each deliverable section" 2015-08-26 16:38:50 +00:00
Jenkins
2a2240d1ff Merge "clean up 'most recent' table" 2015-08-26 16:38:48 +00:00
Jenkins
c1f7255e5d Merge "show version history from most new to old" 2015-08-26 16:38:44 +00:00
Jenkins
2f0fb909a5 Merge "add 'most recent' table to each page" 2015-08-26 16:32:59 +00:00
Jenkins
422aab7e61 Merge "add deliverables directive and source files" 2015-08-25 20:04:58 +00:00
Davanum Srinivas
95d0ed985f list-changes breaks because of bad start_range
start_range should be just the hash. previous_release
contains the full information about the release, we just
need to pick up the hash from it

Change-Id: Idb0d79f72c7d3f0d19fa40567bc03b51062872df
2015-08-24 21:17:51 -04:00
Doug Hellmann
33dc32f776 Make list-changes smarter
If we can't figure out the previous version from looking in the YAML
file, use git describe to find it.

Show the version number being released in the header of the list-changes
output so we can verify that it matches the expected value after seeing
what sorts of changes are included.

Change-Id: I8f65400900ee0779fd8d1736bf319e638ebbeca0
2015-08-24 18:17:01 +00:00
gordon chung
d120df2cb4 fix releases where SHA is not HEAD
list_changes crashes when not releasing based on HEAD. git_log
is missing parameters

Change-Id: I16f52aa9387729a070eb3f6c800e52bb11b88884
2015-08-21 19:58:43 -04:00
Doug Hellmann
85702075de tighten up the tables within each deliverable section
Change-Id: I4ef0dfda44a65943ef27836a3d7708e8dcb45540
2015-08-21 18:51:32 +00:00
Doug Hellmann
7670133195 clean up 'most recent' table
Change-Id: I7b2a4bbb113c20a44a0b305fdbdc004c2bd0a7b5
2015-08-21 18:50:38 +00:00
Doug Hellmann
86e11432d4 show version history from most new to old
Change-Id: I730f5fa5a1e3a976fa9c2e741bcd37de913bf757
2015-08-21 18:50:25 +00:00
Doug Hellmann
3fefe6073e add 'most recent' table to each page
Change-Id: I03ff22e7f86c931343f176727b6f8a5fc67b331f
2015-08-21 18:50:23 +00:00
Doug Hellmann
a6504c20f9 add deliverables directive and source files
Change-Id: I8da828e08286f371d7c2802810ad25f7eb2365a4
2015-08-21 18:00:18 +00:00
Doug Hellmann
c2f515659b Make subprocess chdir instead of changing global state
Have each subprocess call change its working directory instead of
shifting the working dir for the entire process.

Change-Id: Ia1ada14bac7bc6b3b006c1ef8930192761111877
2015-08-18 18:10:28 +00:00
Doug Hellmann
44244a82a0 add ancestry check to validation
Look for the SHA being assigned a new version in the descendants of the
previous version to ensure it is merged properly.

Change-Id: I82fcb9295bc5eea0c404db898272329dcc515b7b
2015-08-13 21:00:56 +00:00
Doug Hellmann
01834f3146 show unreleased changes as well as released changes
Sometimes we want to release something that isn't HEAD, so include the
unreleased changes in the output report.

Change-Id: I7265e892dff48a2c0a618f6d3b2a9ceff6e095bf
2015-08-13 20:59:22 +00:00
Doug Hellmann
f39c3879ad separate clone and query operations
Let sha_for_tag assume that the repository already exists, and create a
clone_repo function to be used to enforce that.

Change-Id: Iab9b54cf7a82b70aeebc46a09cab92ccfbe76f4c
2015-08-13 20:31:27 +00:00
Doug Hellmann
17ad4a9bd3 if both tag and sha exist, make sure they match
Update the validate command to compare the actual SHA of a tag with the
one in the file to ensure they match.

Change-Id: I5c04667cbb43cda548c3cc05a47d5a5830b32951
2015-08-04 21:06:13 +00:00
Doug Hellmann
fd5ff7c20a Fix the changed file detection
The merge commits created by zuul do not always list all of the files
being modified, so use git diff instead of git show.

Also force python to use unbuffered I/O so the output comes out in a
useful order instead of mixed up with the subprocess commands.

Change-Id: I5e0e4602e463c05e488537192be8ba59c08644dc
2015-07-27 20:22:11 +00:00
Doug Hellmann
2ab2ca2f9f Add list-changes command and tox environment
Add a tox environment to show the pending changes, if any.

Change-Id: If8a77cf24e8a0ac03dd065c5813960696730b864
2015-07-23 18:17:57 +00:00
Doug Hellmann
7fb906f6d4 Refactor validation script
Move some of the validation code into a real python package so we can
more easily reuse it.

Make the validation script reprint all errors, for cases where it has
checked a lot of files and the original messages might have been mixed
in with other output.

Fix the launchpad project name for tooz so the validation script will
pass.

Change-Id: I17534d460dd9ed19d10e48a0ef5d28dac3ab0fe7
2015-07-23 17:33:03 +00:00