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
This commit is contained in:
Előd Illés 2022-03-16 20:21:59 +01:00
parent 8256ddf1a0
commit 0356a73c74
3 changed files with 8 additions and 10 deletions

View File

@ -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.
::

View File

@ -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

View File

@ -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) <branch>"
@ -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