Commit d2eda86a authored by intrigeri's avatar intrigeri
Browse files

Merge branch 'contribute/17837-rm-tw-metadata' into 'master'

Document metadata for Technical Writing issue

See merge request !133
parents 3fa6a296 5415227a
...@@ -1722,25 +1722,30 @@ Skip this part if preparing a release candidate. ...@@ -1722,25 +1722,30 @@ Skip this part if preparing a release candidate.
desc="*Hole in the Roof* milestone"]] to a date between the next desc="*Hole in the Roof* milestone"]] to a date between the next
2 releases 2 releases
### Tickets linked from the website ### Issues linked from the website
Go through the issues linked from the documentation and support sections of the 1. Go through the issues linked from the documentation and support sections of the
website and point our lead technical writer (sajolida) to those that might website to identify the issues that might
be resolved in this release. be resolved in this release.
cd "${MASTER_CHECKOUT:?}" && \ cd "${MASTER_CHECKOUT:?}" && \
find wiki/src/{doc,support} ! -path wiki/src/support/known_issues/graphics.mdwn -name "*.mdwn" -o -name "*.html" | xargs cat | \ 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+)[^\]]*\]\]/)' | \ ruby -e 'puts STDIN.read.scan(/\[\[!tails_ticket\s+(\d+)[^\]]*\]\]/)' | \
while read ticket; do while read ticket; do
ticket_status="$(python-gitlab --gitlab TailsRM -o json --fields state project-issue get --project-id 2 --iid "$ticket" | jq --raw-output .state)" ticket_status="$(python-gitlab --gitlab TailsRM -o json --fields state project-issue get --project-id 2 --iid "$ticket" | jq --raw-output .state)"
if [ -z "${ticket_status:-}" ]; then if [ -z "${ticket_status:-}" ]; then
echo "Failed to find the status of #${ticket:?}" >&2 echo "Failed to find the status of #${ticket:?}" >&2
continue continue
fi fi
if [ "${ticket_status:?}" = "closed" ]; then 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:?}" 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 fi
done done
2. Create a GitLab issue to list them.
Title: *“Issues linked from the website” for Tails $VERSION*
Labels: *Core Work:Technical writing* and *To Do*
Twitter Twitter
------- -------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment