We can't get any post receive hooks in at ASF, hence the need to do this ourselves. I'll try the --mirror thing, but I don't think that'll work.
I'm wary of a CB job because we then have to put the deploy key into the job, which is very not ideal. If we had a Jenkins setup with static slaves, ones we could keep a key on permanently, that'd be different, but as of now, we don't. A. On May 11, 2013, at 12:26 PM, Ignasi <[email protected]> wrote: > Maybe if we recreate the repos with the --mirror option [1] itis then > properly shown as a mirror. > > Regarding synchronization, if possible it would be cleaner and better to > setup a server side git hook [2] to push the changes to the mirror in the > 'post-receive' stage. > > [1] https://help.github.com/articles/importing-an-external-git-repository > [2] http://git-scm.com/book/ch7-3.html > El 11/05/2013 21:12, "Adrian Cole" <[email protected]> escribió: > >> Couldn't we just setup a scheduled job on cloudbees? Maybe I'm >> oversimplifying... >> >> On Saturday, May 11, 2013, Andrew Bayer wrote: >> >>> Hrm. Looks like Deltacloud is handling their repos in their org >>> differently than the github.com/apache ones - the latter say "mirrored >>> from...", the former don't. So I'm guessing they're pushing to the repo >>> themselves. That's a perfectly viable option - we would just need a box >>> somewhere that we could run a cronjob on to do the mirroring. I just >> don't >>> feel comfortable setting that up on a box here at Cloudera (due to lack >> of >>> visibility/access for anyone but me) or on a VM I set up somewhere, since >>> then it's dependent on my account etc... In the absence of any better >>> option in the near term, I'll go with the VM, but yeah, that doesn't feel >>> like the right move long term. >>> >>> A, >>> >>> >>> >>> On May 11, 2013, at 11:14 AM, David Nalley <[email protected]<javascript:;>> >>> wrote: >>> >>>> On Sat, May 11, 2013 at 2:13 AM, Andrew Bayer <[email protected] >> <javascript:;>> >>> wrote: >>>>> So I may be missing something, but there isn't a way to do this >>> automatically, without an update script we own running on some box we >>> control, is there? >>>>> >>>> >>>> Yes - this is how infra mirrors to github.com/apache/* and I have to >>>> imagine how deltacloud does as well, though I am not sure how that >>>> really happens. >>>> >>>> --David >>> >>
