915a9a9d33
Simplify the instructions by providing a special script and then update the instructions to refer to it. Change-Id: Ibbcd422c06dc4aeb3df503f3c0f084b39d3bf0f7 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
31 lines
978 B
Bash
Executable File
31 lines
978 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Convenience wrapper to show the unreleased changes in cycle-with-rc
|
|
# projects that have not yet been released. This is typically used
|
|
# after the first RC is cut to look for updates that need to be
|
|
# released.
|
|
|
|
TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
BASEDIR=$(dirname $TOOLSDIR)
|
|
source $TOOLSDIR/functions
|
|
|
|
if [[ -z "$VIRTUAL_ENV" ]]; then
|
|
if [[ ! -d $BASEDIR/.tox/venv ]]; then
|
|
(cd $BASEDIR && tox -e venv --notest)
|
|
fi
|
|
source $BASEDIR/.tox/venv/bin/activate
|
|
fi
|
|
|
|
# Figure out the current series from the releases directory.
|
|
current_series=$(python -c 'import openstack_releases.defaults; \
|
|
print(openstack_releases.defaults.RELEASE)')
|
|
if [ -z "$current_series" ]; then
|
|
echo "Could not determine the current release series."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Finding repos in the current series..."
|
|
repos=$(list-deliverables --model cycle-with-rc -r)
|
|
|
|
${TOOLSDIR}/list_unreleased_changes.sh stable/${current_series} ${repos}
|