[WMF-outreach-staff] Who wants to run a Git/Gerrit tutorial?
Chad Horohoe
chorohoe at wikimedia.org
Sat Jul 7 12:17:44 UTC 2012
On Sat, Jul 7, 2012 at 2:27 AM, Asheesh Laroia <lists at asheesh.org> wrote:
> Excerpts from Asheesh Laroia's message of Fri Jul 06 22:10:54 -0400 2012:
>
>> Extensions coming from Github/on-wiki... those could be good.
>>
>> In general, for extensions that come from on the wiki, presumably only the
>> original author should be the one to import them? Or instead should people
>> feel empowered to move extensions even if they're not the original author?
>> (assuming licensing is clear)
>
> Chad, I had an idea....
>
> For people who have extensions in Subversion, can we make you available for
> a specified 2-hour block where people whose extensions are in SVN can watch
> you do a conversion, and then they get a pretty git repo out of it?
>
> That way, they can be sure that their extension gets migrated, and it
> hopefully doesn't feel like magic since they know you're doing it right there.
>
If people *really* want that, I guess I can...but really it's a process that's
boring and you don't learn much as a result. We use a script for dumping
SVN that's specific for this process (svn2git). The process goes (briefly)
as follows:
1) Write some rules for the extension (such as [0])
2) Feed the rules into svn2git
3) Wait anywhere from thirty minutes to an hour depending on how many
projects are being dumped (speed of svn2git is directly proportional to the
number of rules being written).
4) Push the resulting repos to Gerrit.
Step (3) is super boring (I usually run it in a screen and find something else
to do). So yeah, if someone really really wants to watch me do this, I can
show them, but I think most people will get bored during step 3 and find
something else to do.
-Chad
[0] https://gerrit.wikimedia.org/r/gitweb?p=operations/software.git;a=blob;f=svn2git/scripts/rules/examples.rules
More information about the WMF-outreach-staff
mailing list