[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
Fri Mar 6 09:04:50 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047011#comment-13047011 ] 

Geoffrey De Smet commented on DROOLS-656:
-----------------------------------------

Brilliant :) Now we can sleep better at night :)

> 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.11#6341)


More information about the jboss-jira mailing list