add convenience script for finding unreleased stable branch changes
Change-Id: Idb31008f954793f8713440162410743083083db7
This commit is contained in:
parent
183de2e88e
commit
c660318bde
18
README.rst
18
README.rst
|
@ -298,6 +298,24 @@ Runs list_unreleased_changes.sh for all libraries managed by any
|
||||||
project.
|
project.
|
||||||
|
|
||||||
|
|
||||||
|
list_stable_unreleased_changes.sh
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
Runs list_unreleased_changes.sh with the given branch for all
|
||||||
|
repositories tagged with ``stable:follows-policy``.
|
||||||
|
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
./list_stable_unreleased_changes.sh stable/liberty
|
||||||
|
|
||||||
|
|
||||||
|
is equivalent to:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
./list_unreleased_changes.sh stable/liberty $(list-repos --tag stable:follows-policy)
|
||||||
|
|
||||||
make_stable_branch.sh
|
make_stable_branch.sh
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Convenience wrapper to show the unreleased changes in all projects
|
||||||
|
# claiming to have stable branches, so we don't have to remember the
|
||||||
|
# incantation.
|
||||||
|
|
||||||
|
if [[ $# -ne 1 ]]; then
|
||||||
|
echo "Usage: $(basename $0) <branch>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z "$VIRTUAL_ENV" ]]; then
|
||||||
|
tox -e venv --notest
|
||||||
|
source ./.tox/venv/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
|
repos="$(list-repos --tag stable:follows-policy)"
|
||||||
|
|
||||||
|
# NOTE(tonyb): The purpose of this script is to 'quick check' for unreleased
|
||||||
|
# changes. Without an email address release-notes will barf so set a fake
|
||||||
|
# email address if one isn't already present.
|
||||||
|
export EMAIL=${EMAIL:-noone@nowhere.com}
|
||||||
|
$(dirname $0)/list_unreleased_changes.sh $1 $repos
|
Loading…
Reference in New Issue