Commit Graph

601 Commits

Author SHA1 Message Date
Ghanshyam Mann 40b533330c Cleanup the retired repo
This repo is not properly retired. Retired repos can only have two files:
- README.rst
- gitreview

To cleanup the retirement of this repo, keeping these two files only and
removing the other remaining files if there is any.
Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup

Change-Id: I73971fd7af69aab05cd84b859f50ce09c578619e
2020-08-05 19:58:10 -05:00
Jeremy Stanley 39a82df080 This repository is now retired
The Release Management Team ceased using this months ago. Its
contents are replaced with a retirement notice so that potential
users will realize it is no longer maintained. Publicly announced
at:

http://lists.openstack.org/pipermail/openstack-dev/2018-June/131920.html

Change-Id: Ia30884174c43ef1c1afcc1f4a18b3c0051a89d8e
Depends-On: https://review.openstack.org/579185
2018-06-29 15:27:19 +00:00
Doug Hellmann 0abf645cc3 finish moving announce.sh to releases repo by deleting it
Remove the announce.sh script from this repo so we only have one copy in
the releases repo that we need to maintain.

Story: #2001816
Change-Id: I486df8fa09050bd2e903922263c12192f4d21805
Depends-On: https://review.openstack.org/564329
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-26 12:50:33 -04:00
Doug Hellmann 8a69cd398a stop if announce.sh fails to build the virtualenv
If the announce script cannot set up the tools it needs it should not
continue.

Change-Id: If66a5f863976c5c2010ac7d5c2efdfed55ff58c1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-25 15:04:11 -04:00
Doug Hellmann 4a1c52a1ee handle reno 2.9.0 anchor references
Reno produces anchor references for sections automatically now, and
those don't have URIs set up so we want to ignore them. If we do have
another target that does have a URI we want to include that, so test
whether we have the URI before including the target info in the
output.

Change-Id: I84f1b67b3078662f72c09c0f69bd09a45a7fe83e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-25 15:04:11 -04:00
Tony Breeds 69c1b0db4d Make getopt and eol_branch.sh agree on the name for the dry-run argument
If we run eol_branch.sh with --dry-run we get told it's an unknown
argument.  This is because we're calling getopt with 'dry'.  Let's give
getopt the right name.

Change-Id: I379ebdaa3c9d48218df974d01de2c76744d21c6f
2018-03-30 11:58:30 +11:00
Zuul ff179e4519 Merge "import the old onboarding presentation" 2018-03-22 18:54:08 +00:00
Zuul 90a8274526 Merge "add missing lib files for presentation" 2018-02-24 14:44:34 +00:00
Sean McGinnis 45ef980ef9 Minor cleanup of presentation
Small spelling error, and reorder of slide for timeline
flow.

Change-Id: I5f2875591c74f05d6eee587fa20615f2c9f5dbd9
2018-02-23 19:56:48 -06:00
Doug Hellmann 669e9ff1ea add missing lib files for presentation
Change-Id: Ie1dd5bc6051c60c50b60fec27748a40a2b7eb233
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-23 18:01:52 -05:00
Zuul 075124894a Merge "Add StoryBoard filter and tag tools" 2018-02-22 20:43:22 +00:00
Doug Hellmann 318bac66fa draft of presentation for rocky ptg
Change-Id: Ib5ec2f4a8f67d6c563daef2a0d2f7c4efc7bebe9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-15 15:28:35 -05:00
Doug Hellmann 2ad5ffcdc9 stub in presentation for rocky ptg
There's no real content here, yet.

Change-Id: I6e52e5169b52ef3fbb684f2935406d63b65f8cbe
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-15 15:28:35 -05:00
Doug Hellmann e7ffdb6d55 import the old onboarding presentation
This presentation originally lived at
https://github.com/dhellmann/presentation-openstack-release-team-onboarding

Change-Id: I5a29d5527e9051d1ca7fb1c984b3a4ba6e9abf34
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-15 12:37:09 -05:00
Bernard Cafarelli f4b1854b60
Add StoryBoard filter and tag tools
Based on current Launchpad scripts, these scripts allow to add a tag to
stories, filter out stories with a specific tag

Add relevant sections README

Change-Id: Ifa73a5747afaf02d606e0da5ba12cc361e77c822
2018-01-22 14:10:13 +01:00
Bernard Cafarelli ebe10351b9
bugs-fixed-since: add argument to list StoryBoard entries
If enabled, this includes StoryBoard stories in the output, with a
"storyboard:" prefix.

Example output:
$ ./bugs-fixed-since.py -sb -r ../octavia --start=1.0.0
storyboard:2001193
storyboard:2001424
1713873
storyboard:2001401
[...]

This is disabled for compatibility with other tools parsing
bugs-fixed-since output

Change-Id: Iddde675254a8622d498cab581d522bffdd7fbaae
2018-01-16 10:15:07 +01:00
Ian Wienand c2e34a5d06 Add some notes on eol_branch.sh
Change-Id: Ib5e02ce4dd72a7fa472a592bbe8103a2aa9e3627
2017-10-25 20:22:35 +11:00
Doug Hellmann 2a86407a07 do not fail on inability to find remote url
Change-Id: I83e808ea41057d6b9b4983e9f94a6dc903368496
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-19 19:30:14 -04:00
Doug Hellmann 239af90a15 fix the repo name detection when we don't have an origin set
Look at the directory we're given as the location of the code when we
can't find the repo name using the git remote.

This should only be needed until we move more metadata like the team
owner and some of these name values into the git commit message and
pass them from the tagging job to the announce job using that metadata
channel.

http://logs.openstack.org/08/08e872a2fad9734446030aa94d064049a0db371c/release/announce-release/864dea0/job-output.txt.gz#_2017-10-19_15_31_21_974136

Change-Id: I139d8177e68d2c3c2fd1e06d7dfb5baaedc220c3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-19 17:09:52 -04:00
Joshua Hesketh 9a7f57202d Fix abandoning reviews in eol_branch
The loop that was meant to abandon all open reviews for an EOL branch was
only getting the 1st one due to the way the ssh output was being read in.

Make this neater by creating an array of revisions from the query to
abandon before looping over them.

Additionally tighten the regex matching the change revision. The gerrit
query returns a lot of information, including the commit message, meaning
that any references to 'revision' in a commit message could be erroneously
matched.

Change-Id: I1dd3a94bec45aaeae9c37af1fd7b18905f0401ef
2017-09-28 18:38:16 +10:00
Joshua Hesketh f58cb68fe1 Check the gerrit remote is as expected, eol_branch
I've come across the case where .gitreview has had the incorrect remote
information for the repository (for example another projects .gitreview
has been blindly copied in). Add some basic checking to ensure the
remote looks correct or raise a warning if not.

Change-Id: I663b95656db8c5ddab08e2e4aa6514694b00a1ab
2017-09-21 10:59:41 -04:00
Joshua Hesketh dcf7ae4e37 Set up gerrit remote manually in eol_branch.sh
When a project is retired there is not .gitreview in their repository.
If we still need to EOL old branches we need to figure out the gerrit
remote. We could get this by checking out an older branch, but to keep
it simple we just assume/guess it's review.openstack.org/$project.git

Change-Id: I779783cc3f06af28f17ee36a1f0a84df29c4177d
2017-09-21 10:53:03 -04:00
Joshua Hesketh 426adf852a Fix options to allow --warn-exit in eol-branch.sh
The --warn-exit option was recently added except that the getopt
parsing wasn't appropriately updated and thus rejected the flags.

The flag also doesn't take a positional argument, so fix the argument
shifting.

Change-Id: I9671f79a969a7e5f9aaff9edaf235406d77b2da8
2017-09-20 20:54:21 +10:00
Jeremy Stanley cd98fe341b Check CI environment for project to announce
In the event that we're releasing a non-Python project or the
project otherwise lacks a usable setup.py, first attempt to infer
the project name from the $ZUUL_PROJECT environment variable if set
before falling back on assuming the project name is the same as the
name of the current working directory. This is particularly
important when running under CI systems like Zuul, which will name
the current working directory after the job rather than after the
project itself.

Change-Id: I19b51846b581c5d033b08466ca09f23b23bd5e49
2017-08-05 14:41:08 +00:00
Doug Hellmann d8432fe081 make announce.sh nicer to use by hand
Periodically when we have an announcement failure someone has to run
announce.sh by hand. This change makes that a little nicer by waiting
until after the argument validation is done to "set -x" so that the
usage message for missing arguments is printed more cleanly.

Change-Id: I2081b28315fd2272399b10e98e7bd390f6bc970e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 07:41:16 -04:00
Doug Hellmann 535b4d398b handle unicode in release announcement messages
Encode the outgoing message to UTF-8 before passing it to smtplib so
that the library doesn't try to encode it as ASCII.

http://logs.openstack.org/f8/f8063bcfb2d07eaf8057ec901d67176ba497cfbb/release/python-neutronclient-announce-release/c92213c/console.html#_2017-07-25_11_15_03_774289

Change-Id: I9cd2d33aff8741678ed19e6def6d489ea34a9628
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 07:40:26 -04:00
Joshua Hesketh 1abd80ed8f Add feature to exit on warning in eol_branch
Change-Id: Ia666a0fb5e1e2fef49bc1639a74a0ab1c63170b1
2017-07-18 22:32:55 +10:00
Joshua Hesketh 1d8e811892 Handle unknown projects in eol_branch
The script assumes you have all of openstack checked out. However
for new repos (or presumably all) we can easily clone it if we don't
have it. Clearly this is very inefficient, but it is simply how this
script works for now.

Change-Id: I0d0ab73da6d4e93172be94178652c5aa28d7dcdb
2017-07-18 22:25:12 +10:00
Joshua Hesketh 3f0acc3919 Fix a few small things with eol_branch
- exit on error
- Appropriately escape EOL message
- push full branch ref to avoid namespace conflicts (eg tags)

Change-Id: I321392e228a6990d7b903b2dd2f40a2b369ed526
2017-07-18 22:25:12 +10:00
Jenkins 17c9220d7f Merge "Using fixtures instead of deprecated mockpatch module" 2017-07-05 08:17:16 +00:00
Jenkins dc67767783 Merge "lp-tag.py: be prepared for empty lines in input" 2017-06-19 09:05:09 +00:00
Emilien Macchi 1adce5bd0a README: Rename --no_dry_run to --no-dry-run
The actual argument is --no-dry-run, let's fix it in doc.

Change-Id: Iafd2309e06db4fe28338b68c7a3e147bfa333c0c
2017-06-16 10:48:15 -04:00
Ihar Hrachyshka d15e2b8901 lp-tag.py: be prepared for empty lines in input
Change-Id: Ife608108c22c38fe9913a5ed6095d643832cbd12
2017-06-13 14:55:09 -07:00
Jenkins 5bb7cf1135 Merge "update semver module for python 3.5" 2017-06-07 23:26:06 +00:00
Davanum Srinivas 982f2b4735 Fix for missing OpenSSL headers
Change-Id: I9e56e1e5b0171f8ed4ae05c6aba36c4c733486fa
2017-06-07 16:31:33 -04:00
Doug Hellmann 3425b3ee64 update semver module for python 3.5
Python 3 does not allow comparison between integers and strings. The
semver RulesTest class includes a case where the most recent tag is an
EOL name tag, and the comparison breaks under Python 3. This patch
modifies the comparison to skip over tags that can't be compared to only
look at numerical versions.

Depends-On: I9e56e1e5b0171f8ed4ae05c6aba36c4c733486fa
Change-Id: Id9ad068a279653ffb20c60d1752e41bb0e7bc5d1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-07 20:31:03 +00:00
rajat29 09f39db48e Using fixtures instead of deprecated mockpatch module
This module mockpatch of oslotest[1] is deprecated since version 1.13
and may be removed in version 2.0. Use fixtures.Mock* classes instead[2]

[1]OpenStack Testing Framework and Utilities
[2]https://docs.openstack.org/developer/oslotest/api/oslotest.mockpatch.html#module-oslotest.mockpatch

Change-Id: I91a8593902241427296563813703009a232cf0e3
2017-05-16 13:52:28 +05:30
Doug Hellmann 287ac21f16 port release-notes command to python 3
Change-Id: Ia7414cc955c05c07ab7f86d5fb256445300c3358
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-27 11:40:23 -04:00
Doug Hellmann fb3b41c02a make default python for venv python 3
We use the venv tox target as a generic environment for running commands
defined in this repo. Let's redefine the environment to use python 3 by
default.

Change-Id: I0cf5f50b7d36f5ebb61408eefeccb702432464be
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-27 11:39:40 -04:00
Doug Hellmann dc38b51d79 remove launchpadlib from requirements list
There is no version of the library for Python 3.

Change-Id: I31fd444dde04edf4a4541128b6852f681f60f1f5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-27 11:37:17 -04:00
Doug Hellmann ffe14d7ed9 fix mail sending
Correct the logic related to parsing the server address so that the
default is not overwritten if there is no @ in the address.

Fix handling of a missing password by allowing an empty string to mean
no password was given.

Move the TO parsing out of the try/finally block so that errors in
parsing the message are not swallowed by errors when we quit a server
connection that wasn't opened properly.

Change-Id: I73a24a4d87c0f4a5aabd302d8a7d2884e5513c31
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-15 09:52:09 -04:00
Jenkins 84976ffdf3 Merge "Add support for mail servers that require a login" 2017-03-15 11:15:08 +00:00
Rui Chen 5f059b686a Add --stop option for bugs-fixed-since
Filter out all the bugs had been merged in stable branch for
a period of time, that is important for downstream team,
so that we can pick some important bugs to backport.

Change-Id: Ib5edd053ac58713e35a6c5818fe2f8fc2d31ba70
2017-03-14 14:23:41 +08:00
Tony Breeds 8dab9bad19 Add support for mail servers that require a login
When running announce.sh from my local developer workstation I cannot
connect to lisst.openstack.org.  I know my ISP filters outbound traffic
to port TCP:25 but there may be additional reasons.

This chnage enhances the --server option to allow you to provide
username, password hostname and TCP port with which to contact a mail
server.

This is not a complete solution but it makes it much easier for me to
work locally if needed.

Change-Id: I1a0f03341d1962a30c0737b59d32e8e68c28644b
2017-03-08 17:26:16 +11:00
Jenkins e998d68086 Merge "remove latest-deliverable-versions command" 2017-03-06 16:46:24 +00:00
Jenkins 458e27514e Merge "remove highest_semver.py" 2017-03-06 16:46:18 +00:00
Jenkins 2804f43a4b Merge "remove ptl command" 2017-03-06 16:46:12 +00:00
Jenkins 0691972d48 Merge "remove branching scripts" 2017-03-06 16:45:19 +00:00
Jenkins ce75ddff72 Merge "move list_stable_unreleased_changes.sh to releases repo" 2017-03-06 16:45:13 +00:00
Jenkins a682cebbc8 Merge "remove list_oslo_unreleased_changes.sh" 2017-03-06 14:39:47 +00:00