Skip to content

Fix regression in writing authorized principals (#36213)#36218

Merged
silverwind merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36213-v1.25
Dec 20, 2025
Merged

Fix regression in writing authorized principals (#36213)#36218
silverwind merged 1 commit intogo-gitea:release/v1.25from
GiteaBot:backport-36213-v1.25

Conversation

@GiteaBot
Copy link
Copy Markdown
Collaborator

@GiteaBot GiteaBot commented Dec 20, 2025

Backport #36213 by peterverraedt

Fixes: #36212

Add additional logic with tests to restore the
previous behaviour when writing the principals file.

Fixes: go-gitea#36212

---------

Signed-off-by: Peter Verraedt <peter.verraedt@kuleuven.be>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@GiteaBot GiteaBot added modifies/go Pull requests that update Go code type/bug labels Dec 20, 2025
@GiteaBot GiteaBot added this to the 1.25.4 milestone Dec 20, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 20, 2025
@GiteaBot GiteaBot requested review from lunny and wxiaoguang December 20, 2025 01:30
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 20, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 20, 2025
@silverwind silverwind enabled auto-merge (squash) December 20, 2025 01:38
@silverwind silverwind merged commit e147a82 into go-gitea:release/v1.25 Dec 20, 2025
26 checks passed
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants