Em Seg, 2008-08-11 às 21:22 -0300, Leonardo F. Fontenelle escreveu: > I'm working with a teammate on a script to streamline the checkout part. > The script should use damned-lies information to find the appropriate > branch for a given module in a given release set. We already have a > functional version (actually two, in shell script and ruby), and should > publish them soon. Here it is. I'll put it in GNOME Live as soon as I write decent user documentation of it. The idea behind it is to avoit checking out the entire module when all you want is inside the po/ and the help/ directories. The script works with multi-domain modules (like gtk+) and with multi-help modules (like gnome-games). It will fail to check out the documentation for gfloppy, which is an external dependency for gnome-utils, but as soon as possible I'll add a hack to fix this. Right now, you can put this script in your path, cd to some directory (I use ~/linux/l10n) and run (in example): tsfx -u leonardof -r gnome-2-24 -m eog If you want to check out the entire release set, omit the "-m" argument. You can also open the script with a text editor to set the default locale or SVN account. The script is quite clever. First, it can guess a default language code. Second, if a module branched, or if you previously checked out the module anonymously, it will use "svn sw" to fix the svn root. Thanks to Simos for the vision, and Shaun McCance and Danilo Segan for the tips: http://leonardof.org/2008/04/28/parsing-damned-lies-releasesxmlin-in-the-command-line/en/ -- Leonardo Fontenelle http://leonardof.org
Attachment:
tsfx
Description: application/shellscript