Closed Bug 962865 Opened 10 years ago Closed 8 years ago

vcs-sync git -> git support

Categories

(Developer Services :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mozilla, Unassigned)

References

Details

This should hopefully be straightforward.  I think the clone/pull have specific commandline arguments to avoid pulling in the github-isms, but other than that it's a clone of a git repository and a push to another git repository without any conversion.

I would love to see this be part of the same script http://hg.mozilla.org/build/mozharness/file/1ca6ffbe37e3/scripts/vcs-sync/vcs_sync.py but wouldn't block on it if that poses large hurdles.
Blocks: 962866
git-remote's add command has a useful flag to setup a remote for mirroring:

git remote add --mirror=fetch source
git remote add --mirror=push dest

Will setup your git config such that you can sync the two with:

git fetch source
git push dest
Cool.  I think this, along with bug 962867, will largely be a port of Hal's legacy workflow, since that's already tried and tested in production.
Component: Tools → General
Product: Release Engineering → Developer Services
QA Contact: hwine
vcs-sync is largely dead, other than gecko-dev.  Also, the git->git replication was needed for git.m.o <-> github, and git.m.o is dead.  RESO INCOMPLETE
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.