Discussion:
chroot-debianizer - Tool that automates routine work with Debian packages.
Add Reply
Kirill Rekhov
2025-02-11 18:10:01 UTC
Reply
Permalink
Hi, Dear Debian Engineers.

I hope this message finds you well. Sorry for advertising my small project.
I use this script often when working with Debian packages.

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.

I am reaching out to seek your feedback on whether this tool might be useful for
maintainers like yourselves. Your insights would be invaluable in further
refining its functionality and ensuring it meets the needs of the Debian
community.

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.

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

---
Regards, Kirill Rekhov

GPG Fingerprint:
2640 769D FDA1 AAA0 F863 D1AE 5F2C 5905 519C E0A0
Raphael Hertzog
2025-02-12 18:00:01 UTC
Reply
Permalink
Hi,
Post by Kirill Rekhov
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.
Post by Kirill Rekhov
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 <***@debian.org>
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS
Soren Stoutner
2025-02-12 18:30:02 UTC
Reply
Permalink
Post by Raphael Hertzog
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
***@debian.org
Richard Lewis
2025-02-13 22:40:01 UTC
Reply
Permalink
Post by Kirill Rekhov
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?
Post by Kirill Rekhov
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.

Loading...