• coordination between lintian/piuparts/adequate

    From Serafeim (Serafi) Zanikolas@21:1/5 to All on Sun Oct 27 00:50:01 2024
    --cf64d3f2f67e35140728d97c59df34bf39a37bed592b7d3e47514aa8868a Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi lintian and piuparts folks! relatively new maintainer of adequate(1) here.

    it seems to me that it'd be useful to write down some criteria to use as guidance on how to decide where new checks should be implemented, to avoid duplication.

    source-package checks clearly belong in lintian. binary-package checks are trickier:
    - lintian is great to check requirements around mechanics (e.g. that a certain
    helper is used appropriately, rather than using ad-hoc code)
    - adequate is great to check system-wide invariants (e.g. program name
    collisions) but there's only so many of those
    - checks hermetic to the installed state of a package (e.g. #1071061 "lintian:
    Should warn if a package ships /usr/lib/python*/dist-packages/__init__.py")
    could live in either of lintian/adequate; I can't think of strong reasons
    either way; what do you think?


    browsing through lintian bugs, I've noticed some overlap with adequate:

    1.

    #658210 lintian: Check that update-alternatives --install/--remove are always used in pairs

    overlaps with:

    #909342 adequate: warn about broken alternatives

    where should this check be implemented? a lintian check would focus on mechanics
    of updating alternatives whereas adequate would focus on end-state of alternatives, so probably adequate would be a better home for this check?

    2.

    #455740 lintian: Please use desktop-file-validate

    overlaps with:

    #854208 adequate: check that Exec/Icon references in .desktop files resolve to existing files

    I did check that desktop-file-validate doesn't actually check Exec/Icon refs, so
    the q here again is where to implement the check. I think either place would be fine, would be happy to implement in adequate given how much work the lintian team already has, but don't mind either way.

    3.

    #524357 lintian: Ensure that packages providing x-window-manager register the alternative

    this check is already implemented by adequate (also for x-terminal-emulator), so
    #524357 can just be closed?


    overlap with piuparts:

    4.

    adequate has a broken-symlink tag, but piuparts detects broken symlinks on its own so disables broken-symlink checks on adequate invocations. should adequate remove broken-symlink, or piuparts drop its implementation of broken-symlink in favor of adequate's? arguably, there's some value in adequate keeping the functionality so that one could catch issues early, by running adequate as an autopkgtest.

    relevant piuparts bugs:
    #699059 divide dangling symlinks in meaningful problems and noise
    #615034 divide dangling symlinks in meaningful problems and noise

    (fwiw lintian tag package-contains-broken-symlink was removed in 2.5.41 in 2016)

    5.

    ditto for adequate obsolete-conffile -- piuparts disables it in favor of its own
    logic. it'd seem to me that the logic should stay in piuparts, given that install/uninstall/upgrade is core to what piuparts tests. so there's a case for adequate's obsolete-conffile to, if not to be dropped, to at least not run by default (since, e.g. it's useless in an autopkgtest context)

    thanks,
    serafi

    p.s. please cc me on replies

    --cf64d3f2f67e35140728d97c59df34bf39a37bed592b7d3e47514aa8868a
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmcdcJEACgkQT59tVQ7W Eiovmw/9E9UE6DeTojBs13SYrtHYQ1+o6h2Cht2XLiRC4KwTKA58EJFAwXmtH2+9 tY2qrwe3fmbKS/ucJbodR5I8axNYGBOJgMYxjl549v0UrL6yxBYwLHqZ5s/m6/cX V6fYGq4BwlpXBeuuX15xZ4Ccv3FSk2uf+1nPpGsWhmmXY6Hzqc+6Kl0mVfunS4Pi dTfKFu/bPztgkZFGaWwVS6h2BnS5azX3w/Wtq/2ZkUoJ1tBYo7p4F84iueWelUqO 3FOwyCkPlPYDQeUpm1oF0sf3bNT/miJ6kYTRjeRUXRWwd3wPPaGKyVsQWIuX0FRY 9bU3wT/QLMUf/bTCIDn6Kuu066dJDRI3EcVG/6iQnx4p9QBTUDdXaEB4N2PhvpdQ QX9XDeqv5adVi1VtkTwHh4oPrCY49o3w/nB+cochI4ddMEn7wcWMPJikxPoLniCI fb1zoB51Z21qzv3/e+IKAWtflNzWU1T96q60i28pRpPgDZ7xc3VXTiXIGIbzZ1SO 4swqPxoiEYX8m1or9eYS59Kvi+ssZQq4cQNdeYwdiA86eqF8v+oWw1Rxr6rN5o10 mBPUzqY55paWf3WjmK2cNMmsxJeVZ4ds72zt08Q35gpOeTmf3Q2CTOkV2/6NvrHO Vsnn+w7+OP6PsY1xIfmMny2hWDJlXQ7VP5CD6ZHA7wOGJX/8iIM=fIdQ
    -----END PGP SIGNATURE-----

    --cf64d3f2f67e35140728d97c59df34bf39a37bed592b7d3e47514aa8868a--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Louis-Philippe_V=C3=A9ron@21:1/5 to Richard Lewis on Tue Oct 29 16:40:01 2024
    On 2024-10-27 7 h 16 p.m., Richard Lewis wrote:
    "Serafeim (Serafi) Zanikolas" <sez@debian.org> writes:

    hi lintian and piuparts folks! relatively new maintainer of adequate(1) here.

    No-one replied so i thought i'd have a go, but i have no role in any of
    this, just a user who has also tried to understand these tools

    it seems to me that it'd be useful to write down some criteria to use as
    guidance on how to decide where new checks should be implemented, to avoid >> duplication.

    source-package checks clearly belong in lintian. binary-package checks are >> trickier:
    - lintian is great to check requirements around mechanics (e.g. that a certain
    helper is used appropriately, rather than using ad-hoc code)

    i'd think:

    lintian is static analysis, it doesnt install the deb, just looks at
    its contents vs policy

    piuparts is mostly about upgrades and removals -- and interactions
    with other debs

    this leaves adequate as "things lintian cant do as it would need the
    deb to be installed" but which dont relate to upgrades/removals

    (perhaps adequate and the "i" bit of piuparts could be merged, but
    maybe the difference is that adequate only looks at once package? and
    not sure anyone maintains piuparts any more?)

    Hi,

    Thanks for reaching out.

    I can't really speak for piuparts, but I agree with what Serafeim wrote
    for the lintian part.

    One of the strengths of lintian and piuparts is a lot of people run them
    each time they build a package. Adequate needing the package to be
    installed makes it harder to integrate in that workflow.

    Maybe if it was a feature in sbuild it would help?

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
    ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org
    ⠈⠳⣄

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Raphael Hertzog@21:1/5 to All on Tue Oct 29 17:40:01 2024
    Hello,

    On Tue, 29 Oct 2024, Louis-Philippe Véronneau wrote:
    One of the strengths of lintian and piuparts is a lot of people run them
    each time they build a package. Adequate needing the package to be installed makes it harder to integrate in that workflow.

    Maybe if it was a feature in sbuild it would help?

    Or maybe it would help if adequate could be run in a debusine task. We
    already have tasks to run lintian and piuparts but we are lacking one for adequate.

    That way running adequate could be automated as part of some standard
    debusine workflow[1] without requiring any extra change to sbuild or other tools.

    https://freexian-team.pages.debian.net/debusine/

    Cheers,

    [1] https://freexian-team.pages.debian.net/debusine/reference/devel-blueprints/debian-pipeline.html
    --
    ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hertzog@debian.org>
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
    ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Raphael Hertzog on Fri Nov 1 23:10:01 2024
    --9c51017aa614cf02c882b2897e36b9c7d8ff82f02eb8c411867ae56b95ec Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    On Tue Oct 29, 2024 at 5:39 PM CET, Raphael Hertzog wrote:
    Hello,

    On Tue, 29 Oct 2024, Louis-Philippe Véronneau wrote:
    One of the strengths of lintian and piuparts is a lot of people run them each time they build a package. Adequate needing the package to be installed
    makes it harder to integrate in that workflow.

    Maybe if it was a feature in sbuild it would help?

    Or maybe it would help if adequate could be run in a debusine task. We already have tasks to run lintian and piuparts but we are lacking one for adequate.

    thanks for the pointer to debusine. however it seems to be meant for expensive tasks, and adequate is not expensive at all. in my mind, the right context is autopkgtest (details in another response of mine in the same thread)

    thanks,
    serafi

    --9c51017aa614cf02c882b2897e36b9c7d8ff82f02eb8c411867ae56b95ec
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmclT2IACgkQT59tVQ7W Eiq/dRAAkJQycTPYmxQ/gC/+2/A89dLninuUZaKsg0g7Kf+5vLAyeghGETO2OKCO NvKML6QrhzGxAOgGuiZSgQmKnxNKu9tE7Q9kHl3gOWJY1HCo69FbR4Yve8NDqr+j b3HStPwoyMJVkWVeVZOv+a94M0KWYDJ5nJvZAEpEgLJRlrkI2CZgNQwoqKD6SVww pOa0hwdnxJytk0N2vx5xsFuPk3RIZlugsQYMq80RpTgmYL62gK1em56g6VoTSyBD hp0Gai6RybfpNUAGAUMZ0TatJnus5CbD0HIrb0kNrD1l/d7LON4//EHfRM40BCiZ i6d0kQH8qByvutbVzR5Qd6z4Ipat7FzYgOb1HUq5Q+sNzOF1vr9yduxm5UeeWaW1 pVjHmmhGPvDDhwZDT2Pk5l/oEdqlY4QbTWOtwluE5pvXmd9hxnZE3MAsrVXRvTF8 f5z7zcRxOXVU15Z3kFAKlJ+lQxQi0/uoOw6psRLwmuMPlKbdn3HmCKZW71zLaZhh tVWmaAZAYJyaooWuWLQhfDr1JOWt9cvkPezFSlOJowBhTp/HpiI7lFrUKNvkWqxZ 9dl6DxKsJ1DCT0OllzdApDFIkB92fv4/BMJ167T8EiW1KO1q9K0gHhNC/kveHz+N VHvrevB1VUxpbmIsaAIeGRUzaPqa5HEkaU6GB04oS9qtgnPIXzY=oPe+
    -----END PGP SIGNATURE-----

    --9c51017aa614cf02c882b2897e36b9c7d8ff82f02eb8c411867ae56b95ec--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to All on Fri Nov 1 23:00:01 2024
    --435f1b1eb68f4d51bd041f84ffde577a43a1a25ed210bff2f9632ffb3e4a Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi,

    On 2024-10-27 7 h 16 p.m., Richard Lewis wrote:
    "Serafeim (Serafi) Zanikolas" <sez@debian.org> writes:

    hi lintian and piuparts folks! relatively new maintainer of adequate(1) here.

    it seems to me that it'd be useful to write down some criteria to use as >> guidance on how to decide where new checks should be implemented, to avoid >> duplication.

    source-package checks clearly belong in lintian. binary-package checks are >> trickier:
    - lintian is great to check requirements around mechanics (e.g. that a certain
    helper is used appropriately, rather than using ad-hoc code)

    i'd think:

    lintian is static analysis, it doesnt install the deb, just looks at
    its contents vs policy

    piuparts is mostly about upgrades and removals -- and interactions
    with other debs

    this leaves adequate as "things lintian cant do as it would need the
    deb to be installed" but which dont relate to upgrades/removals

    adequate can be invoked for any number of specified packages including all of the locally installed ones. and unlike lintian, it's pretty fast (<10s in my very aging laptop for all packages) but that's not a fair comparison because lintian implements 100x more checks than adequate.

    (perhaps adequate and the "i" bit of piuparts could be merged, but
    maybe the difference is that adequate only looks at once package? and
    not sure anyone maintains piuparts any more?)

    piuparts invokes adequate for one package at a time (because that's how piuparts
    operates); "adequate --all" analyses all installed packages. piuparts is actively maintained (69 commits as of now, in 2024).


    On Tue Oct 29, 2024 at 4:32 PM CET, Louis-Philippe Véronneau wrote:
    Hi,

    Thanks for reaching out.

    thank you for getting back to me. it really feels like we should talk more :)


    I can't really speak for piuparts, but I agree with what Serafeim wrote
    for the lintian part.

    I take it that you'd then be okay for me to close/merge/reassign the aforementioned lintian bugs.

    One of the strengths of lintian and piuparts is a lot of people run them each time they build a package. Adequate needing the package to be
    installed makes it harder to integrate in that workflow.

    piuparts Recommends: and (if the Recommends: is honored) runs adequate so it seems contradictory to me to claim that piuparts is widely used and adequate is not. my impression is that neither piuparts nor adequate are widely used locally (the piuparts folks do run piuparts.debian.org, which is cool but has a much longer feedback loop than running the tools before upload). popcon has higher numbers for adequate, but that might be skewed by its apt hook (disabled,
    by default)

    Maybe if it was a feature in sbuild it would help?

    no need to. adequate needing the package to be installed makes it a perfect candidate for autopkgtest; /usr/share/doc/adequate/README has one-liners on
    how to use autopkgtest to run adequate on all of a source package's binary packages. however, only ~15 source packages currently use adequate with autopkgtest

    I think that there's a lack of awareness of adequate among maintainers, for good
    reason:

    - adequate is much younger than lintian, and has been orphaned for most of its
    lifetime
    - maint-guide has no mention of it (the devref on the other hand does)
    - devscripts recommends lintian but only suggests adequate

    I'd like to think that wider adoption of adequate is do-able, but first I want to convince myself that it's worth it, by:

    - first bringing clarity to what should be the boundary of features between
    lintian and adequate,
    - ensuring that that boundary leaves enough of a problem space for adequate, to
    justify having to drive wider use of adequate with all the cost that that
    would entail in maintainer attention

    anyway, I still need to think through the criteria for that boundary and this email is already a bit too long.

    thanks,
    serafi

    --435f1b1eb68f4d51bd041f84ffde577a43a1a25ed210bff2f9632ffb3e4a
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmclTq0ACgkQT59tVQ7W EiqgFg/+LAg26P8ZcFzPjYiJcecOchcFLpmN7VDKf62C0jYCVdhxO93EtZlO+CaI b571R6Ea8yqdHKsXnetKG0tMmv4ffYKOy/m8VQH4C76Lt8pOPaCgTUH8C+bVjna1 vsUojk+vnYm7JnQ+EK3BaYZzHwBgSYKoRwbuFtedXCQeJkEBOS9pI4+GBjT/p4UV Pvl1tLhNtulanC5oYvS0p7hzjD4tzZHoKj49qsMIWK8qVBcVYI6ETsBGEzc35Zqt Ner37wIrPuAATiOWZcFd4QShvvW3W3lxELfv7fdAVksPq0y07tNRcyMacTO8L6Qt yRf06ul+CVDt4cRK0P5WAgjZbyW8ufkWa4dacGGo2A+IOq9NLh9oBoxvDnVNYDnp zrzk7pBBNcRLALEd05oncQbX83N9xt9VfDGUrEOHqttTEjERJKLA520iAtM4DzDH w0sgnFoDLkIdnD7ce5ZMxY6J0D6yscYTMji4rDu7KLtgDTebqQnzJM4bF7/rdvk4 P5wLFVoQciE7Tn5qrh6xYlBWH+3bi6lylMPlEzYrkAH7pYcGh1Ufh9yND9m80+Os Y997+lOD4J19c7yLaPin4Qe1C99stDP/uJ1+bJfME2lLC7UJ6hUwSSFQRscs1uqK 8b15MpjrP7JCXxNuoaBfBqOCDVMAq8CFNePTGKBeAFbKn3m/p84=Q0JA
    -----END PGP SIGNATURE-----

    --435f1b1eb68f4d51bd041f84ffde577a43a1a25ed210bff2f9632ffb3e4a--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Raphael Hertzog@21:1/5 to All on Mon Nov 4 14:30:01 2024
    Hello,

    On Fri, 01 Nov 2024, Serafeim (Serafi) Zanikolas wrote:
    Or maybe it would help if adequate could be run in a debusine task. We already have tasks to run lintian and piuparts but we are lacking one for adequate.

    thanks for the pointer to debusine. however it seems to be meant for expensive
    tasks, and adequate is not expensive at all. in my mind, the right context is autopkgtest (details in another response of mine in the same thread)

    It's not restricted to expensive tasks. And expensive depends a bit on
    your point of view. Setting up a clean chroot where to install the package
    and then run adequate can be considered as expensive by some developers
    that would not have the proper environment ready to use.

    Which is certainly one of the reason why piuparts is also not widely used
    by maintainers prior to upload. And it's precisely that kind of gap in the
    test coverage that debusine wants to fill.

    I understand that autopkgtest's test infrastructure is ideal to run
    adequate but I question the usefulness of adding manual tests to each
    source package just to run adequate. If anything, it should hook with
    something like autodep8 (i.e. auto-generated tests).

    Cheers,
    --
    ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hertzog@debian.org>
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
    ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS

    -----BEGIN PGP SIGNATURE-----
    Comment: Signed by Raphael Hertzog

    iQEzBAABCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAmcoylkACgkQA4gdq+vC mrkJ8gf+KCVAi/oJc0JEPhCisbP0nodJ4YdwnFT/R/FXB6ADaxemMtWSoXeLKGdo r9blWJBk28GRKyTZ2SPihtRZGsu/JncsjTpx8LOtCT+/gt1XwDf1kPsveey2n0yY Uoyfxj1dCQ3bPnoLY1KrqgsN+u4JE4sZu9x68I2dt8rVsGq7lLjYNY0cDIeDtjkJ A+UOVOLG+B0nGmzoHfV+dTidxe33fXcu+bZlE/rwWJ640EXdLxAPlJX4xYJzWTbf nhGnzLxbA6oPNGQ43vfvSai+8XCIxuuTTNtd6HNrtmHVxjOkaqHZZ3hiDovukopP DEGiHY7ZlltgNM6Q5TJXuB9AHP1tJQ==
    =3zOz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Raphael Hertzog on Mon Nov 4 22:20:01 2024
    --9c22ea6409839d1b6b48ddb746db3712d221fbe61ace3d652d24f744b126 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Raphael, thanks for your reply.

    On Mon Nov 4, 2024 at 2:21 PM CET, Raphael Hertzog wrote:
    Hello,

    On Fri, 01 Nov 2024, Serafeim (Serafi) Zanikolas wrote:
    Or maybe it would help if adequate could be run in a debusine task. We already have tasks to run lintian and piuparts but we are lacking one for adequate.

    thanks for the pointer to debusine. however it seems to be meant for expensive
    tasks, and adequate is not expensive at all. in my mind, the right context is
    autopkgtest (details in another response of mine in the same thread)

    It's not restricted to expensive tasks. And expensive depends a bit on
    your point of view. Setting up a clean chroot where to install the package and then run adequate can be considered as expensive by some developers
    that would not have the proper environment ready to use.

    Which is certainly one of the reason why piuparts is also not widely used
    by maintainers prior to upload. And it's precisely that kind of gap in the test coverage that debusine wants to fill.

    ack. in the case of adequate, the complexity/cost is almost entirely in whatever
    is needed to run dep8 tests locally, and it'd be unrealistic to expect maintainers who don't already do so, to change just for adequate. now, if debusine helps to reduce that friction, great!

    I understand that autopkgtest's test infrastructure is ideal to run
    adequate but I question the usefulness of adding manual tests to each
    source package just to run adequate. If anything, it should hook with something like autodep8 (i.e. auto-generated tests).

    fully agree. that's what I had in mind conceptually, but was not aware of autodep8. thanks for that pointer!

    --9c22ea6409839d1b6b48ddb746db3712d221fbe61ace3d652d24f744b126
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmcpOIUACgkQT59tVQ7W EiovHBAAm4UdC3H60bm8KFH8vS9uEiWTHGmmaFZWRuku1JtTpLqWn4t08EDfgBrT nru7lzR4OBWNlYPOY7j2JaYiOzMVI7aokSmwfF5V5aQYmbVnHMZ3wC7fcPYJ4zzS YTb39lD+d+cjub+yPEr3qT9I9DYNGeUhP5R6HP+8XLHOlezVrJWg5DFhcrHu36rF OL5W/nX5mjgzg2v1kqot6qZnHkqv61IuZTUDWXgYoalXd/8cgMkmpEA+g81mr1Cb YIrojWTpH1i+Hy13EJ2M/RSaHZMi4t5/0LN8L15k7C0eTf3IMKeYE8YkGjXwDiP1 4in8h+9L5yRtQEts8mGAGc6jdGFSAgi/AO0NQWCqBPQG3GdJL5ko4Fc7JJR/mz8L kZ1e6GntNvATRKOSi+ex5VI+j/atRpNJKI3VUmhatYHF1qejeTAgQzGyS73UHLuE z6W5a4WU3D96nI//ryqUInN/B7Bmqj4GsrUgyPSXZINrrmGQiZOxZHRwBHVRCnWq QuV9nI1hLDY7SU2VrPnPZFTpQBV7nIAda6mSvjDn1uwZW8uMVirTTkY6SST7hUy5 nuFa5faQeEpQ8EtFuL7zLB+OUAbsb36vtyPdJe3dJxvmuT1UdavddLfkJaX9UNft Gg2sX0iQ73qUAQl2trps+WaKQeIJrQVwnWThvfNfkLi6VpvZ/lE=BN31
    -----END PGP SIGNATURE-----

    --9c22ea6409839d1b6b48ddb746db3712d221fbe61ace3d652d24f744b126--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Diederik de Haas@21:1/5 to Raphael Hertzog on Tue Nov 5 15:00:01 2024
    --b5f544a4184fceffbf05beceab6b387beb12561f82181a64b202b1aa2506 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    On Mon Nov 4, 2024 at 2:21 PM CET, Raphael Hertzog wrote:
    On Fri, 01 Nov 2024, Serafeim (Serafi) Zanikolas wrote:
    Or maybe it would help if adequate could be run in a debusine task. We already have tasks to run lintian and piuparts but we are lacking one for adequate.

    thanks for the pointer to debusine. however it seems to be meant for expensive
    tasks, and adequate is not expensive at all. in my mind, the right context is
    autopkgtest (details in another response of mine in the same thread)

    It's not restricted to expensive tasks. And expensive depends a bit on
    your point of view. Setting up a clean chroot where to install the package and then run adequate can be considered as expensive by some developers
    that would not have the proper environment ready to use.

    Which is certainly one of the reason why piuparts is also not widely used
    by maintainers prior to upload. And it's precisely that kind of gap in the test coverage that debusine wants to fill.

    I understand that autopkgtest's test infrastructure is ideal to run
    adequate but I question the usefulness of adding manual tests to each
    source package just to run adequate. If anything, it should hook with something like autodep8 (i.e. auto-generated tests).

    Why not create a Salsa CI job and add it to the default pipeline?
    I think most people who use Salsa's CI use the default pipeline, so this
    seems like a very low friction way of getting people to run adequate
    tests? Maintainers won't have to change anything on their side.

    The default pipeline already has a job for autopkgtest (but it doesn't
    seem to run adequate), lintian and piuparts, so it seems like an
    excellent fit.

    --b5f544a4184fceffbf05beceab6b387beb12561f82181a64b202b1aa2506
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZyoikQAKCRDXblvOeH7b bt6xAP4zLzpgAJoFBhBjbszZBe3fjFBHDyp4/7YNC2ZfWnOWzgD/e6gH3iFlSU3h G29rU0Igb9rwq6RY1H36YJ4sNEcLMwQ=fZie
    -----END PGP SIGNATURE-----

    --b5f544a4184fceffbf05beceab6b387beb12561f82181a64b202b1aa2506--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Diederik de Haas on Tue Nov 5 22:20:01 2024
    --e5e5a2baf271ce31af31a0787edf939f295766584e1c3a0e48cc388e2fc1 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Diederik, thanks for your suggestions :)

    On Tue Nov 5, 2024 at 2:50 PM CET, Diederik de Haas wrote:
    [..]
    Why not create a Salsa CI job and add it to the default pipeline?
    I think most people who use Salsa's CI use the default pipeline, so this seems like a very low friction way of getting people to run adequate
    tests? Maintainers won't have to change anything on their side.

    The default pipeline already has a job for autopkgtest (but it doesn't
    seem to run adequate), lintian and piuparts, so it seems like an
    excellent fit.

    that's a great idea! technically, piuparts can run adequate but it's disabled in
    the piuparts job, so I'll give that a try first (we can always fall back to adding a dedicated adequate job if that causes any issues)

    regardless, until DEP-18 really takes off (and I surely hope it will), I think it'd still be useful to have an autodep8 test (not least because an autopkgtest failure blocks migration to testing, while a broken CI does not)

    tangential sidenote: a package with defined autopkgtests gets baked in unstable for 2 days (rather than 5); it'd make sense to me that a package with configured
    and passing CI status should also get that favorable treatment, and a failing CI
    status should block migration to testing)

    thanks,
    serafi

    --e5e5a2baf271ce31af31a0787edf939f295766584e1c3a0e48cc388e2fc1
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmcqiaEACgkQT59tVQ7W EirZRg//X6IQJUVO1gG/wtNMupVFIa0twwDrhtE6nDn8/vqQqovkj/rGoT8Ezh7A yuYxrRnjYHb5Eel7joHNn5dMprJghOcw3N8t1ZFY1cepq64yWU3J5TqTzUnofTVh iWaG2exUECUHqTghnQ9TBDAOundwxTuTszM98oiYaLakMw0qXUa9qbRvPnTMgjlI Iyzjn3RIajH4uf85i4zPHH4fZJjF+aJDq9UxHy2P5dZEo0p4CejZpkRKKLKaY62p RxO+NyW4fHB0NEkSWCzUO9doaQNL0bPRtImPaWOLaqWuhJvfcMS2AxZrRUmFqART YAg2Zmy6VL2JJ6MDjEE65wRtlCtezWrSer2yP3GWFZ0XtVS00sDN584DW4mOVuxa iebbl9F2CGnUYFOZzqckx/A8ueI0uSs0CV2yjGrLTrvwV/4dkLJ2jducq+GfH4oJ 8QGWJmrXnEIxE8pofIANbFgY7GBAmpf82x7G0Cek3cAU9TO+QF1HiA4oicmO9pOi IOo33n/IV676TCbx91AHiBDS/z6F8Ur9BZWoCnC+IxrAb3WsxnNtH051bIkzThGQ WxfHOnmE86S4p0tfHCDXTsU1mTU/RpAaAx0XZtlTRRpwnwCaE16Yfb6pyxS6ens+ BCaXy0tvgw3+HqrVSg2Vv8Xdnl6C1wc+1kpgEsUXYTo4mW/BEUwCb
    -----END PGP SIGNATURE-----

    --e5e5a2baf271ce31af31a0787edf939f295766584e1c3a0e48cc388e2fc1--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Diederik de Haas@21:1/5 to All on Tue Nov 5 23:00:01 2024
    --b0c73c9819a5af030e330e25f84a0b21758f6161fb918592c0baef0e8cef Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    Hi,

    On Tue Nov 5, 2024 at 10:09 PM CET, Serafeim (Serafi) Zanikolas wrote:
    hi Diederik, thanks for your suggestions :)

    You're welcome :)

    On Tue Nov 5, 2024 at 2:50 PM CET, Diederik de Haas wrote:
    [..]
    Why not create a Salsa CI job and add it to the default pipeline?
    I think most people who use Salsa's CI use the default pipeline, so this seems like a very low friction way of getting people to run adequate
    tests? Maintainers won't have to change anything on their side.

    The default pipeline already has a job for autopkgtest (but it doesn't
    seem to run adequate), lintian and piuparts, so it seems like an
    excellent fit.

    that's a great idea! technically, piuparts can run adequate but it's disabled in
    the piuparts job, so I'll give that a try first (we can always fall back to adding a dedicated adequate job if that causes any issues)

    I just took a quick look at the piuparts Salsa CI job definition, but I
    didn't see anything related to adequate? https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml

    But I'd prefer and recommend to make it a separate Salsa CI job and not
    (try to) integrate it into another.
    FWIW: not just wrt adequate, but with every (such) job

    regardless, until DEP-18 really takes off (and I surely hope it will), I think
    it'd still be useful to have an autodep8 test (not least because an autopkgtest
    failure blocks migration to testing, while a broken CI does not)

    tangential sidenote: a package with defined autopkgtests gets baked in unstable
    for 2 days (rather than 5); it'd make sense to me that a package with configured
    and passing CI status should also get that favorable treatment, and a failing CI
    status should block migration to testing)

    I think CI in general is *very* beneficial, but I'm aware and understand
    that not everyone is a fan of it or Salsa in general.
    There's a lot more to it, but it's probably best to leave that out of
    this discussion.

    My 0.02

    --b0c73c9819a5af030e330e25f84a0b21758f6161fb918592c0baef0e8cef
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZyqSEQAKCRDXblvOeH7b bt56AQD4z6K9M1IP7UZ1p6KIZGAyYa9OJjgd6myNSnOLKu6SfgEA6tP79tKai2By fWbhj1bWchLPoHyijo6OF1Jgm5OhXgI=gv2Z
    -----END PGP SIGNATURE-----

    --b0c73c9819a5af030e330e25f84a0b21758f6161fb918592c0baef0e8cef--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Diederik de Haas on Tue Nov 5 23:50:01 2024
    --01945c8d318a9ca39702cbb9b677e1065d4fcb4bd01f51f11e6aca300b0d Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    On Tue Nov 5, 2024 at 10:45 PM CET, Diederik de Haas wrote:

    On Tue Nov 5, 2024 at 10:09 PM CET, Serafeim (Serafi) Zanikolas wrote:
    On Tue Nov 5, 2024 at 2:50 PM CET, Diederik de Haas wrote:
    [..]
    that's a great idea! technically, piuparts can run adequate but it's disabled in
    the piuparts job, so I'll give that a try first (we can always fall back to adding a dedicated adequate job if that causes any issues)

    I just took a quick look at the piuparts Salsa CI job definition, but I didn't see anything related to adequate? https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml

    piuparts by default runs adequate if installed (which is not the case in the piuparts job) but treats adequate errors as non-fatal: https://sources.debian.org/src/piuparts/1.4.4/piuparts.py/#L1649 https://sources.debian.org/src/piuparts/1.4.4/piuparts.py/#L3356

    (piuparts in the context of the piuparts service does run adequate, so this is a
    well exercised code path, e.g. see https://piuparts.debian.org/trixie/)

    But I'd prefer and recommend to make it a separate Salsa CI job and not
    (try to) integrate it into another.
    FWIW: not just wrt adequate, but with every (such) job

    I'm fine with adding a dedicated adequate job, if you feel strongly about this. meanwhile, fwiw, I've already prepared a MR to make piuparts fail on adequate errors:
    https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/558

    I understand that the former would be cleaner, while the latter is slightly easier to implement.

    tangential sidenote: a package with defined autopkgtests gets baked in unstable
    for 2 days (rather than 5); it'd make sense to me that a package with configured
    and passing CI status should also get that favorable treatment, and a failing CI
    status should block migration to testing)

    I think CI in general is *very* beneficial, but I'm aware and understand
    that not everyone is a fan of it or Salsa in general.
    There's a lot more to it, but it's probably best to leave that out of
    this discussion.

    ack, one battle at a time :)

    --01945c8d318a9ca39702cbb9b677e1065d4fcb4bd01f51f11e6aca300b0d
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmcqnzcACgkQT59tVQ7W EirjkBAAlCu1EUgLXOwCbanIbytAlYtpMbTQGBglqAKT9zqpMnNmqZXzhveIgm2s QxMZJKkkeVlhiZWpcZOvrT8wa40LI8E1W6YtrUeAsHnYs9yyW55HU3tEUN50vOY5 VZhlfJL7JK8PGSeK4FT/pVtlaDj94QHUvcphRk41i5ZpYKWrIeJvC9msltWHwrVN Rl2SXeYYPLergEHYlNVB/JHy3qeZ/ctF+M0xjEAeSC3SY2NBLnrvpbqjQGNY3rN6 IeR/0eGYzYglRxkOHH5Z4w/kYF0pMvadFDtqclxdv5DDVTJchqB4BHRCTO3JZodc SHypG/6lLd9ISFurXH0DdBcyDX9SChmuIl2cdYkBOeDuFxua0hgcBbWJV/46Dlpb kORoWjCoeJw4JiNI/fi+CONX37hyG5iCL03XrWoXfJuXV2EXlygUGnz+lIgiZo2Z 5B4Cag7/Gzs60KaOPwYFGy4bdIfkhGa93X8H8POptmpnsqTtDP+UmbY/KWgl8aHx Pnlar4GZKbHXGU/5emPnU6EVuCrlF9kdO5sqvSx9Q6MChhdLPSHgiGpmFdQ0s+KP kY7zE02YpgPNd11adSi+dfadqurJ7bW/9Zg5h4isg4VlXuWp0jg9ZJQQ0oZ40szh fGV7uH3yZzz1CYQbEX+nkra76z2OLrHxhisCtIdd5jz9dyA7D78=ohAR
    -----END PGP SIGNATURE-----

    --01945c8d318a9ca39702cbb9b677e1065d4fcb4bd01f51f11e6aca300b0d--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to Serafeim (Serafi) Zanikolas on Mon Nov 11 20:12:18 2024
    On Tuesday, November 5, 2024 3:41:59 PM MST Serafeim (Serafi) Zanikolas wrote:
    I'm fine with adding a dedicated adequate job, if you feel strongly about this.

    In addition to adding an adequate Salsa CI job, you might also consider updating the .sbuildrc example to contain the necessary information to also run adequate (assuming it isn’t too complicated).

    https://wiki.debian.org/sbuild#Setup

    --
    Soren Stoutner
    soren@debian.org
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmcyx5IACgkQwufLJ66w tgNv4w/9GzHJUED8+QLOd0e9L5BLm79LHXc5tU6CFK493RQ+GuzmvB6FJeepBkd0 aXBcgp0E8LnlcrMcfFFjOtvKqH1yXkGmMoOUkDbVd5oBO2Tww+b+McMSnB++Efww bKfYUAqwwKGfoq3srpvfQtOOb30shA2pBQC4nkxFKLQdg2fKwuL6W8YYDQ2IIyGD Oiivufa0nodyeLu4NZOXCPeYjbLNOfmkx2v0FMOt9tmpJiq+yFtoTim2jLRVsGoU q0t/2pWTKLlBYwVsw0zFVZ+SqDgw4YuaeWLPsEbH5l3Q1vUGZsGpJ0Kxrcs8vkx7 YGLYHdG5SJpLP+IVlJnZqYrnvxb+7rJ2195FXXOTT3A6vWjW9uE0tl+klhEZQjlN yru0CA21xtaBGocCvXQjKJwuFqPQ/zYOsQpv+uV0F3krdUdh2TSfJThpP5SOtxSe VH5TuO3sOmIsqldMLATjE8iap9e7E70i/yAaDsi0TP3gxxCCy7HpGXMJmK6Avjuw K8pPR8QOgXkYZtnRZfnZ6G3qv22MmWLIGmCeaM+4OG16DYtZQfg+en8UnttlFpth V5wFvp2sILKnhy4Ppax0U0j8XuP86jVSL8pigFTriJp80WTQn3k9JVJ3QQTgesoZ HHNvAcZv+qC4letO+U5G2q0C0lgykKtL8WSe2D5jAJXHIp5agSg=
    =ZBbQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Soren Stoutner on Thu Nov 14 00:10:01 2024
    --24a1ae5170e57024039a079c1e6c5460861e608b93c6604571c8c56ed610 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Soren,

    On Tue Nov 12, 2024 at 4:12 AM CET, Soren Stoutner wrote:
    On Tuesday, November 5, 2024 3:41:59 PM MST Serafeim (Serafi) Zanikolas wrote:
    I'm fine with adding a dedicated adequate job, if you feel strongly about this.

    In addition to adding an adequate Salsa CI job, you might also consider updating the .sbuildrc example to contain the necessary information to also run adequate (assuming it isn’t too complicated).

    https://wiki.debian.org/sbuild#Setup

    that makes sense. here's the .sbuildrc snippet I came up with:

    $external_commands = {
    "chroot-cleanup-commands" => [
    [ 'apt install -y --install-recommends adequate' ],
    [ 'perl -e \'open(FH, ">", "/var/lib/adequate/pending") or die $!; while (<>) { my @c=split(" ", $_); print FH "$c[1]\n" if $c[0] eq "Package:" }; close(FH);\' %SBUILD_PKGBUILD_DIR/debian/control' ],
    [ 'adequate', '--fail', '--pending' ],
    ]
    };

    before I update the wiki, any suggestions on how to simplify? it'd be much simpler if:

    - sbuild external commands would allow for subshells:
    adequate --fail $(grep ^Binary: %SBUILD_PKGBUILD_DIR/debian/control' | cut -d: -f2)
    - sbuild would populate an escape variable with the list of built binary
    packages:
    adequate --fail %SBUILD_BINARY_PKG_NAMES

    thanks,
    serafi

    --24a1ae5170e57024039a079c1e6c5460861e608b93c6604571c8c56ed610
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmc1MagACgkQT59tVQ7W EiroKw//XMRvSg6yU5v2PzX2bJxrcK5nGztRvPvog3hg4Bz3/KOicNSnHYHNdw0T x9cykSTpQWa93x7IyTQjuhvR1nKOiBVmxi6AjT6FO0Dz2mg+RmLtPrKIS1iRTODV wT/Na9VSrjIgNn91esKTOdauV0htbzr5ltHvlybVncbxCAzLUxLfB5IFmCdyGQrY Oe6poKSiCz7uh+pS7tu+fvm2vobDd9K2jA1dn315ZOTLvsbxtgn6xmkyGCpe+BNJ bH1bSDkYhL5OVqCSUzSn3xgMx/Od2mWNKlhTscbVhjJqvaWZm+rSwiXBEusyHvmr vhcNzMaD1OvI7TUDKcoviOnCIancvBCRMUYkcM66M6GgcnPxpwIX6HCJN91OFMrA 01FLAUTJ3wB45QrXYdmxZ2rqMSjswCd6obg6mOagX/mqZTXNWcBVvWCA6KysywmM EeiKxoQ+d9LQsYCcnHvEU6TLxNFA/jcVUNeirAxSwMI3iypgxlV2wfkyn8f9uvy7 9QQhrr5Au6oyv402u4hqk5rV6ux2lxZU8EIZjskcekoiXkjHY03SYSUbacAi2/mZ K/Rjmf+q4zjyotaicmEdnJ0vWGirtu8bhyyg47iR0HPAdSR/PcTbK8p3EbCM6m4M O3J1GWbxsLo1aH7jmDXztkOMll7XDUmjkDXaOi2Mfvki+iSvRmY=gGVF
    -----END PGP SIGNATURE-----

    --24a1ae5170e57024039a079c1e6c5460861e608b93c6604571c8c56ed610--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Mon Nov 25 15:49:39 2024
    On Wednesday, November 13, 2024 4:09:28 PM MST Serafeim (Serafi) Zanikolas wrote:
    On Tue Nov 12, 2024 at 4:12 AM CET, Soren Stoutner wrote:
    In addition to adding an adequate Salsa CI job, you might also consider updating the .sbuildrc example to contain the necessary information to
    also
    run adequate (assuming it isn’t too complicated).

    https://wiki.debian.org/sbuild#Setup

    that makes sense. here's the .sbuildrc snippet I came up with:

    $external_commands = {
    "chroot-cleanup-commands" => [
    [ 'apt install -y --install-recommends adequate' ],
    [ 'perl -e \'open(FH, ">", "/var/lib/adequate/pending") or die $!; while (<>) { my @c=split(" ", $_); print FH "$c[1]\n" if $c[0] eq "Package:" }; close(FH);\' %SBUILD_PKGBUILD_DIR/debian/control' ], [ 'adequate', '--fail', '--pending' ],
    ]
    };

    before I update the wiki, any suggestions on how to simplify? it'd be much simpler if:

    - sbuild external commands would allow for subshells:
    adequate --fail $(grep ^Binary: %SBUILD_PKGBUILD_DIR/debian/control' |
    cut
    -d: -f2) - sbuild would populate an escape variable with the list of built binary packages:
    adequate --fail %SBUILD_BINARY_PKG_NAMES

    thanks,
    serafi

    The sbuild page has recently been edited to handle the new unshare backend. The current version of the adequate code on the page is as follows:

    ## run adequate(1) and fail upon policy errors. Depends on adequate >= 0.17.2. $external_commands = {
    "chroot-cleanup-commands" => [
    [ 'apt install -y --install-recommends adequate' ],
    [ ‘/usr/share/doc/adequate/examples/sbuild-hook’, ’%SBUILD_PKGBUILD_DIR’],
    ]
    };


    This code produces an error for me:

    I: Finished running 'apt install -y --install-recommends adequate'.

    /usr/share/doc/adequate/examples/sbuild-hook /<<PKGBUILDDIR>> ---------------------------------------------------------------------------------------------------

    2024/11/25 22:37:58 "dpkg-query -Wf ${binary:Package} ${Package};${Status};$ {Provides}\n -- feather-wallet" failed: exit status 1

    E: Command '/usr/share/doc/adequate/examples/sbuild-hook /<<PKGBUILDDIR>>' failed to run.



    The example code above in the email also produces an error:


    I: Finished running 'apt install -y --install-recommends adequate'.

    perl -e 'open(FH, ">", "/var/lib/adequate/pending") or die $!; while
    (<>) { my @c=split(" ", $_); print FH "$c[1]\n" if $c[0] eq "Package:" }; close(FH);' /<<PKGBUILDDIR>>/debian/control --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    I: Finished running 'perl -e 'open(FH, ">", "/var/lib/adequate/pending") or die $!; while
    (<>) { my @c=split(" ", $_); print FH "$c[1]\n" if $c[0] eq "Package:" }; close(FH);' /<<PKGBUILDDIR>>/debian/control'.

    adequate --fail --pending
    -------------------------

    2024/11/25 22:46:14 "dpkg-query -Wf ${binary:Package} ${Package};${Status};$ {Provides}\n -- feather-wallet" failed: exit status 1

    E: Command 'adequate --fail --pending' failed to run.

    Finished processing commands.



    --
    Soren Stoutner
    soren@debian.org
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmdE/wMACgkQwufLJ66w tgMEGg//WtFAtgEfU5G952xadL1FTv+0YrsYNcRZBThjR4DfYXQx9BQwYv8k7qmR wfbAtR6xfvs3zCbcrExYVqyeR5MAL6gw9uKNYnxgFTI9PccFpab9oOHgb7yMkawA muQ/Qa6+m6wywPjBGpxvwpVeDUFxsRUSBPhSvCRCb2oZARHDHsmzwqNsrIDIIqba r481shz76wEQeepm3iTaxD7iLojeaWc1bPmlGYEv7Jvr4/8qOqjsI7KH80pLix6B iGpCQoQmwIgzSj1+6Cot1L4rbBWr5n4Sd4w9X7+IbEebr4dHIDhklzZzdP6J9lmY AqRahyq1DGD96/1LyFsXTMsTv8J1LC2YXmyGLVuedn2qCYKslyKH5L1ikFSSeKvQ zuiiMIC5cm/3MSzlDYIoBrxhFFCS1Yd74NaG2x7HJThmiRHfLT4qyqQdcG/v3cJb 3ZeY27CgCKG9JjFqm1l1POjPpMU9dvmglvmdULGSWTnRfMhrIDk0eHxSqazZuQfJ iU/bfMlun2ePgiNhkWdxH9/w682AhXbaicGIkcOlEP2IZ+BhHcD8zbxDkRXBdVoA 3dbhb66/Gd2Ko89AEJVX/8pD4CYInUlnaldDcLXTXYd6FctbGyenKuAqBCwVtFAu fIR6YHGzn51x9H7C6mBqzsu1BbdFbpS4RHOgE92mmICNFvKCZJ0=
    =KfSv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Soren Stoutner on Tue Nov 26 23:10:01 2024
    --4ab87a0359c228695fbbafc47b58bb731b55bf88cd9e637856810c49562d Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Soren, thanks for feedback!

    On Mon Nov 25, 2024 at 11:49 PM CET, Soren Stoutner wrote:
    [..]
    The sbuild page has recently been edited to handle the new unshare backend. The current version of the adequate code on the page is as follows:

    ## run adequate(1) and fail upon policy errors. Depends on adequate >= 0.17.2.
    $external_commands = {
    "chroot-cleanup-commands" => [
    [ 'apt install -y --install-recommends adequate' ],
    [ ‘/usr/share/doc/adequate/examples/sbuild-hook’, ’%SBUILD_PKGBUILD_DIR’],
    ]
    };


    This code produces an error for me:

    I: Finished running 'apt install -y --install-recommends adequate'.

    /usr/share/doc/adequate/examples/sbuild-hook /<<PKGBUILDDIR>> ---------------------------------------------------------------------------------------------------

    2024/11/25 22:37:58 "dpkg-query -Wf ${binary:Package} ${Package};${Status};$ {Provides}\n -- feather-wallet" failed: exit status 1

    my bad. this fails because feather-wallet is not installed and presumably you've
    not enabled autopkgtest in sbuild (which would have the side effect of installing it). I didn't catch this because, I've only tested the script with adequate itself (doh!). I'll upload a new adequate release to make sbuild-hook install all binary packages of %SBUILD_PKGBUILD_DIR/debian/control

    meanwhile, I've rolled back the edit for now.

    thanks again,
    serafi

    --4ab87a0359c228695fbbafc47b58bb731b55bf88cd9e637856810c49562d
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmdGRtoACgkQT59tVQ7W EipcpQ/+O79k3b1qtAV8cXafpb3eWRC4aXKvyH5FtKVzAxvS4F9tH0XLwvxiRx5P jAYEUMP1mXgKhXBPyyaKfxZRYjktG+jn1I53inuAxyh+2GSQaRGTIT3fadZi0VCX SJJrhKFpWZAil4jBPqSPElWAdeE4Nksyv5CvMPrT6n5cMBVv82d100aRCSke0adQ hnH7eGot4DSXHBW6InpNLVhNgORsFDImLghCloyuZQcXlSwej1L4CSx49Wp+SRjP ckxoDjT+7FIfWpX9t+xHDhj2RkdYEBZJtdWQrA/lIrQgCeeXZvdlvlqfgKzoVhGr Vy3YJS6Hh8QxTw1MlzgZfTHWtLpoSFAZWPiYQ9iJbXiPzYupO6KWKbDtodWTN7i3 7qa+dU1n0fQk/0wjoYESn7W5bCYGP5mEELH05NB7dogP7QcAuSICcmQqO0hu9eZw M3ZA6Us9Hg5tKyo2dolzRp5bZ4Asq2GHl3Zp66Zqmym2yqf7DbeJbH7E6UP8ljPl qVGk172k30JpJ/6eS+zyWgm1YcWQi7OO6koMT6jAlBl+G0syUQd3C3h0He0cPKEs ahZTTMFLPqZ7+P8NPYVRDYu2ucUb6t7CtUj0P3dmAnZD7IL6m3VqfVH+Z2ZhoDx3 AD+4nqsu/qu3GeVOJlb8GAwMSxiovXeYyZJfvmIY5OTFSOy+Wkk=qBsM
    -----END PGP SIGNATURE-----

    --4ab87a0359c228695fbbafc47b58bb731b55bf88cd9e637856810c49562d--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Wise@21:1/5 to All on Sat Dec 7 05:20:01 2024
    On Sun, 2024-10-27 at 00:43 +0200, Serafeim (Serafi) Zanikolas wrote:

    it seems to me that it'd be useful to write down some criteria to use as guidance on how to decide where new checks should be implemented, to avoid duplication.

    Checks that can only happen after install such as cross-package checks
    should go to adequate and checks that can be done statically for a
    single binary package or all binary packages from the same source
    should go to lintian.

    - checks hermetic to the installed state of a package (e.g. #1071061 "lintian:
      Should warn if a package ships /usr/lib/python*/dist-packages/__init__.py")
      could live in either of lintian/adequate; I can't think of strong reasons   either way; what do you think?

    A check in lintian seems appropriate. The more general problem of
    detecting whole-archive file conflicts cannot be done in piuparts
    or adequate, you need something like dumat or dedup.d.n for that.
    Even that isn't going to detect conflicts created after install.

    #658210 lintian: Check that update-alternatives --install/--remove are always used in pairs
    overlaps with:
    #909342 adequate: warn about broken alternatives

    I would suggest both lintian and adequate, since lintian does not have
    a shell script parser for interpreting maintainer scripts and even if
    it did probably couldn't detect all situations that result in broken alternatives, and can't detect breakage on a system caused by a package
    from a third-party, the sysadmin or a rogue malicious program or user.

    #455740 lintian: Please use desktop-file-validate
    overlaps with:
    #854208 adequate: check that Exec/Icon references in .desktop files resolve to existing files

    Both should be implemented. Adequate since Exec/Icon references
    are potentially cross-package, but aren't always.

    #524357 lintian: Ensure that packages providing x-window-manager register the alternative
    this check is already implemented by adequate (also for x-terminal-emulator), so
    #524357 can just be closed?

    IIRC piuparts.d.o doesn't expose adequate results to tracker.d.o, while
    lintian does, and lots of people run lintian locally but not piuparts
    or adequate. So the audience for lintian is much higher than the
    audience for adequate. So having this in lintian would be useful too.

    [adequate] overlap with piuparts:

    adequate can be used in more locations than just in piuparts,
    so please keep that mind when deciding on where to add checks
    and deciding to remove checks entirely.

    adequate has a broken-symlink tag, but piuparts detects broken symlinks on its
    own so disables broken-symlink checks on adequate invocations. should adequate
    remove broken-symlink, or piuparts drop its implementation of broken-symlink in
    favor of adequate's? arguably, there's some value in adequate keeping the functionality so that one could catch issues early, by running adequate as an autopkgtest.

    Probably adequate is the logical place for this test, but adequate
    doesn't build/run on ports architectures since it moved to golang,
    so piuparts should probably keep its tests on those arches until
    adequate moves to a more portable language or golang gets ported.

    Since piuparts already runs adequate under all the package scenarios
    that autopkgtest runs tests for, there is no need for autopkgtest to
    run adequate. If anything, piuparts should run autopkgtests after it
    installs the packages and runs adequate. The current situation with
    autopkgtest seems like a bunch of layering violations to me.

    ditto for adequate obsolete-conffile -- piuparts disables it in favor of its own
    logic. it'd seem to me that the logic should stay in piuparts, given that install/uninstall/upgrade is core to what piuparts tests. so there's a case for
    adequate's obsolete-conffile to, if not to be dropped, to at least not run by default (since, e.g. it's useless in an autopkgtest context)

    Several folks use this specific test on our systems (outside piuparts)
    for filing bug reports about obsolete conffiles, so please retain it.

    --
    bye,
    pabs

    https://wiki.debian.org/PaulWise

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

    iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmdTy9oACgkQMRa6Xp/6 aaOxGw//dp0GguPZ5mLIfwAK07rWtY3bGdgntuT2ECj6iHkQKNY1nW6UNZGjg5xY n0mepPiBPYiE/UBOKzVSbMeCdoZoVIAODzi3/HWLWxhPHdm4Spfr+SvacZQU29/V ysd8SYy0w/7o+pT6hz7IE8vIdZrP5at/eatQTy7oZ/NxHn57X9TKwMy8lDoU/Glg KjVloqfh9XIjByJWCx9DimxGAv04ZBID9/kKM2UFoCIvnnsp6SNJ9Qj++FGk05FN A2gA849RNGzUSKxb3CIWKxIDNnH2zsejd7GKX6bbEjrNY1bZOugnQY3hq3/xZq/U pg4qfyEdTV9zKW2F4f73LOXn3WKbL3I4UriIjfRRfopyO2jyOT8EVzfAqW2Z/W6j O3HXtrhnXXbeIzZxP0U+dX0+h62w69cEqBLbN2jNLfnlqxggtr8bJYbSUVschYtg kUzDp76A6u4hG/yNvOrv1PVTbNsEZAF6xtlCfUhK+2z9pwhrft3UViimG74i8M2S mmBy0WOCZM2Fq27zKVq3h2ikkKvh8iA3/Eq/+s3cHSEYiVmg4Py5rKhlPXR+YYhX 8GUJwOBs8R9QOwthNiWQ2D+JyH2bc+9aNp3PQQWsxOq5dSo9ZlU8kSaOO3b7kZBo 7w4Z/JN6JOhJjIai4lTundNXxd6L48TAlbePC0VxSrQl9R5Ohx4=
    =Y3K/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Paul Wise on Tue Dec 10 21:40:01 2024
    --474770cf636a47ba3eda725e795e76e44005f079b168107aad4bb5b074b2 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Paul, thanks for the feedback. please see comments inline

    On Sat Dec 7, 2024 at 5:15 AM CET, Paul Wise wrote:
    On Sun, 2024-10-27 at 00:43 +0200, Serafeim (Serafi) Zanikolas wrote:

    it seems to me that it'd be useful to write down some criteria to use as guidance on how to decide where new checks should be implemented, to avoid duplication.

    Checks that can only happen after install such as cross-package checks
    should go to adequate and checks that can be done statically for a
    single binary package or all binary packages from the same source
    should go to lintian.

    I completely agree. the problem is that "can be done statically" is rather vague. that's why I made the distinction between "user visible effects" (e.g. dpkg-query reports orphaned conffile) vs "correctness/adequacy of employed package building mechanics" (e.g. certain helpers are called from certain maint scripts).

    - checks hermetic to the installed state of a package (e.g. #1071061 "lintian:
      Should warn if a package ships /usr/lib/python*/dist-packages/__init__.py")
      could live in either of lintian/adequate; I can't think of strong reasons
      either way; what do you think?

    A check in lintian seems appropriate. The more general problem of
    detecting whole-archive file conflicts cannot be done in piuparts
    or adequate, you need something like dumat or dedup.d.n for that.
    Even that isn't going to detect conflicts created after install.

    #658210 lintian: Check that update-alternatives --install/--remove are always used in pairs
    overlaps with:
    #909342 adequate: warn about broken alternatives

    I would suggest both lintian and adequate, since lintian does not have
    a shell script parser for interpreting maintainer scripts and even if
    it did probably couldn't detect all situations that result in broken alternatives, and can't detect breakage on a system caused by a package
    from a third-party, the sysadmin or a rogue malicious program or user.

    #455740 lintian: Please use desktop-file-validate
    overlaps with:
    #854208 adequate: check that Exec/Icon references in .desktop files resolve to existing files

    Both should be implemented. Adequate since Exec/Icon references
    are potentially cross-package, but aren't always.

    I'm not suggesting to drop already implemented checks in lintian, but given the lintian maintainer workload, I'd expect lintian maintainers to prioritise implementing can-only-by-done-by-lintian checks, over could-be-done-by-either lintian/adequate checks.

    #524357 lintian: Ensure that packages providing x-window-manager register the alternative
    this check is already implemented by adequate (also for x-terminal-emulator), so
    #524357 can just be closed?

    IIRC piuparts.d.o doesn't expose adequate results to tracker.d.o, while lintian does, and lots of people run lintian locally but not piuparts
    or adequate. So the audience for lintian is much higher than the
    audience for adequate. So having this in lintian would be useful too.

    imho that's reason to drive adequate adoption (e.g. with autodep8 and salsa ci pipeline) and make piuparts.d.o feed adequate results to tracker.d.o, rather than expect lintian maintainers to implement checks that are easier to do so (or
    already exist) in adequate)

    [adequate] overlap with piuparts:

    adequate can be used in more locations than just in piuparts,
    so please keep that mind when deciding on where to add checks
    and deciding to remove checks entirely.

    ack.

    adequate has a broken-symlink tag, but piuparts detects broken symlinks on its
    own so disables broken-symlink checks on adequate invocations. should adequate
    remove broken-symlink, or piuparts drop its implementation of broken-symlink in
    favor of adequate's? arguably, there's some value in adequate keeping the functionality so that one could catch issues early, by running adequate as an
    autopkgtest.

    Probably adequate is the logical place for this test, but adequate
    doesn't build/run on ports architectures since it moved to golang,
    so piuparts should probably keep its tests on those arches until
    adequate moves to a more portable language or golang gets ported.

    that's because unsupported ports architectures have not caught up to go 1.21, which was released ~1.5 year ago. I'd claim that that says more about the viability of those ports, than the suitability of go for Debian tooling. if you feel strongly otherwise, I'd be happy to continue this discussion with a wider audience at <D4CWM2UJBXDS.339WS39VNMVYO@debian.org> rather than reply here

    Since piuparts already runs adequate under all the package scenarios
    that autopkgtest runs tests for, there is no need for autopkgtest to
    run adequate. If anything, piuparts should run autopkgtests after it
    installs the packages and runs adequate. The current situation with autopkgtest seems like a bunch of layering violations to me.

    piuparts relies on humans to file bugs. autopkgtest on the other hand blocks package migration to testing (that is, when one does not run autopkgtst before upload). it's nice that some humans (including yourself) file bugs, but that doesn't seem viable long-term. also note, that I'm very keen to keep adequate free of false positive failures, so that people do feel comfortable running it with autopkgtest (and even then, one can selectively disable tags)

    ditto for adequate obsolete-conffile -- piuparts disables it in favor of its own
    logic. it'd seem to me that the logic should stay in piuparts, given that install/uninstall/upgrade is core to what piuparts tests. so there's a case for
    adequate's obsolete-conffile to, if not to be dropped, to at least not run by
    default (since, e.g. it's useless in an autopkgtest context)

    Several folks use this specific test on our systems (outside piuparts)
    for filing bug reports about obsolete conffiles, so please retain it.

    ack.

    thanks,
    serafi

    --474770cf636a47ba3eda725e795e76e44005f079b168107aad4bb5b074b2
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmdYpuEACgkQT59tVQ7W Eir9lBAAgQzyGsffzqrbROdi+XHhT4n+taqlPuRTEUSPLA7VgT8O9A2BxQPmYOhH M/GsAFz4lLRH+dWKHSdhSFpnqH4dGpYpRlkzpipI0vXocuQXvUH9Umg5jQwpj/Ga B942YGZm64Ajud/9fAEi3QeBjvKH/SN8llCtQg5qMoONuBTcy8VOph9xTH70Ge5N E0AIH/w90vO9oTGYjoPbKY0AcAqxETAYUOs/uejLJxiEgAmC42H8gASAK9ngCndN fn4bQRVX6vOf9HgnZOFB30F76Ogyk/65lLISTbw+cLAdwCj2KldBxOj95VdysdmP ea1MHALpu+dlx/MFeCXv1u1Qm2VNdHnn5k8uaJ5JMTkr3H8Q+XDfpqdjSb9PZovW ILUE0y5C22xnd/du/uMmwOX2pR8z3HG+UaqLM6mOQh4H3g/twZUyzf7TmTen6VLU UqIvoRlFtS+zVnaY35v1Wzz1WePuof/SQ5wixMXyoSrh3cz4T6+Envs9/IY/7vxo e5O2oVLRlqC7SJJ/iCLhPM1/oAxeI3xt4e88El0zNk04fwRpgZZyZhaKLneLCIT7 Zd8e/JRMD4OVlN4k9golpMt9LltHgpjKn94zpCDGqYuNtsw6C6zzX4aMkNOr29MV TIOymvhccxEU4AaSM7kTrML8SB+cxwA3gQbnyMlsbp31TPUQyx0=aXxh
    -----END PGP SIGNATURE-----

    --474770cf636a47ba3eda725e795e76e44005f079b168107aad4bb5b074b2--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Levsen@21:1/5 to All on Wed Dec 11 11:20:01 2024
    On Tue, Dec 10, 2024 at 09:38:57PM +0100, Serafeim (Serafi) Zanikolas wrote:
    Probably adequate is the logical place for this test, but adequate
    doesn't build/run on ports architectures since it moved to golang,
    so piuparts should probably keep its tests on those arches until
    adequate moves to a more portable language or golang gets ported.
    that's because unsupported ports architectures have not caught up to go 1.21, which was released ~1.5 year ago. I'd claim that that says more about the viability of those ports, than the suitability of go for Debian tooling. if you
    feel strongly otherwise, I'd be happy to continue this discussion with a wider
    audience at <D4CWM2UJBXDS.339WS39VNMVYO@debian.org> rather than reply here

    I dont feel strongly about this, but I'd like to point out that I
    disagree. IMO it was wrong to rewrite adequate (as any central QA tool
    for Debian) in a language which is not available *everywhere*.

    piuparts relies on humans to file bugs. autopkgtest on the other hand blocks package migration to testing (that is, when one does not run autopkgtst before
    upload). it's nice that some humans (including yourself) file bugs, but that doesn't seem viable long-term.

    90% of the piuparts bugs in the last 2 decades have been filed by 3 people, this might not seem viable long-term to you, but in practice it has been
    proven to be viable long-term.

    also: piuparts failures block migrations without anyone having to file bugs, just like autopkgtest. (oh, and for autopkgtests related bugs, there are also very few humans filing them.)


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    Any business accepting Bitcoin is participating in the human race’s suicide.

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

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmdZZkAACgkQCRq4Vgaa qhxX2w//TI+cMX17eO6EOonTrhCdDYcXd+PwTmETA0W02oZhWcnYLIkMDCByrJrd fpf6YXAYhXl8L6KgXYEhWTBjoXJULAH3/5wk40CxGHWqI/MThU4x21dPF0dsTmFC SW3HXF1UIV3sPjwyFnmWqxcNbCTldtNvUdS1+9oyRSIvzL76nMgkkBVPtQ0ggeY8 548F4i3MPX2EwTK8TedTZt3m0DUw80BasnI0WDYnrWKEX2nVLaHRXaVj6kbxZAeq h+s5ixRJd9xiXoxcD/AnNhBhKgBg9V4JpyDK0OS8eZYCAz87jRko42MPLCmCk0qA IQDdoXVO8o47Fa54B5+WU79ecyzbyLsfIVAMHku1abn3UwDr4MXsyG0/1YjcO7Vn OWsVtCvaA/SYclMcNcuZ1uU2IO+lBwgvyp4hOZAGY/ERcr06UjD9a/HEeE12ibzJ zkj1yeoUpH0x8doEoJGNyrS1Niij7dpHmX6d2UP8e/jUm5rjgDJmlLUQHrAPWpoM YRyAmvSscfM0gGpVlyMuvka+9oWhl5JXPnDCiiKzcAhQQe05zaPkV0NI8/VGhu6G U6FHxkmkUlK99QEtZ89LogUfiSBp8KxexV
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Holger Levsen on Wed Dec 11 22:20:01 2024
    --3ff5579d9785bb27d583c471e062c9ce61d137fd7a924143fd02cd3a8ac3 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Holger, thanks for the feedback.

    On Wed Dec 11, 2024 at 11:15 AM CET, Holger Levsen wrote:
    On Tue, Dec 10, 2024 at 09:38:57PM +0100, Serafeim (Serafi) Zanikolas wrote:
    Probably adequate is the logical place for this test, but adequate doesn't build/run on ports architectures since it moved to golang,
    so piuparts should probably keep its tests on those arches until
    adequate moves to a more portable language or golang gets ported.
    that's because unsupported ports architectures have not caught up to go 1.21,
    which was released ~1.5 year ago. I'd claim that that says more about the viability of those ports, than the suitability of go for Debian tooling. if you
    feel strongly otherwise, I'd be happy to continue this discussion with a wider
    audience at <D4CWM2UJBXDS.339WS39VNMVYO@debian.org> rather than reply here

    I dont feel strongly about this, but I'd like to point out that I
    disagree. IMO it was wrong to rewrite adequate (as any central QA tool
    for Debian) in a language which is not available *everywhere*.

    I'll reply separately to this (addressing -devel) because I think that this subject warrants wider visibility.

    piuparts relies on humans to file bugs. autopkgtest on the other hand blocks
    package migration to testing (that is, when one does not run autopkgtst before
    upload). it's nice that some humans (including yourself) file bugs, but that
    doesn't seem viable long-term.

    90% of the piuparts bugs in the last 2 decades have been filed by 3 people, this might not seem viable long-term to you, but in practice it has been proven to be viable long-term.

    also: piuparts failures block migrations without anyone having to file bugs, just like autopkgtest. (oh, and for autopkgtests related bugs, there are also very few humans filing them.)

    is that really the case for piuparts for adequate results? the checked-in code has "settings.warn_if_inadequate = True" so piuparts doesn't treat them as errors. if that default is overriden and adequate errors are actually reported as piuparts errors, thereby blocking migrations to testing, it'd be weird if what Paul wrote:
    IIRC piuparts.d.o doesn't expose adequate results to tracker.d.o,
    is true (as in, migration is blocked without a hint as to why)

    in any case, imho the main benefit of running adequate in piuparts is archive-wide coverage. I'd prefer to see adequate ran directly as an autodep8-style test (but fully expect that to be a slow and painful process) to avoid the downsides of piuparts:

    - I expect more people to be running pre-upload, autopkgtest than piuparts
    - adding new tags in adequate requires also updating piuparts, for the latter to
    use the new functionality (arguably this could be fixed by not hardwiring a
    tag names in piuparts)
    - configuring adequate (e.g. to disable certain checks) is much simpler
    with autopkgtest than when one has to wire things via piuparts

    thanks,
    serafi

    --3ff5579d9785bb27d583c471e062c9ce61d137fd7a924143fd02cd3a8ac3
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmdaAKkACgkQT59tVQ7W EiokABAApnIvfl/e+NuHqbss27KyS5EXNRwVX8/Ws9TWqx9zpMy39YbFYkx5Iyhk vWc1MWWhONcfXvWmwQIP4MNLtmlq8sNxzqImKVERgWPDHH6a5NxhqVs725GN0NXg BKpjVr0eaP4sT+i1NrI6S1YLfBEuDA/SBQ8rHiVOAhGaMBpz8QjiYr0JdvxUbm+X uw1hl4iIUCLU5ZeN3PY5rzpzVihmotufhVc7QL/XRn+yGZE99X0Hc/kJEjyw8jTr Mt1ghB9l/AaIlFoj7BISK37Rdwo2uWpUOfocqx638dUsEDsachn2Ph4kDW7TP/BI qBg9ovOVhyWTF+NEGhx2OAczDXSIoGO9agF4SkXEsRgh1ONOrmroMFlcUMLYfe4b K1gjmeU9jl/2oFtXUOseXGPDLQIBsbYH6hPoxHfVFpYH5ZIOamZYgx8keSF9hspi TBPon2eL/IZnCCtpNKk225cSEBJlj6VuS9FHcLAvJNBq+NynjAwWOB+ZK+w5fRSa hU3R9g7On3vG6CbRQo65wNIqewZ6G24rJymsXrr7J/u6YY2Jt81oV/0erXcFOQGg +KqN7dF0V60kXVsEfNS+ZrB1HrdqlslcKXfits3WC/MkSl2kqrFTgt7aECbeqrI1 Qj2AarFMQI0gpWoPWJEFcMlqHaGdEMb/bSsZImhlL5+3uf5KwLc=KMLp
    -----END PGP SIGNATURE-----

    --3ff5579d9785bb27d583c471e062c9ce61d137fd7a924143fd02cd3a8ac3--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Mon Jan 6 19:11:04 2025
    Serafeim,

    On Tuesday, November 26, 2024 3:08:26 PM MST Serafeim (Serafi) Zanikolas wrote:
    my bad. this fails because feather-wallet is not installed and presumably you've not enabled autopkgtest in sbuild (which would have the side effect of installing it). I didn't catch this because, I've only tested the script
    with
    adequate itself (doh!). I'll upload a new adequate release to make sbuild-hook install all binary packages of %SBUILD_PKGBUILD_DIR/debian/control

    meanwhile, I've rolled back the edit for now.

    Are things in place to be able to add adequate back into the example sbuild config.pl?

    --
    Soren Stoutner
    soren@debian.org
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmd8jTgACgkQwufLJ66w tgODUg//QGreQvIJF5uRv2/z1LHZSxH41k6Lsxfj4mxtlUglaOAPQH3KbtnAoCLG G8Mn5PJaS6KNSHlIB+DH3txb0dxG9xeR8W2gQ2fGdj5FhxUCKyABMSJxVpJP0ubo 1PAT5jopvXlcVvraO+QdkShghghsz6+33JADvfLi5RYHDGAaCG/IZS2ROTsXkozQ U6z01QM8NmTD0hqKeraZZzdQVDnQ1GAwWRgGCo+qX7eeICWGc7ChVh/zcreT9nZU pqYM9G4bUjx89J2wvxewy76FO6LZ+b1bdU7EdDa1pbFueI02Uwmw+zekKmuKtAKU nkC751ED2Qa1IiCr19O+JOnzmkay0+SKxxMo+1J4K5WIa5+v6rhAPcv7klR0VSie zaT1dYO6jEFWO64889RCL2uGsTcaGpSrtfkLCfy7k1sTIhQLDa0sBDGpKP2OiHwC MHllm2AKGf/wVhPQ9E6vo4myJdxAaEb/MWhE4j6ExLHm772TPOWyJ67ignNo8+zL I44z6tPRzUyxrFpdwJBog/ZQU5375IRXKqiG2BUuAUJK2iC+rp3CWJ6XU68J/FnF CGVyTo5AHm+1azRLzXnuW1HWZfK45IXj64H0P24lArLZnOnUYvEx94bVtB+ZInkP p4uHlu6U878ph5m20IicCbY2A05DKJaP8W6tQ194ifgYGJcQii0=
    =4cq9
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Serafeim (Serafi) Zanikolas@21:1/5 to Soren Stoutner on Fri Jan 10 22:00:01 2025
    --e9b242267db246cbcf016e66c1698dfc69d8d286486127075082ea580ec1 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    hi Soren,

    On Tue Jan 7, 2025 at 3:11 AM CET, Soren Stoutner wrote:
    Serafeim,

    On Tuesday, November 26, 2024 3:08:26 PM MST Serafeim (Serafi) Zanikolas wrote:
    my bad. this fails because feather-wallet is not installed and presumably you've not enabled autopkgtest in sbuild (which would have the side effect of
    installing it). I didn't catch this because, I've only tested the script
    with
    adequate itself (doh!). I'll upload a new adequate release to make sbuild-hook install all binary packages of %SBUILD_PKGBUILD_DIR/debian/control

    meanwhile, I've rolled back the edit for now.

    Are things in place to be able to add adequate back into the example sbuild config.pl?

    nope, sorry. I'll ping back here when I have an update.

    thanks for the nudge.
    serafi

    --e9b242267db246cbcf016e66c1698dfc69d8d286486127075082ea580ec1
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmeBiPcACgkQT59tVQ7W EiqdoBAAxO4eEGvbpbSvq1z6hjAhBmrq5COGSTYOFgVqkgzTJAmenxu6htONacQ/ PcaLuc9EhAkoVWeOiIpp8v6d9eJ3l8YhoMFM5PLk+f2AGskYDs8x1DV22fmhRYYZ tsWioNi9NjmebRxEeRG3WnPOsy9tFr7730Mgrja9j2ttzVlzqT6vXNoahWBvet7g eRW0EeNMSATMYs7AZX4tn8THa2atWQzYX1aDX8ixoNIagoPnp4mHvBRuWBlyZgM5 dACJUqNMVViNwIeD7Ka5DDItthuOUy9dOHECd+awNa3iotSxA/fBj/6NUBP3fwQ2 X2lOevvYtiZruxx3mutQ7OQq4eRRxCf/piN/D6iPE6FRm4hTWX2m7DTHmHBkpype 7ziO5ON1Q8Z4ZpdT9kKpX5ndM2mZHIUvpFGsOizvVyZAqYC8s5/njDp9wXrVIWJo HdEalX8GiODUsrO/5JQupqLg4VUxE0tj1Je52lIN2hOPFBBVPkqk/IfsalvijP5k OeK9p2vcKAY1StnojMDanDyq0JDCmr4qsTnNRTklX6tF+PMkx7ZJ5Nv97Vrz1PoA JxCuHJ9uusmNYGd5INUD5zFDkRMLPDp7MD5VHNbKamfIgAHK9WLDMgemUZAdiUE8 Y5GN1cUdoBHsP3sBiAy4KJB6NCSewJriidDBl2r5ZSKw8ppAs2c=fZR9
    -----END PGP SIGNATURE-----

    --e9b242267db246cbcf016e66c1698dfc69d8d286486127075082ea580ec1--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)