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

Remove trust model selection from repository creation on web page because it can be changed in settings later #28814

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

lunny
Copy link
Member

@lunny lunny commented Jan 16, 2024

As more and more options can be set for creating the repository, I don't think we should put all of them into the creation web page which will make things look complicated and confusing.

And I think we need some rules about how to decide which should/should not be put in creating a repository page. One rule I can imagine is if this option can be changed later and it's not a MUST on the creation, then it can be removed on the page. So I found trust model is the first one.

This PR removed the trust model selections on creating a repository web page and kept others as before.
This is also a preparation for #23894 which will add a choice about SHA1 or SHA256 that cannot be changed once the repository created.

@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Jan 16, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 16, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 16, 2024
@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 Jan 16, 2024
@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 16, 2024
@delvh
Copy link
Member

delvh commented Jan 16, 2024

That was long overdue.
That setting was pretty confusing for a new user setting up their first repo.

@delvh delvh added topic/ui-interaction Change the process how users use Gitea instead of the visual appearance reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. type/deprecation Previously provided functionality is removed and removed topic/ui Change the appearance of the Gitea UI labels Jan 16, 2024
@lunny lunny merged commit c08d263 into go-gitea:main Jan 16, 2024
25 checks passed
@GiteaBot GiteaBot added this to the 1.22.0 milestone Jan 16, 2024
@lunny lunny deleted the lunny/remove_trust_create_repo branch January 16, 2024 12:54
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jan 16, 2024
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jan 17, 2024
* giteaofficial/main:
  Retarget depending pulls when the parent branch is deleted (go-gitea#28686)
  Bump `@github/relative-time-element` to 4.3.1 (go-gitea#28819)
  Fix reverting a merge commit failing (go-gitea#28794)
  Render code block in activity tab (go-gitea#28816)
  Remove trust model selection from repository creation on web page because it can be changed in settings later (go-gitea#28814)
fuxiaohei pushed a commit to fuxiaohei/gitea that referenced this pull request Jan 17, 2024
…ause it can be changed in settings later (go-gitea#28814)

As more and more options can be set for creating the repository, I don't
think we should put all of them into the creation web page which will
make things look complicated and confusing.

And I think we need some rules about how to decide which should/should
not be put in creating a repository page. One rule I can imagine is if
this option can be changed later and it's not a MUST on the creation,
then it can be removed on the page. So I found trust model is the first
one.

This PR removed the trust model selections on creating a repository web
page and kept others as before.
This is also a preparation for go-gitea#23894 which will add a choice about SHA1
or SHA256 that cannot be changed once the repository created.
henrygoodman pushed a commit to henrygoodman/gitea that referenced this pull request Jan 31, 2024
…ause it can be changed in settings later (go-gitea#28814)

As more and more options can be set for creating the repository, I don't
think we should put all of them into the creation web page which will
make things look complicated and confusing.

And I think we need some rules about how to decide which should/should
not be put in creating a repository page. One rule I can imagine is if
this option can be changed later and it's not a MUST on the creation,
then it can be removed on the page. So I found trust model is the first
one.

This PR removed the trust model selections on creating a repository web
page and kept others as before.
This is also a preparation for go-gitea#23894 which will add a choice about SHA1
or SHA256 that cannot be changed once the repository created.
silverwind pushed a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
…ause it can be changed in settings later (go-gitea#28814)

As more and more options can be set for creating the repository, I don't
think we should put all of them into the creation web page which will
make things look complicated and confusing.

And I think we need some rules about how to decide which should/should
not be put in creating a repository page. One rule I can imagine is if
this option can be changed later and it's not a MUST on the creation,
then it can be removed on the page. So I found trust model is the first
one.

This PR removed the trust model selections on creating a repository web
page and kept others as before.
This is also a preparation for go-gitea#23894 which will add a choice about SHA1
or SHA256 that cannot be changed once the repository created.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2024
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. topic/ui-interaction Change the process how users use Gitea instead of the visual appearance type/deprecation Previously provided functionality is removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants