[Pkg-e-devel] svn auto-import up and running

Nikita V. Youshchenko yoush at debian.org
Mon Jan 26 19:40:29 UTC 2009


Hi

I've set up a cron job on alioth that hourly fetches updates from e svn 
into package git repos. Branch 'upstream-vcs' in every repo is 
automatically updated to point at svn trunk.

Currently these repos are supported:

libs/eina.git
libs/evas.git
libs/ecore.git
libs/efreet.git
libs/edje.git
libs/edbus.git
apps/e.git

Others may be easilly added.

Script is at ~yoush/pkg-e/git-svn-updater/updater, log is in the same 
directory.

Enjoy :)

> > - Somehow we should deny updates to upstream-vcs branch by anything
> > other than this script, or things will likely break. How to do that?
>
> I have no idea whatsoever. For now, I'd suggest a big fat warning and
> asking a git guru.

Currently script first tries to push sn/trunk to upstream-vcs, and it that 
fails, is resets upstream-vcs to svn/trunk. So after script execution, 
upstream-vcs will always point to svn/trunk. So if whoever manually 
changes upstream-vcs, that change will be overwritten.

Nikita
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-e-devel/attachments/20090126/a9dd1e5d/attachment.pgp 


More information about the Pkg-e-devel mailing list