Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change initial TrustModel to committer #18335

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

zeripath
Copy link
Contributor

The current default trustmodel for gitea is the collaborator model. This is not GitHub
compatible by default. Now changing the nil default model committer would be a breaking
change and could cause commits to become unverified. Therefore we should change the
install default to committer so that new users have the github default model and
later make a breaking change to set the default to committer.

Related #18328

Signed-off-by: Andrew Thornton [email protected]

The current default trustmodel for gitea is the collaborator model. This is not GitHub
compatible by default. Now changing the nil default model committer would be a breaking
change and could cause commits to become unverified. Therefore we should change the
install default to committer so that new users have the github default model and
later make a breaking change to set the default to committer.

Related go-gitea#18328

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added the pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! label Jan 19, 2022
@zeripath zeripath added this to the 1.17.0 milestone Jan 19, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 20, 2022
@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 Jan 20, 2022
@techknowlogick techknowlogick merged commit 7427b81 into go-gitea:main Jan 20, 2022
zjjhot pushed a commit to zjjhot/gitea that referenced this pull request Jan 20, 2022
* 'main' of https://github.com/go-gitea/gitea:
  Change initial TrustModel to committer (go-gitea#18335)
  refactor httplib (go-gitea#18338)
  Propagate context and ensure git commands run in request context (go-gitea#17868)
  Upgrade Alpine from 3.13 to 3.15 (go-gitea#18050)
  [skip ci] Updated translations via Crowdin
  Stop trimming preceding and suffixing spaces from editor filenames (go-gitea#18334)
  [skip ci] Updated translations via Crowdin
  Left-Align text in Unicode warning boxes (go-gitea#18331)
  Only warn on bidi but still escape non-bidi (go-gitea#18333)
  Fix incorrect OAuth message (go-gitea#18332)
  [skip ci] Updated translations via Crowdin
  Changelog for 1.16.0-rc1 (go-gitea#18309)
@zeripath zeripath deleted the change-initial-trust-model branch January 20, 2022 06:48
@zeripath zeripath mentioned this pull request Jan 20, 2022
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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. pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants