Commit Graph

51 Commits

Author SHA1 Message Date
Hervé Beraud
c42fa88865 Adding a tool to catch projects that missed branching
This tool will be used in doc addition around the branching period
to ensure that we don't miss to create stable branches for project.

Also this tooling should be used around each trailing deadline to ensure
to not forget a trailing projects. Trailing projects are those who can
easily meet the conditions that lead to forget to branch them.

Adding usage of this tooling in our process to ensure to check that
point once a time at each new series.

Change-Id: I2a8bd25ecfe5bb1bde5af16b08f897a5bdc11cb7
2021-03-03 13:51:12 +01:00
Hervé Beraud
d8aba0991d add tooling to list em series from data
Change-Id: I114f08c0c1c38a31f34d798562dd530910bcd3d5
2020-11-04 16:53:14 +01:00
Hervé Beraud
4912f7d5d0 Allow list_unreleased_changes to format results at json & yaml formats
Rewrite list_unreleased_changes as python format and add new features.

By default it will behave as the previous version of this command (the
shell script).

Few new feature have been added in these changes to allow us to more
easily handle outputs in scripts.

Features added:
- allow user to retrieve results in json format
- allow user to retrieve results in yaml format
- allow user to ignore project not yet released

The shell script entry-point (tools) is still there but it will call
the python command in a venv instead of directly implement features.

Also the python version allow us to more surround this tools with unit tests.

Change-Id: Iaf86ecb1589c40102acb621b23ea12d71ed453bb
2020-07-07 19:07:25 +02:00
Andreas Jaeger
0c31414677 Update docs building, Python 3 cleanup
Update docs building:
* Remove unneeded doc sections from setup.cfg
* Change constraints to use published document, use
  new variable
* Import mock from unittest, remove imports from future

Change-Id: I8f33d4c0bf5fcba203d410cd021c548219a757ec
2020-04-20 11:16:46 +02:00
Tony Breeds
60e786d724 Add tools/bulk_review.sh and get-contacts
get-contacts:
To extract the PTL/Liaison contact information from the governance data
/ release team data

tools/bulk_review.sh:
To manipulate a dirty working-tree and post as a single gerrit topic,
one change per team.  Changes are unordered so any change can be merged
when it's ready/ approved by the appropriate team

Also enhance get-deliverable-owner: to detect file paths

Story: 2005704
Task: 31028

Change-Id: Ia319e8a7b4da195cb4bc861c51025a41adc43bb3
2020-01-23 11:52:59 +00:00
Zuul
0e2b206d19 Merge "Add Python 3 Train unit tests" 2019-08-08 09:50:12 +00:00
Corey Bryant
49154ccfd0 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I0fb852f85e435c1ec53b4e250255534c708eab0b
Story: #2005924
Task: #34242
2019-07-19 14:43:41 -04:00
Zuul
936eb064fe Merge "Drop references to oslosphinx" 2019-07-19 04:51:43 +00:00
Sean McGinnis
6dae687b0d
Drop references to oslosphinx
Change-Id: Ibb8b14ac8c7f3c56958415c3022de31efef12d52
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-07-01 07:37:03 -05:00
Kendall Nelson
59c38e6708 Update Liaison Scripts
Now that the release liaison info lives in data/release_liaisons.yaml,
we don't need to pull from the wiki. This patch also adds a schema
to verify the release_liaions.yaml is formatted correctly.

Story: 2005702
Task: 33639
Task: 33733

Change-Id: Ic4de16c26bb1a4fb878b86d2bd9c59bf5f54d11d
2019-06-19 16:22:29 -07:00
98k
465b505832 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ibe6d0701b6982d856226c8e08de1a6fc3aa00a69
2018-12-04 08:58:17 +00:00
Zuul
58b5a983ea Merge "add a script to examine the gerrit acls for issues" 2018-03-05 15:00:34 +00:00
Doug Hellmann
4e2a64e055 remove the make-dashboard command
We will need to fix make-dashboard as part of the
validate-with-object-model series of patches, but we do not use it any
more so let's just remove it instead.

Change-Id: I25a0ccdde3fb0dede967c9008845de6464beeb77
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-01 16:08:15 -05:00
Doug Hellmann
a12d59edd1 add a script to examine the gerrit acls for issues
This is based on mnaser's work in https://review.openstack.org/533780/

Change-Id: Ie6f94db0dce2f5331c3d21a1192533ffc648329b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-23 11:52:07 -05:00
Doug Hellmann
6fca7a1f07 move deliverable schema checking into its own command
We've run into problems because we weren't maintaining older
deliverable files as we extended the schema. This change moves schema
validation out of the main validation command so it runs as a separate
step and processes all deliverable files by default. The more complex
validation rules are still only checked for files being modified in a
given commit.

Change-Id: I4b69ca3c59da6606cf2b27d05c8846223d52998a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-21 16:23:11 -05:00
Doug Hellmann
70be592ba5 add release notes output to the list-changes job
Import the release-notes command from the release-tools repository and
integrate it with the list-changes command so that we see the release
notes for an upcoming release. This lets us review the release notes
output for warnings (like not having a documentation page linked) and
errors (such as reno failing to work).

Change-Id: I710606fe44601fe5414bfc82f25894319f16e558
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-11 13:44:46 -04:00
Doug Hellmann
a8d2f1ba4b import the send-mail command from the release_tools repository
Change-Id: I9cb418b461f289484062cf69bf9b7453db6624de
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-03 16:24:45 -04:00
shangxiaobj
06b66c9997 Update and replace http with https for doc links in releases doc
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I1f3c46adf07ccf4de7663ec32fc2ac38f4ba9e18
2017-08-09 14:10:09 +00:00
Doug Hellmann
6080c4b5ae add edit-deliverable command
Add a new command for making small changes to deliverable files. The
first version knows how to set the release notes URL.

Change-Id: I7b4949d2e93bf6bdfd0080f42a0a3c32a9631750
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-31 17:34:33 -04: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
Doug Hellmann
23cf9291da cap sphinx to avoid conflict with pbr
Avoid the version of sphinx that introduces an attribute error on
builder_target_dir.

Change-Id: Id868e4cda6d31a9ec43d411950f63a8b49e424ae
Related-Bug: #1691129
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-05-16 10:37:07 -04:00
Tony Breeds
cc9277b83c Update the trove classifiers
Some of our tools no longer work as expected under python2.  We've set
our basepython to python3 in tox.  So lets call that out in our metadata.

Change-Id: I62043a85cd5216ca45293f67476743f07c39d588
2017-03-15 12:50:18 +11:00
Doug Hellmann
267904801b upgrade sphinx and turn warnings to errors
Update to the version of Sphinx that supports treating warnings as
errors through setup.cfg, and turn on that flag. Fix the warnings that
prevent the build from working in this state.

Change-Id: I41d142e299d107ff5878f8005c7a0c56e6375f7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-03 15:43:25 -05:00
Doug Hellmann
d302f79897 add a command to format the schedule for the etherpad
Takes an existing schedule.yaml file and produces the initial content
for the tracking etherpad.

Change-Id: I174d325579406528c060cf43f02639bf7d553e23
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-17 09:26:29 -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
Doug Hellmann
4f07da7e15 add get-deliverable-owner command
Change-Id: Id87a32d0ce933b0188591912aed3b104f70d92ac
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-26 15:52:59 +00:00
Doug Hellmann
893343361c add a command to produce a list of liaisons
This code is basically copied from the release-tools repository version
in ptl.py, with some enhancements to support the tests being added here.

Change-Id: Iabccb6fa6b20eb3c226fd0a16a736d993b78d330
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-20 09:01:28 -05:00
Doug Hellmann
bf47a321ba clean up whitespace in setup.cfg
Change-Id: I2e762b93bae0f161cc8a4331a68633ea852003dd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-17 13:50:55 -05:00
Doug Hellmann
82a98d7f51 add directive for generating ICS files
Change-Id: Ia2a0f25cfa55873737ce26d1317ed8ac08bf5ddb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-04 13:45:50 -05:00
Doug Hellmann
d04e017155 support schedule data in parsable format
This change converts the Ocata schedule to a YAML file and introduces
the templates needed to render it to a table in the restructuredtext
file so it can be published to HTML again. This is a prerequisite for
also generating an ICS file for the schedule.

Change-Id: I905b47b5b98b6d442c197e0291c44746aaf52bbb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-04 11:40:02 -05:00
Doug Hellmann
b3b992e52c disable the manpage builder by explicitly listing only html
pbr builds both html and man by default, so override that with only html
to avoid unneeded step of building man pages.

Change-Id: I2a10437b2aa7ecdb779441d611d0a9993e8465f4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-14 13:56:57 -05: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
f58b6b7eb9 set up for unit tests
Set up commands to run to execute new unit tests.

Ignore output from testr and coverage.

Rename the dist to match the package name so that the testr/coverage
integration works properly.

Add test-requirements.txt with some common testing dependencies.

Change-Id: Ic6f34df893f3981a9af6122456b9feb9c80b31dd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-28 12:47:17 +11:00
Doug Hellmann
415e86c465 add list-deliverables command
Add a command to print a list of the names of deliverables that match
specified criteria, like having a certain release.

Change-Id: I52844446e288513b0a575c922a83d72f803f9f17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-22 10:29:06 -05:00
Doug Hellmann
8ed3a71553 add check-diff-start command
Add a tool for reviewing the diff-start values for a final release.

Change-Id: I0d51f766d1cf899bd5c210060b0661a08246669b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-10-05 11:19:00 -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
f8a9d606b2 Add a interactive-cmd to propose library releases
Add a useful new command that augments some of the
existing commands and can be used in a interactive
manner to create a release for a given project or
view what a release could be composed of.

Change-Id: Ic0ee4ecc7c5abf0cd65d7cf19c132712a2acf4ae
2016-05-16 21:46:10 -07:00
Joshua Harlow
9c1ac3dace Add a yamlutils file and a reformatting command
Do note this will lose comments, if pyyaml ever supports
not losing those then this can avoid losing those.

Change-Id: I4b26362f7cab42eb40804751c86d9145490c78d9
2016-05-16 21:45:40 -07:00
Doug Hellmann
da0c22f181 Cap Sphinx < 1.4 to avoid issue with Babel
Sphinx 1.4 and Babel appear incompatible,
so cap the version we use.

https://github.com/sphinx-doc/sphinx/issues/2394

Change-Id: I1e76563b6adc4bac74759517725bb12f33d553dc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-28 10:54:36 -04:00
Doug Hellmann
a4dfd8e39b fix whitespace issue in setup.cfg
Change-Id: Iccda8e85acf20f09eb69211df4ae607cdfa9a160
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-11 13:27:32 -05: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
2e6b80df71 add list-constraints command
list-constraints takes a series name as input and produces a constraints
file including all of the packages released as part of that series. It
doesn't differentiate between servers and libraries and tools, since we
don't know from here which might be listed in a given constraints
file. Merging the output with a real constraints file is the
responsibility of the user.

Change-Id: I6f669dca320825f7a313953f8d13f5daf5e51368
2016-01-07 16:51:52 +00:00
Doug Hellmann
3189d00a8c remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I493c7830078631631d0a6572a951d16d5cfe1c5f
2015-12-23 01:31:15 +00:00
Doug Hellmann
9c437fa6a0 Revert "Fix docs build by blocking bad oslosphinx version"
This reverts commit 3d53e0a233.

Change-Id: Ifa218a360aba34ffe7868f24779a0225bf1e732b
2015-10-13 15:52:23 +00:00
Davanum Srinivas
3d53e0a233 Fix docs build by blocking bad oslosphinx version
Change-Id: I6fdb61422759975722edbb82ba83006dbc0867ee
2015-10-12 15:19:52 -04:00
Doug Hellmann
a6504c20f9 add deliverables directive and source files
Change-Id: I8da828e08286f371d7c2802810ad25f7eb2365a4
2015-08-21 18:00:18 +00:00
Doug Hellmann
ae42958f37 set up sphinx build
Change-Id: Id72771e6cf9a8150d19634d36320d30a282eb565
2015-08-21 17:59:00 +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