stanford-server-debianrepo (33) unstable; urgency=medium

  * [mirror-debian] Make mirrored architectures configurable per repository
    group (Debian, Ubuntu, Auristor) via the new configuration variables
    archs_debian, archs_ubuntu, and archs_auristor instead of hardcoding
    them in the script.

    Add a dry-run mode: set the DRYRUN environment variable to print the
    debmirror commands instead of executing them. The lock file is skipped
    in dry-run mode so it does not block real runs.

    Require the configuration file /var/lib/debmirror/config to exist and
    be readable. The script now aborts with an error if the config file is
    missing or exits with an error when sourced.

    Remove all default values for mirror host variables (mirror_debian,
    mirror_security, mirror_ubuntu) and distribution list variables
    (debian_dists, debian_security_dists, ubuntu_dists). All of these are
    now required to be set in the configuration file.

    Remove the obsolete Ubuntu fallback code that built a default
    ubuntu_dists list from hardcoded releases (trusty, bionic).

    Remove the commented-out wheezy backports mirroring block.

    Update the embedded POD documentation to reflect all of the above
    changes, including the new ENVIRONMENT section for DRYRUN.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 02 Jun 2026 16:30:23 -0700

stanford-server-debianrepo (32) unstable; urgency=medium

  * [monitor-distro-inrelease-valid-nagios] Rather than exit from the
    script when their is a passive alert send failure instead print out a
    message to stderr and keep going. Otherwise if the first Nagios server
    in the list is down no alerts get sent to the other Nagios servers.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 25 Nov 2024 10:35:34 -0800

stanford-server-debianrepo (31) unstable; urgency=medium

  * [debian-mirror] Filter out innocuous output from the Auristor package
    mirroring. We do this in order to avoid cluttering up root email.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 16 Oct 2024 12:55:45 -0700

stanford-server-debianrepo (30) unstable; urgency=medium

  * [debian-mirror] Correct a comment that explains how to configure apt
    to find the Stanford-mirrored Auristor packages due to a change in the
    Apache configuration. The changelog entry for version 28 should now
    read

    To access these repositories add a line like the following to an apt
    sources.list file:

       deb [arch=amd64] https://debian.stanford.edu/auristor/bookworm bookworm client

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 27 Jun 2024 05:18:53 -0700

stanford-server-debianrepo (29) unstable; urgency=medium

  * [debian-mirror] Change Auristor mirror base directory from /srv/repos/
    to /srv/mirrors/ as /srv/mirrors/ better reflects (hah!) the function
    of the Auristor mirror.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 26 Jun 2024 16:18:30 -0700

stanford-server-debianrepo (28) unstable; urgency=medium

  * [debian-mirror] Add a section to mirror the Auristor client Debian
    packages. Which packages are mirrored is controlled by the environment
    variable "auristor_codenames" which needs to be defined in
    /var/lib/debmirror/config. Until that variable is defined this new
    section will have no effect, so it is safe to push this change before
    defining "auristor_codenames".

    To access these repositories add a line like the following to an apt
    sources.list file:

       deb [arch=amd64] https://debian.stanford.edu/debian-auristor/bookworm bookworm client

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 20 Jun 2024 14:18:45 -0700

stanford-server-debianrepo (27) unstable; urgency=medium

  * [check-repo-inrelease-valid] Update how security suite paths are
    constructed now that bookworm has been released. Hopefully, this is
    the last time we have to make such a change.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 12 Jun 2023 14:53:53 -0700

stanford-server-debianrepo (26) unstable; urgency=medium

  * Log mirror sync duration after each sync in
    /var/lib/debmirror/repo_choices.log. This way we can see how much time
    each sync takes and ensure that the syncs are not running into each
    other.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 01 Feb 2023 06:46:05 -0800

stanford-server-debianrepo (25) unstable; urgency=medium

  * [monitor-distro-inrelease-valid-nagios] Add timeout to
    usr/sbin/monitor-distro-inrelease-valid-nagios. Addresses issues where
    sometimes monitor-distro-inrelease-valid-nagios would sometimes hang
    due to issues with downloading InRelease file and could pile up
    causing server load issues.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 12 Sep 2022 07:44:03 -0700

stanford-server-debianrepo (24) unstable; urgency=medium

  * [upload-patchman] Change download URL and package names to reflect new
    Python 3 release of Patchman.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 24 Feb 2022 08:35:05 -0800

stanford-server-debianrepo (23) unstable; urgency=medium

  * [reprepro-upload] Add the option "--waitforlock 2" to the reprepro
    calls in reprepro-upload to better handle cases where more than one
    person (or service) calls reprepro-upload at/near the same time.
    This collision has happened with CI/CD systems that build and upload
    Debian packages.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 16 Dec 2021 14:51:37 -0800

stanford-server-debianrepo (22) unstable; urgency=medium

  * [check-repo-inrelease-valid] Error in path to InRelease file for security
    repos for bullseye and beyond fixed.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 01 Oct 2021 21:55:20 -0700

stanford-server-debianrepo (21) unstable; urgency=medium

  * Fix scripts to handle change in how security repositories are named
    (change starts with bullseye). This will have to be done again when
    bookworm is released in a couple of years.
  * Support checking oldstable-updates and oldstable-proposed updates (no
    reason not to).

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sun, 19 Sep 2021 11:01:18 -0700

stanford-server-debianrepo (20) unstable; urgency=medium

  * Add new script upload-patchman.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sat, 27 Mar 2021 09:08:00 -0700

stanford-server-debianrepo (19) unstable; urgency=medium

  * Add options to set the WARN and CRITICAL Nagios threshold.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 24 Feb 2021 10:05:16 -0800

stanford-server-debianrepo (18) unstable; urgency=medium

  * [monitor-distro-inrelease-valid-nagios] Send nagios message in days
    instead of seconds

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Mon, 05 Oct 2020 11:13:22 -0700

stanford-server-debianrepo (17) unstable; urgency=medium

  * Add ubuntu main/debian-installer for preseeding installation

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Tue, 10 Sep 2019 11:46:04 -0700

stanford-server-debianrepo (16) unstable; urgency=medium

  * update test scripts, change testing to testing-security

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Tue, 09 Jul 2019 16:32:54 -0700

stanford-server-debianrepo (15) unstable; urgency=medium

  * Re-work debian-mirror so we can specify the Debian repositories
    via the configuration file.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sun, 07 Jul 2019 16:56:29 -0700

stanford-server-debianrepo (14) unstable; urgency=medium

  * Add buster security-updates and backports and removing monitor script suffix .pl

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Wed, 17 Apr 2019 10:48:10 -0700

stanford-server-debianrepo (13) unstable; urgency=medium

  * Remove wheezy security updates from mirror and monitor

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Sat, 13 Apr 2019 12:52:45 -0700

stanford-server-debianrepo (12) unstable; urgency=medium

  * Add nagios2 IP to Inrelease file scripts.

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Mon, 01 Apr 2019 15:59:30 -0700

stanford-server-debianrepo (11) unstable; urgency=medium

   * Update debian monitor scripts and remove wheezy and jessie non lts repos
     from debian mirroring.

 -- Srinivas Rao Puttagunta <psr123@stanford.edu>  Wed, 27 Mar 2019 18:21:58 -0700

stanford-server-debianrepo (10) unstable; urgency=medium

  * Add debian repository monitoring scripts.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 30 Nov 2018 15:39:59 -0800

stanford-server-debianrepo (9) unstable; urgency=medium

  * Add buster distributions.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 10 Jul 2017 10:09:18 -0700

stanford-server-debianrepo (8) unstable; urgency=medium

  * Added stretch-backports.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 22 Jun 2017 09:38:39 -0700

stanford-server-debianrepo (7) unstable; urgency=medium

  * Missed one of the squeeze distributions; removed.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 16 Mar 2016 07:26:49 -0700

stanford-server-debianrepo (6) unstable; urgency=medium

  * Remove ALL squeeze distributions.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 10 Mar 2016 10:51:42 -0800

stanford-server-debianrepo (5) unstable; urgency=medium

  * Remove squeeze-updates and squeeze-proposed-updates from distros
    mirrored, so the only squeeze distro we are left with is squeeze-lts.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 09 Mar 2016 18:49:49 -0800

stanford-server-debianrepo (4) unstable; urgency=medium

  * Remove squeeze from distros mirrored (but we still keep
    squeeze-lts, squeeze-updates, squeeze-proposed-updates as they are
    still being updated).

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 03 Mar 2016 07:05:24 -0800

stanford-server-debianrepo (3) unstable; urgency=medium

  * mirror-debian: remove debian-backports mirroring section as this is
    not handled by debian mirroring section above.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 27 Jan 2016 07:53:05 -0800

stanford-server-debianrepo (2) unstable; urgency=medium

  * mirror-debian: change oldstable backports from squeeze to wheezy.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 26 Jan 2016 07:30:13 -0800

stanford-server-debianrepo (1) unstable; urgency=medium

  * Initial release: split off debian repo scripts from stanford-server-fai

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 06 Oct 2015 11:20:31 -0700
