remove svn:externals-using games subdirectory

instead, add a download-gamepacks.sh script


git-svn-id: svn://svn.icculus.org/netradiant/trunk@415 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2010-01-07 19:58:51 +00:00
parent 7667f5afb5
commit b8f41b5322
2 changed files with 80 additions and 5 deletions

View File

@ -14,11 +14,9 @@ The subversion client can be obtained from the Subversion site.
To get a copy of the source using the commandline Subversion client:
Change the current directory to the desired location for the source.
svn checkout http://emptyset.endoftheinternet.org/svn/radiant15/trunk/ ./GtkRadiant
svn checkout -r29 https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/branches/1.5/ ./GtkRadiant/games/UFOAIPack
For other game packs, see https://zerowing.idsoftware.com/svn/radiant.gamepacks/
Note that they must be in GtkRadiant 1.5's format (like the ones in a branches/1.5 subfolder)!
svn checkout http://svn.icculus.org/netradiant/trunk/ NetRadiant
cd NetRadiant
sh download-gamepacks.sh

77
download-gamepacks.sh Normal file
View File

@ -0,0 +1,77 @@
#!/bin/sh
pack()
{
pack=$1; shift
license=$1; shift
sourcetype=$1; shift
source=$1; shift
if [ -d "games/$pack" ]; then
echo "Updating $pack..."
case "$sourcetype" in
svn)
svn update "games/$pack" "$@"
;;
esac
return
fi
echo
echo "Available pack: $pack"
echo " License: $license"
echo " Download via $sourcetype from $source"
echo
case " $PACKFILTER " in
" ")
;;
*" $pack "*)
;;
*)
echo "Pack $pack rejected because it is not in PACKFILTER."
return
;;
esac
case " $LICENSEFILTER " in
" ")
;;
*" $license "*)
;;
*)
echo "Pack $pack rejected because its license is not in LICENSEFILTER."
return
;;
esac
case "$BATCH" in
'')
while :; do
echo "Download this pack? (y/n)"
read -r P
case "$P" in
y*)
break
;;
n*)
return
;;
esac
done
;;
*)
;;
esac
echo "Downloading $pack..."
case "$sourcetype" in
svn)
svn checkout "$source" "games/$pack" "$@"
;;
esac
}
pack NexuizPack GPL svn svn://svn.icculus.org/nexuiz/trunk/misc/netradiant-NexuizPack
pack Quake2WorldPack GPL svn svn://jdolan.dyndns.org/quake2world/trunk/gtkradiant
pack DarkPlacesPack GPL svn https://zerowing.idsoftware.com/svn/radiant.gamepacks/DarkPlacesPack/branches/1.5/
pack WarsowPack GPL svn http://opensvn.csie.org/warsowgamepack/netradiant/games/WarsowPack/
pack Q3Pack proprietary svn https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ -r29
pack UFOAIPack proprietary svn https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/branches/1.5/