The Wayback Machine - https://web.archive.org/web/20220801044017/https://github.com/go-gitea/gitea/pull/18335
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

@zeripath zeripath commented Jan 19, 2022

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 this to the 1.17.0 milestone Jan 19, 2022
lunny
lunny approved these changes Jan 20, 2022
@techknowlogick techknowlogick merged commit 7427b81 into go-gitea:main Jan 20, 2022
1 check passed
zjjhot pushed a commit to zjjhot/gitea that referenced this issue 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 Jan 20, 2022
@zeripath zeripath mentioned this pull request Jan 20, 2022
Chianina pushed a commit to Chianina/gitea that referenced this issue 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.
Development

Successfully merging this pull request may close these issues.

None yet

4 participants