--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Definitely related, selenium-tests repo lost 17+ commits after such push.
With 678 members in the jenkinsci organisation, we're probably relatively exceptional; I can't imagine GitHub have much incentive to implement the type of fine-grained force-push permissions we would need.
Plus I think even with the number of members we have, git accidents are very rare, i.e. it's likely easier to fix mistakes in git, than to maintain a big set of permissions for new and existing users/repos.
BTW, out of curiosity, how did you manage to force push such a large number of repositories at the same time? :)
| Mads Nielsen Consultant Praqma A/S Tel: +45 50 98 18 09 |
g...@github.com:jenkinsci/warnings-plugin.git
! [rejected] master -> master (non-fast-forward)
Here are the repo that fail to git push as "[rejected] master -> master (non-fast-forward)"
branch-api-plugin.git
credentials-plugin.git
deployit-plugin.git
ec2-cloud-axis-plugin.git
ec2-plugin.git
email-ext-plugin.git
flexible-publish-plugin.git
gerrit-trigger-plugin.git
git-client-plugin.git
git-plugin.git
ironmq-notifier-plugin.git
jacoco-plugin.git
jobConfigHistory-plugin.git
literate-plugin.git
maven-info-plugin.git
maven-plugin.git
perforce-plugin.git
rebuild-plugin.git
sounds-plugin.git
ssh-slaves-plugin.git
subversion-plugin.git
synergy_scm-plugin.git
testlink-plugin.git
tfs-plugin.git
transifex-plugin.git
warnings-plugin.git
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
@nicolas, I have a local clone which I last used to push a release. What do I need to do ?
Hi all,I have triggered an involuntary "forced push" last night on the list of Jenkins-CI plugins indicated below in this e-mail.My apologyI did not realise that I actually had forced push permissions and I do apologise for the inconvenience caused.The operations pushed back the all the branches to around 1 month. The history is not lost and is still on the GitHub server but on detached branches.
The solutionI can raise a request to GitHub to provide the "reflog" of those repositories and restore the branches to the point before my forced push.Alternatively the owners of those repositories can still perform a "forced push" to restore the correct position of the branches.(if you would like to do so, please write to the mailing list so that we do not overlap the recovery operations)
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
We at the #jenkins channel in IRC were just wondering what the 'recovery' branch is.
I think it makes sense to bring back 'master' to 'recovery' where it is fast-forward, but let's walk bit slowly here...
On 11/11/2013 02:27 PM, Kohsuke Kawaguchi wrote:
We at the #jenkins channel in IRC were just wondering what the
'recovery' branch is.
I think it makes sense to bring back 'master' to 'recovery' where it is
fast-forward, but let's walk bit slowly here...
I'm downloading all the affected repositories as is now and. I'd like to back them up first before attempting any further scripted edits to refs.
Once that's completed, I propose is we run "git push origin/recovery:master" on each repo. The purpose of this command is:
1. if the current 'master' (which lost some commits) can be
fast-forwarded to 'recovery', we'll do so.
2. if the current 'master' has diverged from the 'recovery',
for example because it has already been pushed or a separate
recovery was attempted, then this git-push will fail.
For repositories where 'master' didn't fast-forward to 'recovery', I'll create a list of them and we'll look at them individually. Hopefully they won't be large in numbers.
If anyone else have any thoughts about how to recover all the repositories en mass, please let us know.
2013/11/11 Luca Milanesio <luca.mi...@gmail.com
<mailto:luca.milanesio@gmail.com>>
send an email to jenkinsci-dev+unsubscribe@googlegroups.com
<mailto:jenkinsci-dev%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to jenkinsci-dev+unsubscribe@googlegroups.com
<mailto:jenkinsci-dev%2Bunsu...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
Kohsuke Kawaguchi
--
You received this message because you are subscribed to the Google
Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
Try Jenkins Enterprise, our professional version of Jenkins
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
With 678 members in the jenkinsci organisation, we're probably
relatively exceptional; I can't imagine GitHub have much incentive to
implement the type of fine-grained force-push permissions we would need.
Plus I think even with the number of members we have, git accidents are
very rare, i.e. it's likely easier to fix mistakes in git, than to
maintain a big set of permissions for new and existing users/repos.
BTW, out of curiosity, how did you manage to force push such a large
number of repositories at the same time? :)
Regards,
Chris
On 11/10/2013 10:40 PM, Luca Milanesio wrote:
> That's really pitty :-( ... force push are dangerous, especially if you
> don't have control over the Git Server.
>
> Typically recovering a force push is straightforward:
> 1. git reflog > look at the SHA-1 before the forced push
> 2. git branch -f <name> <sha-1>
>
> But if you don't have control over the Git repo on the Server, that you
> need to prevent force push to happen: unless they want everyone to buy
> GH Enterprise !
>
> I still hope GitHub will do 1. and 2. for us :-)
>
> Luca.
>
> On 10 Nov 2013, at 19:52, Marcus Bauer <mab...@gmail.com
> <mailto:mab...@gmail.com>> wrote:
>
>> Hi,
>>
>> I don't think GitHub.com <http://GitHub.com> has any possibilities for
>> disabling force pushes, this seems to be exclusive to GH Enterprise
>> <https://enterprise.github.com/help/articles/disable-force-pushes> only.
>>
>> The JaCoCo repo where I initially noticed this was restored by Dominik
>> Stadler (centic9) few minutes ago.
>>
>> Marcus
>>
>> Am Sonntag, 10. November 2013 19:55:08 UTC+1 schrieb lucamilanesio:
>>
>> Hi all,
>> I have triggered an involuntary "forced push" last night on the
>> list of Jenkins-CI plugins indicated below in this e-mail.
>>
>> *_My apology _*
>>
>> I did not realise that I actually had forced push permissions and
>> I do apologise for the inconvenience caused.
>> The operations pushed back the all the branches to around 1 month.
>> The history is not lost and is still on the GitHub server but on
>> detached branches.
>>
>> *_The solution_*
>> *_
>> _*
>> I can raise a request to GitHub to provide the "reflog" of those
>> repositories and restore the branches to the point before my
>> forced push.
>> /_Alternatively the owners of those repositories can still perform
>> a "forced push" to restore the correct position of the branches._/
>> (if you would like to do so, *_please write to the mailing list so
>> that we do not overlap the recovery operations_*)
>>
--
There are fine-grained "File and branch conditions" in mercurial-serverthat can prevent these sorts of pushes from succeeding. [1][1] http://dev.lshift.net/paul/mercurial-server/docbook.html#id1333360