Le 19/07/13 19:40, Ori Livneh a écrit :
In ~/.gitconfig, add:
[url "ssh://your_username@gerrit.wikimedia.org:29418/mediawiki/extensions/"] insteadOf = "ext:"
Now you can:
git clone ext:UploadWizard
Oh my god I should read the doc. Tip variant:
[url "ssh://gerrit.wikimedia.org:29418/"] insteadOf = "wmf:" [url "ssh://review.openstack.org:29418/openstack-infra/"] insteadOf = "infra:" ...
git clone wmf:operations/puppet git clone infra:zuul
Adopted! Thank you Ori :-]
------[hijacking]------------------------------------------------------
Hijacking the thread, I wrote a basic python script that let you easily clone assuming you get all your clones under ~/project :
cd ~/projects/mediawiki git gerritclone extensions/AbuseFilter # cloned under extensions/AbuseFilter
cd ~/projects/ git gerritclone mediawiki/extensions/Scribunto # cloned under mediawiki/extensions/Scribunto
Lame python is at: https://github.com/hashar/git-gerritclone