[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 02:38:49 EST 2015


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

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

mbiarnes, would you mind creating a new repo under droolsjbpm, push some stuff to it and then force push some more stuff to it? That will answer the question above.

Note: We can't on existing repo's without potentially breaking them which is not an option.

> 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