Learn more about these different git repos.
Other Git URLs
Just wondering if we should allow users with commit access to be able to fork a project -- this would allow users that also have commit access to use the same fork, PR workflow that everyone else uses, without messing up the main repo of a project with development branches.
I have always approached this as: if you have commit, create to a new branch and do PR from a branch to another in the main project.
Maybe this could be revisited.
This was just confusing to me... I kept looking for the fork button and couldn't find it (I had commit on the project).
Seems like being able to fork/do PR's the same way as everyone else would be better to me, then there's no confusing branches around in the main project.
@ryanlerch, want to do the UI change for this?
I'll take care of the backend changes if you want.
So do we want this to be a blanket change? i.e. all repos now can be forked by all users?
Or do we want a setting for people to turn this on by a per-repo basis? I'm leaning towards not having another setting.
This shouldnt be too hard to fix, TBH, as i know it kinda works already (in the example of me an pagure -- i have commit access to pagure, but didnt before when i forked it.)
So it is really removing the conditionals on when we show the fork button to people.
I think the easiest is to do: everyone can fork for all the project, not on a per repo basis.
Submitted a PR for this: https://pagure.io/pagure/pull-request/834
Fixed by @ryanlerch in the PR mentioned above :)
Login to comment on this ticket.