jobd.pl: treat a disabled mirror like .bypass_fetch
commit6a11e864b5832624c2e2de9747159de6a74b97dd
authorKyle J. McKay <mackyle@gmail.com>
Sat, 30 Dec 2017 14:49:19 +0000 (30 06:49 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 30 Dec 2017 14:49:19 +0000 (30 06:49 -0800)
tree928230763e064012f108ed6a9fbca332948b2df5
parent765781967e3f994c49adb2e070002f6709fa5773
jobd.pl: treat a disabled mirror like .bypass_fetch

It's possible to disable a mirror by prepending the
value "disabled " to the gitweb.baseurl config setting.

This does not (yet) happen automatically, but it can
be done manually.

Rather than having update.sh run and choke on an empty
URL or one with withspace in it, have jobd.pl treat
that as a ".bypass_fetch" mirror instead.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/jobd.pl