Your message dated Wed, 30 Aug 2017 15:42:34 +0000
with message-id <[email protected]>
and subject line Bug#863089: fixed in piuparts 0.79
has caused the Debian Bug report #863089,
regarding Please provide post-processed logs output for manpages.d.o
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
863089: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863089
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: piuparts
Severity: wishlist

This is in relation to https://bugs.debian.org/850917, where we added
code to log update-alternatives calls.

Now that the calls are logged, we need to somehow make Debiman aware
of the calls. To that end, I wrote a program which will read all
available logs, parse all LOG-ALTERNATIVES lines, and generate a JSON
file with the links created by the various binary packages.

Find the source of that program at
https://github.com/Debian/debiman/blob/b4d79f84b34abfc59effcd85c78541ce8f572b4b/cmd/debiman-piuparts-distill/piuparts.go

I then ran the program like so on piuparts.debian.org:

% debiman-piuparts-distill \
    -logs_dir=/srv/piuparts.debian.org/htdocs/stretch \
    -output=debiman/testing.json.gz

% debiman-piuparts-distill \
  -logs_dir=/srv/piuparts.debian.org/htdocs/sid \
  -output=debiman/unstable.json.gz

% debiman-piuparts-distill \
  -logs_dir=/srv/piuparts.debian.org/htdocs/experimental \
  -output=debiman/experimental.json.gz

% debiman-piuparts-distill \
  -logs_dir=/srv/piuparts.debian.org/htdocs/jessie \
  -output=debiman/stable.json.gz

I then copied debiman/*.json.gz over to manziarly.debian.org,
re-generated the entire site, and slave alternative manpages now work
as expected :).

Obviously, the above was a one-off manual effort, so now we should
discuss how we’d like to set things up for a more permanent export.

Here’s a strawman proposal. We could:

1. Add a crontab entry, which triggers a shell script, which will
   update debiman-piuparts-distill, then run it on the logs
   directories.

2. Store the resulting *.json.gz files in a directory called
   /srv/piuparts.debian.org/htdocs/for-manpages.d.o

3. Download the files via HTTPS on manziarly.d.o.

Step ① requires installing the Go compiler
(https://packages.debian.org/stretch/golang-go) on piuparts.d.o. We
could avoid this if we’re all okay with just copying the
debiman-piuparts-distill binary onto piuparts.d.o, but referring to
e.g. /home/stapelberg/debiman-piuparts-distill from a cronjob within
the piuparts git repository feels somewhat unclean.

Any thoughts? Would you be okay with my strawman? If so, I’ll prepare
a patch.

--- End Message ---
--- Begin Message ---
Source: piuparts
Source-Version: 0.79

We believe that the bug you reported is fixed in the latest version of
piuparts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <[email protected]> (supplier of updated piuparts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 30 Aug 2017 15:31:34 +0200
Source: piuparts
Binary: piuparts piuparts-master piuparts-slave piuparts-common
Architecture: source
Version: 0.79
Distribution: unstable
Urgency: medium
Maintainer: piuparts developers team <[email protected]>
Changed-By: Holger Levsen <[email protected]>
Description:
 piuparts   - .deb package installation, upgrading, and removal testing tool
 piuparts-common - common piuparts components
 piuparts-master - piuparts master components
 piuparts-slave - piuparts slave components
Closes: 863089
Changes:
 piuparts (0.79) unstable; urgency=medium
 .
   [ Holger Levsen ]
   * slave-run: properly delete all screenlogs from previous runs.
   * Bump standards version to 4.1.0, change priority from extra to optional.
   * Depend on debhelper >= 10.2.5~ and bump debian/compat to 10.
 .
   [ Andreas Beckmann ]
   * piuparts.py:
     - Do not ignore errors while purging packages.
     - Add post_test_* custom scripts. These are run exactly once at the end
       of each test (before comparing with the reference chroot state).
     - is_testable_* custom scripts can use return value '2' to make a test
       fail without actually installing the package. Use for (unfixable)
       packages that would fail anyway, but are resource hogs or otherwise
       break piuparts.
     - Silence diff_meta_data() for "others" for --warn-on-others.
     - Store the initial package selections in the --save-end-meta meta-data
       and ignore meta-data from --end-meta if these selections don't match,
       e.g. due to different fake-essential package sets.
     - Let debsums always ignore obsolete conffiles.
     - Run debootstrap with --no-merged-usr.
   * distros.conf:
     - Add wheezy-lts as a full distro.
   * piuparts.conf:
     - Use relative expiration ages.
     - Use wheezy-lts as upgrade target and rename sections:
       + [wheezy2proposed] => [wheezy2lts]
       + [squeeze2wheezy-proposed] => [squeeze2wheezy-lts]
     - [squeeze2bpo2wheezy]: Use wheezy-lts as final upgrade target.
   * piuparts.conf.anbe: Add some more example sections.
   * Move some exceptions to scripts/{pre,post}_test_exceptions.
   * scripts/post_distupgrade_base_cleanup: Remove pinentry-curses from the
     stretch (--install-recommends) reference chroot.
   * scripts/is_testable_uninstallable:
     - squeeze: Skip and fail install of mini-buildd-{bld,rep}.
     - jessie->stretch: Skip distupgrade of arden:i386.
   * scripts/pre_distupgrade_zz_database-server: Improve some upgrade paths.
   * scripts/post_purge_exceptions:
     - Restore /usr/lib/sasl2/ disappearing on some jessie->stretch upgrades.
   * Add/update exceptions for some ancient packages.
   * master-bin/reschedule_oldest_logs: Expiration age values starting with "+"
     are relative to the rescheduling age.
   * master-bin/detect_network_issues: Detect appstream metadata errors.
   * master-bin/rotate_master_logs: New daily cronjob to rotate and compress
     (with one day of delay) master logfiles larger than 1 MB.
   * slave_run: Ensure screen is run with SHELL=/bin/bash.
   * Makefile: Split build and install targets between master and slave.
   * Bump debsums dependency to (>= 2.2.2~) for --ignore-obsolete.
   * Depend on mount, no longer essential.
 .
   [ Michael Stapelberg ]
   * helpers/debiman-piuparts-distill: New helper for parsing the output
     generated from scripts-log-alternatives.  (Closes: #863089)
   * master-bin/distill_alternatives_log: Run debiman-piuparts-distill on the
     sections that use scripts-log-alternatives. Runs as a daily cronjob.
Checksums-Sha1:
 cd9cfbe0e1d71d93a880f937fdf95c38f47b1a51 2045 piuparts_0.79.dsc
 e99180326be96049cfb7f99bd471f8f98839a62d 262537 piuparts_0.79.tar.gz
 f32ddbbc8e1b34e2bef1a0d556712e10e14f57cb 7883 piuparts_0.79_source.buildinfo
Checksums-Sha256:
 c215b831b01f772b193c168d53e1455dc06a5169f27ffb87ec867b95c0e283a4 2045 
piuparts_0.79.dsc
 8790fdc7a93c2aa7a69b8ceaed9581aa24f6797176d02383d75706c7917c428a 262537 
piuparts_0.79.tar.gz
 3722abdf61cb2e4cc5a4e1c3fb7fe5e849f348d847c3e87db048676b12fbb001 7883 
piuparts_0.79_source.buildinfo
Files:
 08c4d8977143d68fd077accadeb88bb6 2045 devel optional piuparts_0.79.dsc
 155b3ab4c018ed874bbaee96cec68d4f 262537 devel optional piuparts_0.79.tar.gz
 c31b08e0364f6458568e88171322733a 7883 devel optional 
piuparts_0.79_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAlmmxGsSHGhvbGdlckBk
ZWJpYW4ub3JnAAoJEAkauFYGmqocvwMQAKxzeKd85zN50EKb2/Gr4muAwODsAlit
JdbKh+DGfig9I3IX5yOs6JxmuQcAvh51rmSZl41SruPrr4r0Tw4jWNYfcL5lXxji
dUFYKkGUca/mGKl0EIz2vs+34ZYD6j9vZlE4U7F+9d+zcf1/XEkLfnHYU+XDXp/R
JAbF6MpmBB2I/QvVqEE3nxKfFNAWaEfyV55qfAdupF1Tayrf3+L1Wvy1kYqAFcsW
eGEyqhmBSQx5zXxnr61VLnrfwtG/Dqh16APNY3udW26ovu84o5NzT6843YVibpaw
4HcDV818TeQuiz2TNvV0eWP99pvL5YAmrosfEaUXx+9WBvRCHZ4+UQgGAJCa4byt
mVSwoBU1aG0Ub4ULJypwC419fv33OSSOH9jrKUQ57SUQwqYbGhCqqKJqPasxWzp+
dVx8SkYyXT920lYnaQRo2zayenQz8WtZvpKX8SiyNEyavtXR6TiExfXz/4Y0YjJh
Y8D2UbVrJzlU1NSpP46HPCmlFlkaarKWMCDt4GcmWgZfuxD7VyQpJB0ICuBQM0tM
DmmtzmmXy98l2CMV4qKFgaqxRCbtkCWObX4fpWAiTIZ76lFbiOH+fCA8DWs2O1LB
sHeF6cXlis4pGkdlyjxKhy/KO/kK3AmWtLxzsDq1YtjCqKp/PBl5/qm9VykYEprA
l53yGCXYfDYZ
=kKxD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to