[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
Wed Nov 26 09:06:40 EST 2014
[ https://issues.jboss.org/browse/DROOLS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated DROOLS-656:
------------------------------------
Description:
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
was:
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
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
> 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