[arch-dev-public] [PATCH 1/6] Unify comment style
Signed-off-by: Dan McGee
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
Signed-off-by: Dan McGee
This allows uploads to possibly be smaller if a similar file exists
nearby without the same name. Unlikely in most cases, but we might as
well take advantage if they do exist:
Signed-off-by: Dan McGee
Batch them up using a bash array and then pass them all to a single
invocation of rsync.
Signed-off-by: Dan McGee
Signed-off-by: Dan McGee
participants (1)
-
Dan McGee