piuparts (1.1.1build1) focal; urgency=medium

  * No-change rebuild with fixed binutils on arm64.

 -- Matthias Klose <doko@ubuntu.com>  Sat, 08 Feb 2020 11:17:06 +0000

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

piuparts (0.96) unstable; urgency=medium

  [ Andreas Beckmann ]
  * bug-templates: Raise severity of "fails to purge" errors to serious.
    (see #918379)
  * distros.conf: Add jessie-lts as a full distro.
  * piuparts.conf:
    - Use jessie-lts as upgrade target and rename section
      [jessie2proposed] => [jessie2lts]
    - Add sections [wheezy2jessie-lts] and [jessie-lts2stretch].
    - [wheezy2bpo2jessie]: Use jessie-lts as final upgrade target.
    - Disable sections [wheezy-pu], [jessie-pu]: not used for lts releases.
  * scripts/post_distupgrade_exceptions:
    - Handle /etc/ca-certificates.conf stretch -> buster upgrade by
      normalizing the file to match fresh installations.  (Closes: #889852)
  * scripts-broken-symlinks: Unbreak more symlinks.

  [ Holger Levsen ]
  * htdocs/index.tpl: stop referring people to the #debian-qa IRC channel, we
    really prefer mail nowadays.
  * instances/piuparts.conf-template.pejacevic:
    - include sid-strict into json outputs.
    - improve sid-strict description. Closes: #918379
  * master-bin/detect_piuparts_issues: ignore files which vanish during run.
  * Bump standards version to 4.3.0, no changes needed.
  * d/copyright: update years.

 -- Holger Levsen <holger@debian.org>  Sun, 13 Jan 2019 16:56:06 +0100

piuparts (0.95) unstable; urgency=medium

  [ Holger Levsen ]
  * piuparts.py: add /var/lib/debian-security-support/ to self.ignored_files.
    (Closes: #749317)
  * Reduce number of mails per day, from 34 down to 1. (Closes: #912591)
    - lib/write_log.sh: new helper to publish logs in htdocs/logs.
    - master-bin/master_shell_runner: new script to run python scripts to
      redirect logs to htdocs/logs.
    - master-bin/generate_daily_report:
      - redirect logs of called scripts to htdocs/logs.
      - include listing of htdocs/logs/$TODAY into daily report.
      - publish dailyreport.txt in htdocs/logs/$TODAY instead of htdocs/.
    - master-bin/detect_archive_issues, detect_piuparts_issues,
      detect_network_issues, reschedule_oldest_logs, rotate_master_logs,
      report_untestable_packages and report_stale_reserved_packages: redirect
      logs to htdocs/logs.
    - conf/crontab-master.in: run detect_well_known_errors, piuparts-report
      and piuparts-analyze through the new master_shell_runner script.
    - master-bin/rotate_master_logs: compress htdocs/logs older than a week.
    - piuparts-report.py: add navigation link to https://piuparts.d.o/logs/
    - htdocs/news.tpl: explain the result of these changes.
  * d/control: use canonical URL for Vcs-Git, thanks lintian.
  * Add d/piuparts.lintian-overrides to override uses-dpkg-database-directly
    warnings, this cannot be avoided without breaking compatibility with
    ancient releases.
  * bug-templates/logrotate_exits_with_error_after_package_removal: clarify
    possibles causes of this problem as well as the solution.

  [ Andreas Beckmann ]
  * Clarify errors from installing objects over existing symlinks.
  * bug-templates: Do not mention ${misc:Pre-Depends} as
    symlink_to_dir/dir_to_symlink are supported by dpkg in oldstable.

 -- Holger Levsen <holger@debian.org>  Sun, 09 Dec 2018 22:27:41 +0100

piuparts (0.94) unstable; urgency=medium

  [ Holger Levsen ]
  * master-bin/detect_well_known_errors.py: suppress output if nothing new is
    found in a section, or section is busy or has been recently processed.
  * master-bin/generate_daily_report: include number of failures in daily mail.
  * slave-bin/detect_slave_problems: increase amount of time (from 30 to 60m)
    a slave has to be inactive before complaining.

  [ Andreas Beckmann ]
  * piuparts.py:
    - Logrotate files can only be placed directly in /etc/logrotate.d/.
  * scripts/post_distupgrade_exceptions:
    - Handle /etc/nsswitch.conf stretch -> buster upgrade if modifications
      from libnss-myhostname and friends are present.

  [ Mathieu Parent ]
  * piuparts.py: Use mknod instead of touch to create missing /dev/ptmx
    mountpoint, working around findutils bug #912180 (Closes: #911334)

  [ Ivo De Decker ]
  * piuparts-reports.py: Don't add results from outdated binaries to
    summary.json.

 -- Holger Levsen <holger@debian.org>  Thu, 08 Nov 2018 12:09:57 +0100

# For older changelog entries, run 'apt-get changelog piuparts-slave-from-git-deps'
