I would like to report that thanks to asfinfra, github tag protection rules (see https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules) has been setup which means git tags that are pushed to Pekko's github repositories are now immutable as long as they follow our version pattern (i.e. v.*.*.*).
What is meant by immutable is that Pekko committers can push git tags directly onto the Pekko github repositories but once a tag matching the version pattern has been pushed, it cannot be edited or deleted unless you are an admin (which in the context of Apache means asfinfra and would be considered an exceptional circumstance). Below is a short snippet demonstrating this <@incubator-pekko>-<⎇ main>-<*>-> git push upstream v0.0.0 Enumerating objects: 1, done. Counting objects: 100% (1/1), done. Writing objects: 100% (1/1), 164 bytes | 164.00 KiB/s, done. Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 To github.com:apache/incubator-pekko.git * [new tag] v0.0.0 -> v0.0.0 <@incubator-pekko>-<⎇ main>-<*>-> git push --delete upstream v0.0.0 remote: error: GH006: Protected tag update failed for refs/tags/v0.0.0. remote: error: You're not authorized to delete a protected tag To github.com:apache/incubator-pekko.git ! [remote rejected] v0.0.0 (protected tag hook declined) error: failed to push some refs to 'github.com:apache/incubator-pekko.git' <@incubator-pekko>-<⎇ main>-<*>-1-> This feature is intended to be useful as part of the release process done by release managers so that we can state with confidence that tags pointing to a release are not altered. For more information see https://issues.apache.org/jira/browse/INFRA-24644?focusedCommentId=17726630&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17726630 and https://github.com/apache/incubator-pekko/issues/342 Regards -- Matthew de Detrich *Aiven Deutschland GmbH* Immanuelkirchstraße 26, 10405 Berlin Amtsgericht Charlottenburg, HRB 209739 B Geschäftsführer: Oskari Saarenmaa & Hannu Valtonen *m:* +491603708037 *w:* aiven.io *e:* [email protected]
