mirrors: implement refs namespace cleaning
commit19f75cc16e5d01c827a081d46e4525a1cf516d75
authorKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 01:13:51 +0000 (28 18:13 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 01:13:51 +0000 (28 18:13 -0700)
tree0a3516263ee83c0011a57e0f4ed9e80317f7ff7c
parent1a5c55564b832c8c491dc33e4bf8f4d907135a67
mirrors: implement refs namespace cleaning

Some hosting providers like to include all kinds of "extra" refs in the
refs namespace.  Things the project contributors never pushed and
generally are not allowed to push to.

Therefore provide a refs namespace "cleaning" service for mirrors which
is selected by default for new mirror project registrations and when
enabled causes the mirror to only mirror refs/heads/*, refs/tag/* and
refs/notes/* refs thereby "cleaning" the mirror.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/update.sh
taskd/clone.sh