Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] [platform-releng-dev] eclipse.platform.ui Git repository is operational again...

receive.denyNonFastForwards=true is a good idea.

However receive.denyDeletes=true is not. It prevents people from sharing "feature" branches in the repo and then deleting them when they are done.

At OSGi, we have a pre-receive hook which allows committers to create and delete branches matching the pattern */* (e.g hargrave/myidea) but only admins can create or delete branches w/o a /. This protects the main branches (master, next) from inadvertent deletes (unless the admin screws up :-) while allowing all the committers to share feature branches in the repo.

In any case, a branch is just a pointer to a commit. If deleted, they can easily be recreated assuming the commit has not been gc'd.

--

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the
OSGi Alliance
hargrave@xxxxxxxxxx

office: +1 386 848 1781
mobile: +1 386 848 3788






From:        Kim Moir <Kim_Moir@xxxxxxxxxx>
To:        "General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>,
Date:        2011/10/25 18:21
Subject:        Re: [eclipse-dev] [platform-releng-dev] eclipse.platform.ui Git repository is        operational again...
Sent by:        eclipse-dev-bounces@xxxxxxxxxxx




Chris A suggested on twitter to to set the following on the repo to avoid this

receive.denyDeletes and receive.denyNonFastForwards

http://progit.org/book/ch7-1.html

Kim




From:        
Deepak Azad <deepak.azad@xxxxxxxxxx>
To:        
"Eclipse platform release engineering list." <platform-releng-dev@xxxxxxxxxxx>
Cc:        
eclipse-dev@xxxxxxxxxxx, "Eclipse Platform UI component developers list." <platform-ui-dev@xxxxxxxxxxx>, E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
Date:        
10/25/2011 05:13 PM
Subject:        
Re: [eclipse-dev] [platform-releng-dev] eclipse.platform.ui Git repository is        operational again...
Sent by:        
eclipse-dev-bounces@xxxxxxxxxxx




>Please do not hesitate to approach us with questions or inquiries about
this incident.
Do you know what caused the problem in the first place ? Are there any
things that others should keep in mind so that something of this sort does
not happen again?

To be honest I was a bit surprised that deleting branches was so 'easy'
with Git. Is it possible to disable this on git.eclipse.org especially for
master and maintenance branches?

Deepak



From:                 Remy Suen <remysuen@xxxxxxxxxx>
To:                 "Eclipse platform release engineering list."
          <platform-releng-dev@xxxxxxxxxxx>, "Eclipse Platform UI
          component developers list." <platform-ui-dev@xxxxxxxxxxx>, E4
          Project developer mailing list <e4-dev@xxxxxxxxxxx>,
          eclipse-dev@xxxxxxxxxxx
Date:                 10/25/2011 09:14 PM
Subject:                 [platform-releng-dev] eclipse.platform.ui Git repository is
          operational again...
Sent by:                 platform-releng-dev-bounces@xxxxxxxxxxx



The UI team is now declaring that the eclipse.platform.ui Git repository
has been restored and is up and operational again.

You can now resume fetching/pulling as desired. Pushing is okay too...but
given that it is milestone week (and today is a test day), please do not
push anything to R3_development or R4_development unless you have discussed
the matter with Paul.

Once again, we would like to express our apologies for holding everyone up.
Please do not hesitate to approach us with questions or inquiries about
this incident.

Regards,
Remy

----------
Remy Suen
Eclipse Platform/UI Committer
IBM Ottawa
1-613-356-5162_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/platform-releng-dev


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/eclipse-dev

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top