Commit Graph

58 Commits

Author SHA1 Message Date
Dr. Jens Harbott 97127bede1 Update for Unmaintained transition
We no longer have branches in extended maintenance state, these have
been switched to Unmaintained (eom). So we need to check for the latter
state when listing branches that could be deleted since the are EOLed.

Add oslo.utils to requirements since it is now needed by the
tools/delete_stable_branch.py script.

Change-Id: Ib948befa6f2706dc5dc50009b021af3a1bb389a8
2024-03-15 08:14:24 +01:00
Hervé Beraud fedd53c93a fix tooling to retrieve unbranched deliverables based release id
list unbranched deliverables is not designed to work with new release
id.

These changes add a command to allow to retrieve series id from a shell
script by passing the name of the series.

This new command is called by the list unbranched deliverables to check
if the corresponding stable branch exists (based on the release id).

Change-Id: I102b90c5221e57dd5697e2e81aa7edb8615ce445
2023-11-27 14:53:56 +01:00
Előd Illés 35db4c21e6 Remove virtualenv pinning
virtualenv pinning was added on Yoga final release time because some of
the deliverables' packaging didn't work with the new python module
discovery (see details: [1]). 1 year passed, hopefully most of the
projects have fixed these errors, so let's unpin virtualenv.

Since newest virtualenv introduces some errors, those need to be fixed:
- skipdist=False needs to be removed otherwise openstack_releases won't
  be installed
- basepython=python3 is not necessary anymore since there is no py2
- allowlist_external is needed for tools/* scripts
This patch also adds python3.10 classifier to setup.cfg

[1] https://review.opendev.org/835423

Change-Id: Ibc1f538ddd04c0afeb3d5464fe0b1347ee3ea67a
2023-03-23 20:08:34 +01:00
songwenping ee7e5ecc33 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
Also indicates that we support python 3.9.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ib286bb8887b0a1e56af159a2aed944def637aaad
2022-05-13 17:33:21 +08:00
LiZekun 851246bb75 Update python testing classifier
Change-Id: Ib96a2034b917a0db6996e1bf195620f4b2a9a3ec
2022-04-27 10:17:49 +00:00
Hervé Beraud 6d7482db5b List cycle's releases with process_auto_release
Without knowing which releases have been made within the given
series either we shoots in dark in choising the kind of release
(bugfix, feature, major, etc...) or we need to check manually
what are the existing versions. That's time consuming.

These changes simply display the current versions available in
the given series.

Change-Id: Idb160198d52d3bc6b0fa00095b143b19a1f130eb
2021-09-17 11:56:37 +02:00
YuehuiLei a817310dc8 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ia9e4cab5a22aa9e9d0e13c4a1f9313c3fcb1ec66
2021-05-04 17:28:05 +08:00
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