[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Games Team now has git repository

Attached is a .mrconfig file that can be used to check out all
the pkg-games package repos.

If you drop this in ~/tmp, cd to tmp, and run 
mr -c .mrconfig checkout
you'll get a tree like this:

-rw-r--r--   1 joey joey   697 May 16 12:20 .mrconfig
drwxr-xr-x   8 joey joey  4096 May 16 12:14 openal-soft/
drwxr-xr-x 250 joey joey 12288 May 16 12:13 svn/
drwxr-xr-x   7 joey joey  4096 May 16 12:20 svn-nonfree/

svn has all of trunk/, svn-nonfree/ has the nonfree stuff, and there's
the one git-based package.

This is just one possible layout. The git-based packages could be
checked out alongside the other games in packages/trunk. The .mrconfig
file could even be committed to packages/trunk. I didn't do that yet
because openal-soft is in both svn and git currently, and mr would see
the svn directory and not check out the git repo, which wouldn't make for
an interesting demo. :-)

Anyway, the file has some comments about setup; once set up you can do
stuff like this that acts on all the repositories:

joey@kodama:~/tmp>mr update
mr update: /home/joey/tmp

mr update: /home/joey/tmp/openal-soft
Already up-to-date.

mr update: /home/joey/tmp/svn
At revision 7074.

mr update: /home/joey/tmp/svn-nonfree
At revision 7074.

mr update: finished (4 ok)

joey@kodama:~/tmp/f>mr status
mr status: /home/joey/tmp

mr status: /home/joey/tmp/openal-soft
# On branch master
nothing to commit (working directory clean)

mr status: /home/joey/tmp/svn
?      foo

mr status: /home/joey/tmp/f/svn-nonfree

mr status: finished (4 ok)

And of course also 'mr commit' etc.

If this seems useful, I can commit the .mrconfig to svn.

see shy jo
# This file configures mr(1) to manage the VCS repositories of the
# pkg-games team. As new VCS repositories are created, they should be
# listed here.
# To use, either run:
#   mr -c .mrconfig [command]
# Or, to avoid needing to use the -c option, create/edit ~/.mrconfig, adding
# a chain stanza pointing at the directory beneath your home directory that
# contains this file:
# [src/pkg-games]
# chain = true
# update = :
# status = :
# commit = :

checkout = svn co svn+ssh://svn.debian.org/svn/pkg-games/packages/trunk svn

checkout = svn co svn+ssh://svn.debian.org/svn/pkg-games/non-free/packages/trunk svn-nonfree

checkout = git clone git://git.debian.org/git/pkg-games/openal-soft.git

Attachment: signature.asc
Description: Digital signature

Reply to: