Conversation
e0db514 to
1380cf5
Compare
1380cf5 to
afff053
Compare
Adds functionality to enable immutable GitHub releases using a new feature configuration: ```yaml github: # Default is false. immutable_releases: true|false ``` Fixes apache#83
afff053 to
16681a3
Compare
jbonofre
left a comment
There was a problem hiding this comment.
That's cool !
Maybe we would consider to enable it by default, but some projects might be "surprised".
|
IMHO immutable releases should be the default. I'm just not sure whether that could break existing "moving tags" use cases like for GitHub actions Maybe it can become the default after a "heads up" email saying that "immutable releases" will become the default on some day X? |
|
Yeah, that's a good point, and also my question. Is it a way to do a check on projects without changing the flag ? I guess not. |
|
Ah, you remind me that there is at least Arrow who have "immutable releases" enabled manually via an ASF Infra. |
Then they can just disable it, right? |
|
Actually, I was right with Arrow INFRA-27392 |
|
Pinged dev@pekko and dev@arrow ML about this PR. |
|
Nice, thanks for pinging the arrow dev ML. I requested it initially there. This is great! As per the default just in case this is relevant it would have broken our workflow if enabled without notice as we had to change to have our Release candidates (pre-releases) to be in draft mode so we could append new artifacts (binaries) while those are being generated. Based on our process those are created after source which is initially uploaded to the draft. Draft releases are not immutable and allow for adding more artifacts. Once we have uploaded all artifacts we remove the draft mode to make the Release Candidate also immutable. Do we have to update |
IIUC (I'm rather a Python noob) I think the answer is after this PR is being merged, because |
|
Thanks @snazy ! No worries, I've subscribed and will act promptly once I see this being merged! Thanks for doing this! |
Adds functionality to enable immutable GitHub releases using a new feature configuration:
Fixes #83