[asterisk-dev] please please please open ViewVC for svn.digium.com again

Jeffrey Ollie jeff at ocjtech.us
Sun Sep 6 00:04:25 CDT 2009


On Sat, Sep 5, 2009 at 9:51 AM, Jeffrey Ollie<jeff at ocjtech.us> wrote:
> I wouldn't want this to be only for trunk.  I have a script that scans
> subversion and generates a git config file that tracks all of the
> release branches as well as the tagged releases. It ignores the
> personal/group branches. Once I'm back in front of my laptop this
> evening I'll post it.

OK, here's my script.  You use it something like this:

mkdir ~/asterisk.git
cd ~/asterisk.git
git --bare init
python ~/gen-ast-gitconfig.py > config
mkdir svn
git svn fetch

My script will generate a config that downloads only trunk, release
branches, and release tags.  It'd be possible to add branches from
below team, but since those branches are handled less formally it'd
take some manual intervention to figure out what to download.

FYI, the script uses Genshi 0.5...

-- 
Jeff Ollie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen-ast-gitconfig.py
Type: text/x-python
Size: 3202 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20090906/e510885e/attachment.py 


More information about the asterisk-dev mailing list