piuparts (1.1.5) unstable; urgency=medium

  [ Nicolas Dandrimont ]
  * pejacevic: update enabled suites for bullseye as stable, bookworm as
    testing.
  * Add news for the bullseye update.
  * Fix perjacevic typo in docs.

  [ David Steele ]
  * Remove oldstable results from summary.json.

  [ Athos Ribeiro ]
  * d/rules: set GO111MODULE to auto to maintain pre Go 1.16 behavior. Closes: #991970.
    (MR: debian/piuparts!35)

 -- Holger Levsen <holger@debian.org>  Thu, 14 Oct 2021 15:23:26 +0200

piuparts (1.1.4) unstable; urgency=medium

  [ David Steele ]
  * Make a valid pkgsummary entry for an "invalid" pkg.
  * Remove Python2 support from pkgsummary.
  * Reformat pkgsummary.

  [ Andreas Beckmann ]
  * piuparts.conf, distros.conf:
    - Update for bullseye release.
    - Create bookworm tarballs.
    - Rename stretch-next to stretch-lts.
  * docs/README_server.txt, docs/piuparts/piuparts.1.txt, piuparts.py:
    Update examples for bullseye being stable and bookworm the new testing.
  * piuparts-slave.postinst: Do not fail if no sshd is available on
    localhost:22.
  * scripts/pre_distupgrade_zz_database-server: bullseye/sid has postgresql-13
    and mariadb-10.5.  (Closes: #988704)
  * Add myself to Uploaders.

 -- Andreas Beckmann <anbe@debian.org>  Tue, 03 Aug 2021 13:18:44 +0200

piuparts (1.1.3) unstable; urgency=medium

  [ Michael Prokop ]
  * p: new option --update-retries <num> to re-run apt-get update.
    (MR: debian/piuparts!34)

  [ Holger Levsen ]
  * d/control:
    - add adequate and pkg-config to piuparts-slave-from-git-deps' depends.
      Closes: #893022.
    - add myself back to uploaders.
  * d/copyright: update my copyright years.

  [ Debian Janitor ]
  * Upgrade to newer source format 3.0 (native).

 -- Holger Levsen <holger@debian.org>  Fri, 26 Feb 2021 18:51:48 +0100

piuparts (1.1.2) unstable; urgency=medium

  * Team upload.

  [ Nis Martensen ]
  * piuparts.py:
    - prevent KeyError in diff_meta_data. (Closes: #968842)
    - do not crash on non-utf-8 command output.
  * piuparts-analyze: unbreak sorting of version lists.
  * autopkgtest: add a must-fail test.
  * d/p-[ms].lintian-overrides: update to python3/

  [ Nicolas Dandrimont ]
  * Add exemption for /var/lib/dpkg/cmethopt. (Closes: #953756)
  * piuparts-analyze:
    - print full exceptions when failing.
    - fetch all bugs in bulk instead of package by package.
    - only wait for 60 seconds when a given section is busy.
  * Add myself to uploaders.
  * d/rules: Add workaround for dh-dwz bug #933541.
  * Set Description last when generating a dummy package.
  * Start piuparts-slave automatically after reboots again.
  * Add piu-slave-conova-01.
  * Add news entry for piu-slave-conova-01.
  * Move piu-slave-ubc-01 to deb.d.o.

  [ Ansgar ]
  * piuparts-report.py: fix link to states.png.

  [ Stuart Prescott ]
  * Add timeout when fetching packages files.

  [ Julien Cristau ]
  * Make the summary generation atomic.

  [ Holger Levsen ]
  * Bump standards version to 4.5.1, no changes needed.

  [ Debian Janitor ]
  * Fix day-of-week for changelog entry 0.16-1.

 -- Holger Levsen <holger@debian.org>  Tue, 19 Jan 2021 16:17:25 +0100

piuparts (1.1.1) unstable; urgency=medium

  * Team upload to unstuck python-debianbts migration.

  [ Nis Martensen ]
  * autopkgtest: replace broken stubs with actual tests.
  * Makefile: delete __pycache__ dirs in make clean.
  * piupartslib/dwke: do not error out on non-utf8 logfiles.

 -- Holger Levsen <holger@debian.org>  Tue, 14 Jan 2020 13:48:49 +0100

piuparts (1.1.0) unstable; urgency=medium

  * Team upload.

  [ Herbert Parentes Fortes Neto ]
  * piuparts.py: use Popen with universal_newlines=True. Py2, Py3 compatible.
  * New mail template: add bug-templates/obsolete_conffiles.mail.

  [ Thomas Goirand ]
  * Switch to package to Python 3:
    - Replaced python- with python3- in debian/control.
    - Removed all python2 (>= 2.7) by a ${python3:Depends}.
    - Replaced python2 by python3 in debian/rules.
    - Replaced dh_python2 stuff by dh_python3 in debian/rules.
    - Patched piupartslib/conf.py, piupartslib/dependencyparser.py,
      piupartslib/packagesdb.py, piupartslib/pkgsummary.py, tests/unittests.py
      so that they are Python 3 compatible.
    - Removed python-lzma (build-)depends as it's in standard in Py 3.
    - Add python3-six as (build-)depends.
    - Fix Makefile to use python3 and not python2.
    - d/piuparts-common.install: switch to python 3.
    - d/rules: remove all __pycache__ folder before proceeding to install.
    - Add --shebang=/usr/bin/python3 when calling dh_python3.
    - Do not use -N piuparts-master -N piuparts-slave when calling dh_python3
      for the 2nd time, so that it correctly adds the interpreter as depends.
    - Lintian overrides "python-script-but-no-python-dep": that's ok, because
      piuparts-common already has the dependency.

  [ Bastian Venthur ]
  * piuparts-analyze.py: updates for python-debianbts 2.10.0 deprecating
    some methodcalls, update depends in d/control accordingly.
    Closes: #919170.

  [ Nis Martensen ]
  * piuparts, piuparts-master-backend, piuparts-report,
    detect_well_known_errors, piupartslib/(dependencyparser|packagesdb):
    several fixes and improvements related to porting to python3.

  [ James Clarke ]
  * piuparts: Fix diff_meta_data reporting every file as new and removed.

  [ Mattia Rizzolo ]
  * piuparts-slave.py: port to python3.

  [ David Prévot ]
  * Use the same favicon as the one from www.d.o.

  [ Holger Levsen ]
  * Bump version number to 1.1.x due to the switch to python3.
  * piuparts.conf-template.pejacevic:
    - also test bullseye and bullseye-rcmd. Closes: #933061.
    - increase precedence values for oldstable and older.
  * docs/README_server.txt, docs/piuparts/piuparts.1.txt and piuparts.py:
    update examples for buster being stable and bullseye being the new
    testing.
  * Use /usr/bin/python3 everywhere. Closes: #937293.
  * d/control:
    - bump standards version to 4.4.1, no changes needed.
    - bump debhelper-compat to 12.
  * d/tests: Add simple smoke-test.
  * htdocs/news.tpl:
    - mention new suites bullseye and bullseye-rcmd being tested.
    - mention piuparts.debian.org is running the python3 branch.
    - add farewell note.
  * instances/Makefile: set default mirror to deb.debian.org.
  * d/rules: set GOCACHE to a safely writable directory during build as
    the cache is mandatory with Go 1.12.
  * d/control:
    - bump standards version to 4.4.1, no changes needed.
    - bump debhelper-compat to 12.
    - remove myself from uploaders. It was fun! Policy is your friend. Trust
      the Policy. Love the Policy. Obey the Policy.
  * instances/*, docs/README_pejacevic.txt and htdocs/index: stop mentioning
    piu-slave-bm-a.debian.org.

 -- Holger Levsen <holger@debian.org>  Wed, 08 Jan 2020 20:50:42 +0100

piuparts (1.0.1) unstable; urgency=medium

  [ Andreas Beckmann ]
  * piuparts.conf, distros.conf: Update for buster release.
  * piuparts.py:
    - Add '--max-command-output-size' option to allow overriding the default
      of 8 MB for debugging runs.
    - Run pre_remove scripts before computing packages to be removed.
    - Fix spurious failure to remove packages with names ending with '+'.
  * piupartslib/packagesdb.py:
    - Remove stale .kpr files after receiving new logs.
  * piuparts-slave.py:
    - Generate separate tarball names for --merged-usr chroots.
    - Re-exec on SIGUSR1, picking up updated code and new config sections.
  * master-bin/detect_piuparts_issues:
    - Clean up stale temporary and empty files.
  * master-bin/rotate_master_logs: Delete master logs older than 90 days.
  * slave-bin/slave_reexec: New, send SIGUSR1 to all running slaves.
  * custom-scripts: Add and update several exceptions.
  * piuparts.conf.anbe: Add some more example sections.

  [ Holger Levsen ]
  * generate_daily_report: improve statistics.

 -- Holger Levsen <holger@debian.org>  Tue, 18 Jun 2019 14:48:59 +0200

piuparts (1.0.0) unstable; urgency=medium

  [ David Steele ]
  * piuparts-reports.py:
    Revert "Don't add results from outdated binaries to summary.json" from
    0.94. The reverted commit is 62a6b3c438f42480ce3a08996ed4994de1561591.
    The patch was added to avoid incorporating summary.json reporting results
    for binary packages which are no longer part of the source package. It
    stopped Piuparts from blocking the source package from testing migration.
    It has a bug related to "upgrade test" sections, which cause a large
    number of packages to incorrectly be reported in the "waiting" state.

  [ Andreas Beckmann ]
  * piuparts.py:
    - Add '--merged-usr' support when using debootstrap to create the chroot.
    - Add '--distupgrade-to-testdebs-from DIR' as a shorthand for
      '--bindmount DIR --testdebs-repo DIR --distupgrade-to-testdebs'.
  * distros.conf:
    - wheezy* has been archived/removed.
    - jessie* has been partially archived/removed.
    - Add buster-backports.
    - Add bullseye-proposed-updates.
  * piuparts.conf:
    - Add section [sid-merged-usr], using --merged-usr.  (Closes: #848968)
    - Use --warn-on-debsums-errors for tests ending in buster.
    - Rename [stretch2proposed] to [stretch2next]
      and [buster2proposed] to [buster2next].
  * piupartslib/packagesdb.py:
    - Keep recycled pass logs while waiting for new test results, continuing
      to show them as "successfully-tested" instead of "waiting-to-be-tested".
    - Add (hardcoded) list of missing dependencies that resolve to
      "ignore-does-not-exist".
      Used for packages to be skipped via "is_installable_*" scripts to
      exclude them from "dependency-does-not-exist" state.
  * piuparts-slave.py:
    - New option "slave-flush-interval" to flush logs more frequently to the
      master. Set to 30 minutes.
    - New option "chroot-meta-directory" to share reference target chroot
      metadata between slave instances.
  * piuparts-report.py:
    - Omit states with 0 packages from section summaries.
  * scripts/{post_chroot_unpack,pre_distupgrade}_allow_unauthenticated:
    - Disable Check-Valid-Until for wheezy/updates and jessie-backports.
  * scripts/post_distupgrade_exceptions:
    - Handle /var/lib/pam/seen stretch -> buster upgrade by running
      pam-auth-update if needed. Workaround for #920760.
  * scripts/pre_remove_40_find_unowned_lib_links:
    - Handle --merged-usr environments.
  * master-bin/reschedule_piuparts_tests: Do not act on 'bugged/*.log' and
    'affected/*.log' by default. Add --bugged, --affected flags.

  [ Holger Levsen ]
  * Declare this release to be version 1.0.0, finally. May the force be with
    you.
  * htdocs/news.tpl:
    - add news about sid-merged-usr being tested.
    - add news about the 1.0.0 release.
  * piuparts_slave_join.8.txt: update revdate to date of last change.

 -- Holger Levsen <holger@debian.org>  Sat, 04 May 2019 21:37:32 +0200

piuparts (0.98) unstable; urgency=medium

  [ Holger Levsen ]
  * piuparts-reports.py: add link to states graph for each suite.
  * instances/piuparts.conf-template.pejacevic: increase sid-nodoc's
    precedence.
  * Refactor reschedule_piuparts_tests to use new global configuration
    variable 'testing-suite'.
  * generate_daily_report: show failures in sid, $TESTING and testing2sid
    at the top of the report.
  * master-bin/prepare_backup: ignore empty submissions.txt for $TESTING-pu
    and $TESTING-security.
  * Update TODO for bullseye.

  [ Andreas Beckmann ]
  * piuparts.py:
    - If packages were downgraded to restore the reference chroot state
      reinstall the downgraded-to version again to recover potentially lost
      files in case of bad interactions of Breaks/Replaces with downgrading.
  * distros.conf: Add support for buster partial distros.
  * piuparts.conf:
    - Use --warn-on-others for [sid-strict] only.
    - Add sections [buster-security], [buster-pu] and [buster2proposed].
    - Add sections [stretch2Xbuster] and [stretch2Xbuster-rcmd].
    - Add section [sid-broken-symlinks], failing on broken symlinks
  * piuparts-slave.py:
    - Catch IOError while creating tarballs, will be retried later.
  * scripts/is_testable_uninstallable:
    - Refactor handling of known uninstallable packages.
  * scripts-multi-distro-upgrade/: New custom scripts for distupgrade tests
    spanning a series of distros.
  * Add metapackages piuparts-{master,slave}-from-git-deps to ease running
    piuparts-master and piuparts-slave instances from git.

 -- Holger Levsen <holger@debian.org>  Fri, 01 Mar 2019 11:27:47 +0100

piuparts (0.97) unstable; urgency=medium

  [ Andreas Beckmann ]
  * Ignore broken /var/lib/mender symlink.  (Closes: #915680)
  * scripts/pre_distupgrade_zz_database-server: Also act on dist-upgrades
    within a release, e.g. stable -> stable-proposed-updates.
  * piuparts-slave.py:
    - Support prepending a setarch command to the piuparts invocation.
  * piuparts-report.py:
    - Report [cruft] in logfile lists.

  [ David Steele ]
  * instances/piuparts.conf-template.pejacevic:
    - report results of stable2sid to DDPO.
    - swap stable2sid and stable22sid priorities, to promote the one reported
      to DDPO.

  [ Holger Levsen ]
  * slave_bin: on stop, show what's keeping the slaves busy, to identify
    packages with a very long installation time.
  * Makefile: include @sbindir@ in placeholder_substitution.
  * instances/piuparts.conf-template.pejacevic: lower priorities of oldstable
    suites.

  [ Herbert Fortes ]
  * piuparts.py, piuparts-slave.py, piupartslib/pkgsummary.py and
    piuparts-analyze.py: add '()' to print. Py2 and Py3 compatible.
  * piupartslib/dwke.py:
       - class Problem:
           - Class attr instead of instance attr
             Save some memory
       - get_file_dict function:
           - dictionary comprehension. "More readable and
             often faster at the same time".
       - create_problem_list function:
            - list.sort() instead of sorted(list).
              sorted() returns a *new* sorted list. This is
              not necessary here.
              list.sort() sorts the list in place.
              Save some memory
       - make_kprs function: do not concat str, simplify 'if' statement.

 -- Holger Levsen <holger@debian.org>  Mon, 11 Feb 2019 12:30:10 +0100

# For older changelog entries, run 'apt-get changelog piuparts-master'
