[sldev] Script for automatically importing source releases into SVN

Dale Glass dale at daleglass.net
Thu Mar 15 18:52:12 PDT 2007


I got tired of having to import the source, so I wrote a little script 
to do it for me.

Instructions:

$ load_sl_archive <directory>

where the <directory> is the directory containing the required files 
ONLY (art and source). Current version won't work if you add the 
libraries but that can be fixed.

It will:
* Find the version based on the filenames
* Run svn up on the checked out source
* Find the repository's URL from a checked out copy
* Check that the source hasn't been imported already
* Extract the files
* Fix the unicode.ttf (svn_load_dirs doesn't like broken symlinks)
* use svn_load_dirs to load the source, creating a tag with the 
release's name.

No interaction needed.

Script here:
http://daleglass.net/load_sl_archive

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070316/95529ec9/attachment.pgp


More information about the SLDev mailing list