• Re: chroot-debianizer - Tool that automates routine work with Debian pa

    From Raphael Hertzog@21:1/5 to Kirill Rekhov on Wed Feb 12 19:00:01 2025
    XPost: linux.debian.devel.mentors

    Hi,

    On Tue, 11 Feb 2025, Kirill Rekhov wrote:
    I wrote a script called chroot-debianizer that automates routine tasks related
    to Debian package management. This tool is designed to facilitate a clean and isolated package building process in chroot environments specifically for the amd64 architecture.

    chroot-debianizer serves as a wrapper around existing tools like pbuilder, pdebuild, and debootstrap, streamlining them into a single workflow. After building a package, the tool runs various utilities such as lintian, blhc, lrc,
    duck, etc, to ensure that the package meets Debian Policy standards and is free
    from common issues. Personally, I'm too lazy to constantly launch them manually,
    so I wrote them into one script and made it more automated.

    That sounds like what the "debian_pipeline" workflow can do in https://debusine.debian.net, except that it is able to do it on multiple architectures and also run reverse dependencies autopkgtest (however it doesn't support duck nor lrc, I don't even know what lrc is...).

    https://freexian-team.pages.debian.net/debusine/reference/workflows/specs/debian-pipeline.html

    We don't have any user-friendly documentation yet, i.e. tutorial-like, to show how
    to run those workflows but the feature is basically there already and
    workflows have been run: https://debusine.debian.net/debusine/System/work-request/70965/ https://debusine.debian.net/debusine/System/work-request/72260/ https://debusine.debian.net/debusine/System/workflow/?workflow_templates=build-pipeline

    Feel free to hang out in #debusine on IRC and ask questions if you
    want to try it out. Though at this point, debusine.debian.net is only
    usable by DD, we are considering to open it up a bit more broadly in the
    not too distant future.

    Thank you for your time and consideration. I look forward to hearing your thoughts. Maybe there is already a cooler solution? but I don't know about it.

    Hopefully you will find debusine cool :-) being a web service, it also
    means that the build happen remotely.

    Cheers,
    --
    ⢀⣴⠾⠻⢶⣦⠀ 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 Soren Stoutner@21:1/5 to All on Wed Feb 12 11:22:46 2025
    XPost: linux.debian.devel.mentors

    This is a multi-part message in MIME format.

    --nextPart1825439.axiByQ7kbq
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset="utf-8"

    On Wednesday, February 12, 2025 10:51:13 AM MST Raphael Hertzog wrote:
    That sounds like what the "debian_pipeline" workflow can do in https://debusine.debian.net, except that it is able to do it on multiple architectures and also run reverse dependencies autopkgtest (however it doesn't support duck nor lrc, I don't even know what lrc is...).

    lrc is the binary executable for licenserecon.

    https://tracker.debian.org/pkg/licenserecon

    --
    Soren Stoutner
    soren@debian.org

    --nextPart1825439.axiByQ7kbq
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html; charset="utf-8"

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Wednesday, February 12, 2025 10:51:13 AM MST Raphael Hertzog wrote:</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; That sounds like what the &quot;debian_pipeline&quot; workflow can do in</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; https://debusine.debian.net, except that it is able to do it on multiple</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; architectures and also run reverse dependencies autopkgtest (however it</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; doesn't support duck nor lrc, I don't even know what lrc is...).</p>
    <br /><p styl
  • From Richard Lewis@21:1/5 to Kirill Rekhov on Thu Feb 13 23:40:01 2025
    XPost: linux.debian.devel.mentors

    Kirill Rekhov <krekhov.dev@gmail.com> writes:

    I wrote a script called chroot-debianizer that automates routine tasks related
    to Debian package management. This tool is designed to facilitate a clean and isolated package building process in chroot environments specifically for the amd64 architecture.

    There are already many such tools, what new things does this one offer?

    https://github.com/iikrllx/chroot-debianizer

    it is just a wrapper around calling pbuilder (followed by adequate,
    lintian -- it would be better to get pbuilder to support such things, if
    it cant already?), and needs to run as root.

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