Automate creating a group of security task issues
Currently, when we're preparing a security release, we have to do the following (all manually):
- Create a meta issue using an issue template (example: https://gitlab.com/gitlab-org/gitlab-ce/issues/57163)
- Determine the next patch release for three monthly versions
- Create task issues for the three patch versions
- Link them back to the meta issue
I think we can automate the last three:
- We can fetch the latest ~50 versions from version.gitlab.com's API, sort them, group them by minor version (
X.Y
), take the highest three, and then increment each of their patch numbers by one. I've already got a spike of this working. - Pass each of those versions to release-tool's
security_patch_issue
task. - Link them as related to the meta issue, as we already do for non-security patch issues back to the monthly issue.