73d6e8b1a0
This updates the instructions for client and non-client lib freeze to make sure all changes are captured in a final release. Also adds a helper tool to separate out the two types of libs since they have different deadlines. Change-Id: I29ea73bcc5a9649d7d9c502ebc0a05c840e41484 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
38 lines
1.1 KiB
Bash
Executable File
38 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Convenience wrapper to show the unreleased changes in all
|
|
# libraries, so we don't have to remember the incantation.
|
|
|
|
if [[ $# -gt 1 ]]; then
|
|
echo "Usage: $(basename $0) <branch>"
|
|
exit 1
|
|
fi
|
|
|
|
BRANCH=${1:-master}
|
|
if [ "$BRANCH" = "master" ]; then
|
|
SERIES=$(ls -1 deliverables | sort | tail -n 1)
|
|
else
|
|
SERIES=$(basename $BRANCH)
|
|
fi
|
|
|
|
TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
BASEDIR=$(dirname $TOOLSDIR)
|
|
source $TOOLSDIR/functions
|
|
|
|
# Set up the virtualenv where the list-deliverables command will be
|
|
# found. This is done outside of the invocation below because
|
|
# otherwise we get the tox output mixed up in the repo list output and
|
|
# try to do things like look at the history of "venv" and
|
|
# "installing".
|
|
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
|
|
|
|
echo "Finding $SERIES library repositories..."
|
|
repos=$(list-deliverables --repos --type client-library --series $SERIES)
|
|
|
|
$TOOLSDIR/list_unreleased_changes.sh $BRANCH $repos
|