From 0356a73c741d3bccf403d416a4651c8bb39dc34e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C5=91d=20Ill=C3=A9s?= Date: Wed, 16 Mar 2022 20:21:59 +0100 Subject: [PATCH] Remove tag argument usage from helper scripts The TC tags framework is discontinued [1], so all references to TC tags will be invalidated once TC passes the change. This patch removes the use of '--tag stable:follows-policy' from helper scripts. [1] http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027214.html Change-Id: I30645f45c270f436605ef5024557e341a6851dce --- doc/source/reference/using.rst | 2 +- tools/list_stable_unreleased_changes.sh | 7 +++---- tools/list_unreleased_and_open_changes.sh | 9 ++++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/doc/source/reference/using.rst b/doc/source/reference/using.rst index f3887c7156..0afb08f9d6 100644 --- a/doc/source/reference/using.rst +++ b/doc/source/reference/using.rst @@ -965,7 +965,7 @@ list_stable_unreleased_changes.sh --------------------------------- Runs list_unreleased_changes.sh with the given branch for all -repositories tagged with ``stable:follows-policy``. +repositories. :: diff --git a/tools/list_stable_unreleased_changes.sh b/tools/list_stable_unreleased_changes.sh index 4676340cea..39b7b1e33d 100755 --- a/tools/list_stable_unreleased_changes.sh +++ b/tools/list_stable_unreleased_changes.sh @@ -1,7 +1,7 @@ #!/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 +# Convenience wrapper to show the unreleased changes for a stable +# $series in all projects, so we don't have to remember the # incantation. if [[ $# -ne 1 ]]; then @@ -27,7 +27,6 @@ if [[ -z "$VIRTUAL_ENV" ]]; then source $BASEDIR/.tox/venv/bin/activate fi -repos="$(list-deliverables --repos --tag stable:follows-policy \ - --series $SERIES)" +repos="$(list-deliverables --repos --series $SERIES)" $TOOLSDIR/list_unreleased_changes.sh stable/$SERIES $repos diff --git a/tools/list_unreleased_and_open_changes.sh b/tools/list_unreleased_and_open_changes.sh index 3ea611522a..8c101ab5d1 100755 --- a/tools/list_unreleased_and_open_changes.sh +++ b/tools/list_unreleased_and_open_changes.sh @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Produce files for every team that has repositories with follow-policy -# with the content of open and unreleased changes. +# Produce files for every team that has repositories with the content of +# open and unreleased changes. if [[ $# -lt 1 ]]; then echo "Usage: $(basename $0) " @@ -49,7 +49,7 @@ function get_open_patches { for team in ${OPENSTACK_TEAMS}; do echo "Checking repositories of team: ${team}" - REPOS=$(tox -e venv -- list-deliverables --tag stable:follows-policy -r \ + REPOS=$(tox -e venv -- list-deliverables --repos \ --series ${BRANCH} --team ${team} | grep "^openstack/") if [ -n "${REPOS}" ]; then @@ -61,7 +61,6 @@ for team in ${OPENSTACK_TEAMS}; do ${RESULT_DIR}/${team}.txt done else - echo " Tag stable:follows-policy not found for repositories of team " \ - "'${team}'" + echo " No repositories found for team '${team}'" fi done