summaryrefslogtreecommitdiff
path: root/communityco
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-01 16:35:31 -0500
committerPierre Schmitz <pierre@archlinux.de>2011-04-02 00:26:33 +0200
commit71efb148df6505c4fbf50cc80886cd805d296396 (patch)
tree485b3812420f21da6485c5d917a83bb3df438b59 /communityco
parent48ccc1c7fb5a6f212d999bbd0de80710eb1169b1 (diff)
downloaddevtools32-71efb148df6505c4fbf50cc80886cd805d296396.tar.xz
commitpkg: make repo/server selection more modular
This gets rid of the ever-expanding conditional we had before and replaces it with two case statements. The first handles the command name. If it ends with 'pkg', we treat the entire first part of the reponame, unless of course 'commitpkg' was called directly. This allows one to add new symlinks such as 'gnome-unstablepkg'. The second handles the server. Well-known repositories are listed and passed to the appropriate server. All unusual repos are assumed to live on gerolde and sent that direction. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'communityco')
0 files changed, 0 insertions, 0 deletions