chiark / gitweb /
mirror-admin
11 months agoMerge branch 'distorted' into vampire vampire
Mark Wooding [Mon, 26 Mar 2012 16:52:30 +0000]
Merge branch 'distorted' into vampire

* distorted:
  etc/ftpsync-debian-security.conf: No updates for `oldstable'.
  bin/ftpsync: `-exclude' means something completely wrong.

11 months agoetc/ftpsync-debian-security.conf: No updates for `oldstable'.
Mark Wooding [Mon, 26 Mar 2012 16:51:28 +0000]
etc/ftpsync-debian-security.conf: No updates for `oldstable'.

11 months agoMerge branch 'master' into distorted
Mark Wooding [Mon, 26 Mar 2012 16:48:58 +0000]
Merge branch 'master' into distorted

* master:
  bin/ftpsync: `-exclude' means something completely wrong.

11 months agobin/ftpsync: `-exclude' means something completely wrong.
Mark Wooding [Mon, 26 Mar 2012 16:46:00 +0000]
bin/ftpsync: `-exclude' means something completely wrong.

Should be `--exclude' of course.

11 months agoMerge branch 'distorted' into vampire
Mark Wooding [Fri, 16 Mar 2012 11:44:14 +0000]
Merge branch 'distorted' into vampire

* distorted:
  etc/mirrors.d/50-rfc: Fetch RFCs from IETF; fetch IDs separately.
  etc/mirrors.d/50-debian: Actually mirror security updates.
  etc/ftpsync-common.conf: Adjust the mirror root directory.
  Move the mirror home directory to /var/lib/mirror-admin.
  Move the mirror home directory to /var/lib/mirror-admin.
  bin/run-mirrors: If we have a keytab file, log in with it.
  bin/ftpsync: New version from upstream.

Conflicts:
etc/mirrors.d/50-rfc

11 months agoetc/mirrors.d/50-rfc: Fetch RFCs from IETF; fetch IDs separately.
Mark Wooding [Fri, 16 Mar 2012 11:05:29 +0000]
etc/mirrors.d/50-rfc: Fetch RFCs from IETF; fetch IDs separately.

11 months agoetc/mirrors.d/50-debian: Actually mirror security updates.
Mark Wooding [Fri, 16 Mar 2012 11:28:38 +0000]
etc/mirrors.d/50-debian: Actually mirror security updates.

Looks like I splinched a commit.

11 months agoetc/ftpsync-common.conf: Adjust the mirror root directory.
Mark Wooding [Tue, 16 Aug 2011 09:24:09 +0000]
etc/ftpsync-common.conf: Adjust the mirror root directory.

11 months agoMove the mirror home directory to /var/lib/mirror-admin.
Mark Wooding [Tue, 16 Aug 2011 09:19:18 +0000]
Move the mirror home directory to /var/lib/mirror-admin.

Follow-on from the change in `master'.

11 months agoMerge branch 'master' into HEAD
Mark Wooding [Fri, 16 Mar 2012 11:38:07 +0000]
Merge branch 'master' into HEAD

* master:
  Move the mirror home directory to /var/lib/mirror-admin.
  bin/run-mirrors: If we have a keytab file, log in with it.
  bin/ftpsync: New version from upstream.

11 months agoMove the mirror home directory to /var/lib/mirror-admin.
Mark Wooding [Tue, 16 Aug 2011 09:19:18 +0000]
Move the mirror home directory to /var/lib/mirror-admin.

This seems like a place that will work everywhere.

11 months agobin/run-mirrors: If we have a keytab file, log in with it.
Mark Wooding [Fri, 16 Mar 2012 11:01:27 +0000]
bin/run-mirrors: If we have a keytab file, log in with it.

This stops the mirror job hanging if the filestore is mounted over
Kerberized NFS.

11 months agobin/ftpsync: New version from upstream.
Mark Wooding [Fri, 16 Mar 2012 11:08:59 +0000]
bin/ftpsync: New version from upstream.

18 months agoMerge branch 'distorted' into vampire
Mark Wooding [Wed, 17 Aug 2011 08:16:51 +0000]
Merge branch 'distorted' into vampire

* distorted:
  etc/ftpsync-debian-security.conf: Don't ask for unstable or experimental.
  etc/ftpsync-common.conf: Include Debian sources.

18 months agoMerge branch 'master' into distorted
Mark Wooding [Wed, 17 Aug 2011 08:16:31 +0000]
Merge branch 'master' into distorted

* master:
  etc/ftpsync-debian-security.conf: Don't ask for unstable or experimental.

18 months agoetc/ftpsync-debian-security.conf: Don't ask for unstable or experimental.
Mark Wooding [Wed, 17 Aug 2011 08:14:46 +0000]
etc/ftpsync-debian-security.conf: Don't ask for unstable or experimental.

You just get a nasty error in the log.

18 months agoetc/ftpsync-common.conf: Include Debian sources.
Mark Wooding [Wed, 17 Aug 2011 08:08:53 +0000]
etc/ftpsync-common.conf: Include Debian sources.

18 months agoetc/ftpsync-common.conf: Adjust the mirror root directory.
Mark Wooding [Tue, 16 Aug 2011 09:24:09 +0000]
etc/ftpsync-common.conf: Adjust the mirror root directory.

18 months agobin/run-mirrors: Use sudo to change user.
Mark Wooding [Tue, 16 Aug 2011 09:20:56 +0000]
bin/run-mirrors: Use sudo to change user.

The mirror user's home is elsewhere on vampire, so userv doesn't work as
well.

18 months agoMove the mirror home directory to /var/lib/mirror-admin.
Mark Wooding [Tue, 16 Aug 2011 09:19:18 +0000]
Move the mirror home directory to /var/lib/mirror-admin.

This seems like a place that will work everywhere.

18 months agoMerge branch 'master' into distorted
Mark Wooding [Tue, 16 Aug 2011 09:22:12 +0000]
Merge branch 'master' into distorted

* master:
  Mirror Ubuntu and the Debian multimedia packages.
  Refactor the Debian mirror configuration.

18 months agoMirror Ubuntu and the Debian multimedia packages.
Mark Wooding [Fri, 5 Aug 2011 10:30:23 +0000]
Mirror Ubuntu and the Debian multimedia packages.

New configuration snippets.

18 months agoRefactor the Debian mirror configuration.
Mark Wooding [Fri, 5 Aug 2011 10:28:09 +0000]
Refactor the Debian mirror configuration.

  * Factor the architecture-exclusion logic out into a separate
    program bin/debian-excludes.

  * Factor the common ftpsync configuration options into
    etc/ftpsync-common.conf, and source this from the archive-specific
    configuration scripts.

19 months agoMerge branch 'master' into distorted
Mark Wooding [Thu, 21 Jul 2011 15:55:27 +0000]
Merge branch 'master' into distorted

* master:
  etc/ftpsync-debian.conf: Fetch from the German mirror.
  bin/run-mirrors: Use id(1) to find current user name.
  etc/logrotate.conf: Somehow went missing.

19 months agoetc/mirrors.d: Local configuration.
Mark Wooding [Thu, 21 Jul 2011 15:36:38 +0000]
etc/mirrors.d: Local configuration.

19 months agoetc/ftpsync-debian.conf: Fetch from the German mirror.
Mark Wooding [Thu, 21 Jul 2011 15:23:04 +0000]
etc/ftpsync-debian.conf: Fetch from the German mirror.

Unfortunately, ftp.uk.debian.org is frequently broken.

19 months agobin/run-mirrors: Use id(1) to find current user name.
Mark Wooding [Thu, 21 Jul 2011 15:22:08 +0000]
bin/run-mirrors: Use id(1) to find current user name.

USER isn't set by sudo(8) -- at least in my configuration.

19 months agoetc/logrotate.conf: Somehow went missing.
Mark Wooding [Thu, 9 Jun 2011 01:58:16 +0000]
etc/logrotate.conf: Somehow went missing.

19 months agoMirror admin stuff, initial commit.
Mark Wooding [Wed, 8 Jun 2011 20:56:38 +0000]
Mirror admin stuff, initial commit.

Includes the Debian `ftpsync' mirror script suite, machinery for general
rsync(1) mirrors, and a skeleton configuration for Lee McLaughlin's
mirror(1) script.  By default the mirror does nothing useful whatever,
and requires local configuration; this should be maintained on a
different branch.