40 Commits

Author SHA1 Message Date
Cao Xuan Hoang
f2d42a9e17 Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]:
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: I9f4673f19ce045a2aad656fdc27679a8ada23ff7
2016-09-29 14:54:59 +07:00
Doug Hellmann
98458056d2 update the process and tools for adding release note links
Add a step to the release process to ensure that the note links are
pointing to the right pages, and update the tool used to do that so it
is more robust.

Change-Id: I7beb85f63212c4ca696c9012b673e4d1b2b6d453
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-09-22 16:48:58 -04:00
Doug Hellmann
8a3e97707d replace summit weeks with trailing weeks
The release schedule is no longer bounded by the summit, so don't
include it.

Add 2 weeks for the cycle-trailing deadline.

Change-Id: I8bca376d910c218b65a29d2e400fd519348f73b9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-08-16 15:13:04 -04:00
Tony Breeds
c17ec7fc40 Add support to the history import tools for release-type
When trying to use the history import tools we need to use the correct
release-type setting to validate tags.

We can't use versionutils.validate_version() as it's a generator which is
hard to use in a sorted() function.  Insetad introduce
versionutils.canonical_version() which will return the version is valid
or raise a ValueError() exception.

Change-Id: If10aab4c573342227e2909fd84f843c96f3abc43
2016-06-21 14:17:32 +10:00
Tony Breeds
c3148de50f Use repo name rather than project team for the new deliverable file
The project team name is no longer a great default for when importing
history.  Use the 'basename' of the git repo we're importing instead.

Change-Id: I2ee75f116101d5712bd2fdc821c4f9bc3e60e2d0
2016-06-20 13:46:58 -04:00
Tony Breeds
c73b48d6e0 Add team and send-announcements-to keys to history scripts
We mandate team and send-announcements-to tags in the yaml file but the
tools to import history don't supply them.

Fix that.

Change-Id: Id9edd21634a500949caed45cf7990ccde0264d73
2016-06-20 13:46:58 -04:00
Jenkins
cc5110a289 Merge "tools: Trivial fixup" 2016-06-16 18:50:36 +00:00
Tony Breeds
3d515abe57 tools: Trivial fixup
tox -ebashate complains about the 'do' not being on the same line.

Fix that.

Change-Id: Ibd109509cdcd0b51546c3246c452630a82ed84f7
2016-06-16 16:12:18 +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
c48b2ac2ac update tag_history_from_git.py to work for newton
also remove the check that was causing it to skip everything except
liberty

Change-Id: Iceb3fb12916f6e3e31f99014c397d053ecffe892
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-18 14:31:53 -04:00
Doug Hellmann
a65d9f5c3d add team pages
Add pages to show the work each team has produced. For now, only
official teams using cycle-based release models are included. In a later
phase we will add deliverables that are currently listed as indepdent.

Change-Id: Ieb54aa7a4d2f58f462692e295c8f19978d5baa73
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-05-13 10:57:44 -04:00
Jenkins
cafd4f53db Merge "Sort versions by semver" 2016-04-19 14:37:42 +00:00
Ian Wienand
c1dee13b20 Sort versions by semver
The ordering in the output file is currently string-ordering, which
puts 1.10.0 before 1.2.0.  Use semver ordering to get this in the
right order.

Change-Id: I27291789193b9ff872a56cbefcb8271c8a765127
2016-04-19 14:03:56 +10:00
Doug Hellmann
2d42608486 add an "etherpad" format option to list-weeks script
Add an output option for building the schedule planning calendar
etherpad.

Change-Id: I3be5d94a1cb243a8d9e601b51959a1d97ba93083
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-04-15 09:10:37 -04:00
Jenkins
2f7767f0fc Merge "clarify that date args to list-weeks need to be mondays" 2016-04-08 12:15:20 +00:00
Jenkins
33f177964f Merge "fix logic error in list-weeks to remove duplicate week" 2016-04-08 12:15:14 +00:00
Doug Hellmann
6f52acb668 add release notes links for mitaka
Add a script to check deliverables and add release notes links where
needed and available.

Use the script to update the deliverable files for mitaka.

Change-Id: I9b8cd4984532a7d7a1b3689c509e4f7003eb5ca8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-31 11:04:46 -04:00
Doug Hellmann
44222fc97b clarify that date args to list-weeks need to be mondays
Change-Id: If4543af8106def2cbfadca325984792680c8b8a2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-31 10:22:01 -04:00
Doug Hellmann
f752b09669 fix logic error in list-weeks to remove duplicate week
Change-Id: Id3b7c0133b5801670dd9d2b275634cc9701f133e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-31 10:21:48 -04:00
Jenkins
2b05212783 Merge "script to make it simple to add a new deliverable correctly" 2016-02-11 18:25:42 +00:00
Doug Hellmann
a7a1ae3335 script to make it simple to add a new deliverable correctly
Change-Id: Idd90ad1bc6bba363402088935e3d77f52500c2b0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-09 16:58:14 -05:00
Doug Hellmann
2d833e1dfe skeleton version of newton schedule
Add a tool to produce the schedule table, and add a table for newton's
schedule based on when the summit is and the three week period we have
for mitaka between the release and the newton summit.

Change-Id: I4a4a16426b00c5f21a10d0ce9de221d588ee5fe5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-08 12:35:15 -05:00
Doug Hellmann
ee7ebba4d5 update history import tools for liberty
Ignore git tags that appear to be part of a series other than liberty.

Add an option to only import launchpad history from a specific branch.

Update build_tag_history.sh to pull in the history of unmanaged projects.

Change-Id: Ife22a9b808d91193ef4f9eef97e11b48ed79375a
2015-10-16 22:26:21 +00:00
Doug Hellmann
58153cb747 change the master/default branch to mitaka
Change-Id: I8589dd92704df9d26d7f9359477c99377223d897
2015-10-01 19:03:51 +00:00
Doug Hellmann
eb7421e4e8 remove cruft from the import script
Change-Id: Ie78e9e1eb3967162cc3f3772cfa5cf6603b6d5be
2015-09-16 10:10:24 +00:00
Doug Hellmann
a473201b5b history build cleanup
remove all of the extra commands that are no longer needed for importing
the history of projects that we have already

Change-Id: I89f467110a5f16593dae39b7d2ca969f114ca0a1
2015-09-15 21:48:49 +00:00
Doug Hellmann
857d77e7e7 git history import cleanups
ignore tags with - in them, since those are likely milestone tags

do not try to connect to launchpad, since we don't need to in this script

Change-Id: I33b733e5de1a5594e405dd3afed23812f5837ff2
2015-09-15 21:48:49 +00:00
Kaitlin Farr
097dab7119 Remove Castellan from deliverables
Castellan is independently released [1] and should not have a deliverables file.

1. https://github.com/openstack/governance/blob/
   cbf8586e077dba3442526920b35d50b9c39590b8/reference/projects.yaml#L27

Change-Id: I78580c1bb814e0bf29443570ff6ce6c2b6983d62
2015-09-15 10:59:27 -04: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
Jenkins
df4f66c880 Merge "improve SHA detection" 2015-07-22 22:28:37 +00:00
Jenkins
52e8d46353 Merge "validate the current release series by default" 2015-07-22 22:27:12 +00:00
Jenkins
61bbc9436e Merge "ensure the launchpad project exists" 2015-07-22 22:26:22 +00:00
Doug Hellmann
b08880947c import doc tool history
The documentation tools did not have launchpad projects from which we
could import the version numbers in the appropriate series, so
approximate that by comparing the dates of the tags to the end date of
the release cycles.

Change-Id: Ibbca82ff37dffab7b93b91104cba783cc7073a6d
2015-07-18 22:10:33 +00:00
Doug Hellmann
409edf902f improve SHA detection
Be more explicit about how we check for a SHA, instead of just checking
a few commonly used names.

Change-Id: I3878159f45d40bb0291a8352c0e6485a84a165e0
2015-07-17 19:15:21 +00:00
Doug Hellmann
4b53ffd4c0 validate the current release series by default
If we submit changes to the validation script we want them tested
against something, so default to looking at all of the files for the
current release. Running it against all files for historical releases
would take a long time and might fail if we introduce schema changes to
the deliverables files.

Change-Id: If9b840403f52abde597e1d99b594be338c42aa3d
2015-07-17 19:06:57 +00:00
Doug Hellmann
5f0be5999b ensure the launchpad project exists
Look for the launchpad project to make sure it exists at the time the
release request is made.

Change-Id: I3f4d82a20e208a8ee1acda623661d0cbccd57613
2015-07-17 18:56:10 +00:00
Doug Hellmann
9891b7eea5 fix history importer
Fix the import script to ignore some projects that don't have their own
launchpad pages, yet, and to use the right names for pages where they
don't match the git repositories.

Add history for a few missing projects that can be imported after the
changes mentioned above.

Change-Id: I1f22c8cfcd66a02e3c5e1e5076fcdada42178948
2015-07-17 18:35:40 +00:00
Doug Hellmann
9531272b97 add a validation tool
Add a basic validation tool to check the input values against the
current state of the repository.

Change-Id: I570c7028e4dc469a670ff933fdfe6bde3095d0ac
2015-07-16 18:59:47 +00:00
Louis Taylor
e561da93a5 Correct glance_store's launchpad project name
Fix and re-run the history script to import glance-store's history.

Change-Id: Ie646eafaaec12b9f30c025ef1c76c8cebf7fc95c
2015-07-16 17:05:42 +00:00
Doug Hellmann
2382b08607 Add old deliverable files
Add deliverable files for existing releases, including the script used
to generate them from launchpad and git data. This data is known to be
incomplete, and is meant as a starting point for reconstructing the full
history.

The output from running the script [1] shows that many projects we
expected to treat as deliverables do not yet have a launchpad page.

[1] http://paste.openstack.org/show/336176

Change-Id: I1a64c8b6b99ec575c00c1ebad93a5f6dc70c9718
2015-07-14 20:59:27 +00:00