Merge "Comply with Policy for AI Generated Content"

This commit is contained in:
Zuul
2025-07-03 13:53:39 +00:00
committed by Gerrit Code Review
5 changed files with 11 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ for PROJECT in $PROJECTS; do
pushd $PROJECT_DIR
if ! git diff --stat --exit-code HEAD ; then
# Commit and review
git_args="-a -F- -s"
git_args="-a -F- -s --trailer='Generated-By:openstack/project-config:playbooks/proposal/propose_update.sh'"
git commit $git_args <<EOF
$COMMIT_MSG
EOF

View File

@@ -69,6 +69,7 @@ spaces=$(grep unreleased releasenotes/source/index.rst | sed -e 's/\w//g')
sed --in-place -e "/unreleased/s/unreleased/unreleased\n${spaces}${SERIES}/" releasenotes/source/index.rst
git add releasenotes/source/index.rst releasenotes/source/${SERIES}.rst
git diff
git commit -m "$commit_msg" -s
git commit -m "$commit_msg" -s \
--trailer="Generated-By:openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh"
git show
git review -t "reno-${SERIES}" --yes

View File

@@ -45,6 +45,7 @@ unmaintained/${SERIES}.
sed --in-place -e "s/stable\/${SERIES}/unmaintained\/${SERIES}/" releasenotes/source/${SERIES}.rst
git add releasenotes/source/${SERIES}.rst
git diff
git commit -m "$commit_msg" -s
git commit -m "$commit_msg" -s \
--trailer="Generated-By:openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/change_reno_branch_to_unmaintained.sh"
git show
git review -t "reno-eom-${SERIES}" --yes

View File

@@ -66,7 +66,8 @@ function update_gitreview {
defaultbranch=$branch"
echo "$grcontents" > .gitreview
git add .gitreview
git commit -m "Update .gitreview for $branch" -s
git commit -m "Update .gitreview for $branch" -s \
--trailer="Generated-By:openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/functions"
git show
local shortbranch=$(basename $branch)
git review -t "create-${shortbranch}" --yes
@@ -110,7 +111,8 @@ the requirements repository branches.
Until the requirements repository has as $branch branch, tests will
continue to use the upper-constraints list on master."
git commit -m "$msg" -m "$body" -s
git commit -m "$msg" -m "$body" -s \
--trailer="Generated-By:openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/functions"
git show
local shortbranch=$(basename $branch)
git review -t "create-${shortbranch}" --yes

View File

@@ -125,7 +125,8 @@ else
if git commit -a -m "update constraint for $dist_name to new release $VERSION
$TAG_META
" -s; then
" -s --trailer="Generated-By:openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh"
then
echo "Sleeping 10 minutes to avoid issues with the pypi cache"
sleep 600
git show