Release process: 404 when checking tickets that might be closed
I've seen this both on Stretch with a frankenstein gitlab-cli
/python3-gitlab
couple of packages installed from Buster, and in a plain Buster chroot, so I don't think it's a setup-related problem. I did set up credentials in ~/.python-gitlab.cfg
and I would expect something different in case of permission-related errors anyway:
(buster-amd64-devel)kibi@armor:~/work/clients/tails/master-checkout.git$ cd "${MASTER_CHECKOUT:?}" && \
> find wiki/src/{doc,support} ! -path wiki/src/support/known_issues/graphics.mdwn -name "*.mdwn" -o -name "*.html" | xargs cat | \
> ruby -e 'puts STDIN.read.scan(/\[\[!tails_ticket\s+(\d+)[^\]]*\]\]/)' | \
> while read ticket; do
> ticket_status="$(python-gitlab --gitlab Tails -o json --fields state project-issue get --project-id 1 --iid "$ticket" | jq --raw-output .state)"
> if [ -z "${ticket_status:-}" ]; then
> echo "Failed to find the status of #${ticket:?}" >&2
> continue
> fi
> if [ "${ticket_status:?}" = "closed" ]; then
> echo "It seems issue #${ticket:?} has been fixed. Please find all instances on the website and adjust them as needed. Ticket URL: https://gitlab.tails.boum.org/tails/tails/-/issues/${ticket:?}"
> fi
> done
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #17474
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5501
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5461
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #7148
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5979
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #6064
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5858
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5688
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #9563
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #6284
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #17183
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #5356
Impossible to get object (404: 404 Project Not Found)
Failed to find the status of #10576
Tentatively assigning to @intrigeri as part of the GitLab migration process.