The extra info just clutters up the report output.
Change-Id: I4ba29f240ac625a299ff538931ef394d31bd43b5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
In update_upper_constraints the sed substitution matches on a ' ' char after
the UPPER_CONSTRAINTS_FILE consumes. This creates bad changes such as [1].
Compare the manual correction at [2].
I know that make_stable_branches is being moved to project-config but
the shell function remains in release-tools so shoudl be fixed.
[1] https://review.openstack.org/#/c/364973/1/tox.ini@17
[2] https://review.openstack.org/#/c/364973/1..2/tox.ini,unified
Change-Id: I373612254fa7b4afdce0b76a98ad3a88d1f77911
The danger here is that if the branch doesn't exisit and the review
merges the new branch or $project will be unconstrained and therefore
testing is somewhat voided.
We need to manage that externally to this process
Change-Id: Iae6aefefcd6b7e96d15bd5d373ae439e4fe80daf
zuul-cloner may be using an out of date cache, and may have pointed
originally at a repo on a zuul merger that doesn't have all tags. Force
an update of all remotes and fetch all tags to make sure they are
present before we start trying to add any new ones.
Change-Id: I29cdae3ff8195e4b7e35ac486429394f17919bff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Silence some of the output so the total length of the output log is
short enough to fit in a pastebin.
Change-Id: Ie552472b68f1bce64be03aaf28d46fbd45bcdf7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
If the .gitreview file happens to have a defaultbranch line, strip it
and replace it with the new value.
Change-Id: I0252d1f39c0909c4323764ab1bc2d6256f8d9df6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Sometimes it is necessary to turn off the automatic cleanup
function. This change makes the temporary directory created stand out
more in those cases so it is easier to clean them up by hand.
Change-Id: I37e4125cb562cfeea6febd1da916e4b23726147e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
After the tag is pushed, we don't want to die with an error if we can't
update the bug reports, so turn off the -e shell flag.
We have to check for the previous tag before we add the new one, because
the logic for finding the last tag assumes the new one is not there yet.
Change-Id: If2ac25b8bd96e4e0c5b90016a3c40d43733ab849
The ironic-python-agent repo and launchpad name are the same, but the
conversion script tries to strip the python- part out of the middle.
Change the pattern so it only removes python- if it is a prefix in the
name.
Change-Id: I5c2f4c4c86e0f2e5528efd28f2c46e10ca7f74f6
It turns out git describe will just give us the most recent tag, so use
that instead of trying to recreate it.
Change-Id: If6035d5b931cf646031be4068608a85184b681cc
Rather than calling "git clone" directly, use zuul-cloner. This will
allow users with slow connections to set up local cache directories to
use as the source of the clone.
Change-Id: I1788531fec8a9bfd9ed3ca867156ef9e3aefc762
The output of some of the commands, especially building the list of
unrelease changes, needs to be easy to pass to pastebinit. When we're
writing to a pipe, don't use tput to send special control sequences.
Change-Id: I4c8a4ffd08f362c16bbfd5ca9a47996b4f31f321
Add a script for creating feature branches.
Move the code for updating the .gitreview file of a branch to a function
that can be reused by make_library_stable_branch.sh and the new
make_feature_branch.sh.
Change-Id: Ic40df4de12380dacb97dd606a30edfdbbe4196a8
I run the release tools directly on my laptop in order to have the
launchpad authentication work properly, and OS X uses a different
version of sed than Linux. This patch makes the extended regex stuff
work properly on both platforms.
Change-Id: Id417c7178044dc7d16a347716a73a790bd4cb6e8
Go ahead and print the release notes for the current release in a form
that can be copied and pasted into an email message.
Change-Id: I115e2ddd1b35a97c1fd12e9e37a18431cbaa9c1b
Move the shell function for retrieving the last tag in a repository into
the functions file where we can share it.
Change-Id: Ia06b7954d7ec0e0cfe27e3529402cd03473dd53f
python-keystoneclient-kerberos did not match the old pattern, so we were
trying to release from a repository that does not exist.
Change-Id: If9dcc4c4352b702e24149e0c31aa0b80a46fac80
Libraries do not use proposed branches, and go directly to creating
stable branches using a pre-tagged release version. This new script
makes that easy to coordinate and ensures that the desired version also
exists in launchpad as a released milestone.
The new script also uses some logic that was present in
release_library.sh, so refactor that to start a library of functions for
shell scripts to share.
Change-Id: I04de68be189944eb5f611ca43f452d6bd3ba911d