-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Protected branches system #32
Comments
Please don't prefix the issue with |
I think this need a proposal to describe it. |
@lunny Agreed. I've looked into this issue before, and it requires a rewrite of how GitHooks are currently Exposed. Reference: gogs/gogs#776 (comment) |
@DblK "proposal" proposed process is here https://github.com/go-gitea/proposals/pull/1 |
+1 without protected branches system, Gitea will be not ready for a corporate environment where is not acceptable to ask at each developers to use the "fork and pull request" flow. |
Before we can start protected branch, we have to finish the dependent features first:
Implement every one feature will not result many commits, so we can do it step by step. |
+1 desperately in need for this. |
@lunny no need for all that, just a simple As for status check, that would be fairly simple to implement really (if one does as GitHub API does) |
#339 is the first part merged for this issue, so let's move it to v1.2. |
Only thing stopping us moving to gitea now. |
@exp10r3r Do you have any golang devs that could help? |
@ptman Unfortunately, no. More than 50% from NodeJS, 10% php and the rest html/css. @lunny I know, and I have been following development since you guys forked and personally using it since last 15 days. Anyways, a good branch protection scheme will go a long way in increasing gitea's value proposition. |
Even implementing this would go along a long way. |
Now that we have protected branches and whitelisting, what would it take to add status checks similar to: https://help.github.com/articles/enabling-required-status-checks/ |
@svarlamov yes, we need only 1 PR to show the status check on PR UI since all data have been ready. |
I think this issue has been resolved. |
One missing feature from gogs is a way to protect branches like Github does.
After the completion of the API implementation, we could easily add application like Drone to check the PR.
The UI need to be changed to add options to protect branches like this:
I suggest to add some columns in table (don't know how many yet) to store those options.
The "Merge" button from a PR should be activated is the conditions are not matched.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: