[jboss-jira] [JBoss JIRA] (DROOLS-656) The blessed repo's should not accept a git force push
Geoffrey De Smet (JIRA)
issues at jboss.org
Thu Nov 27 10:51:39 EST 2014
[ https://issues.jboss.org/browse/DROOLS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023649#comment-13023649 ]
Geoffrey De Smet commented on DROOLS-656:
-----------------------------------------
Might not be possible on GitHub yet:
http://stackoverflow.com/questions/13016119/how-to-set-the-receive-denynonfastforwards-on-a-repository-in-github
> The blessed repo's should not accept a git force push
> -----------------------------------------------------
>
> Key: DROOLS-656
> URL: https://issues.jboss.org/browse/DROOLS-656
> Project: Drools
> Issue Type: Task
> Reporter: Geoffrey De Smet
> Assignee: Michael Biarnes Kiefer
> Priority: Critical
>
> If someone ever git forces pushes to a blessed repo all hell will break loose.
> We can prevent git forces pushes, as explained here:
> http://stackoverflow.com/questions/1754491/is-there-a-way-to-configure-git-repository-to-reject-git-push-force
> Force pushing on blessed repo's is very bad, but force pushing on forks is very common.
> Requirements:
> - Enable this on 1 new dummy blessed repository
> - Prove you cannot force push to
> - Prove you can fork it and force push to your fork.
> - Delete the dummy blessed repository
> - If that works well, enable it on the real blessed repositories
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list