On Sat, Apr 26, 2025 at 06:23:35PM +0200, Bruno Thomsen wrote: > Den lør. 26. apr. 2025 kl. 12.13 skrev Michael Olbrich > <[email protected]>: > > > > On Fri, Apr 18, 2025 at 01:33:57PM +0200, Bruno Thomsen wrote: > > > Improve ptxdist project visibility by adding it to repology. > > > > > > Generate JSON output about all packages in ptxdist for repology. > > > > > > ptxdist repology | tail -n +7 | jq > > > > > > This is just a POC for integrating ptxdist with repology. > > > > > > Add PTXdist support #1487: > > > https://github.com/repology/repology-updater/issues/1487 > > > > > > I have run this patch against ptxdist-2024.12.0 and got this output: > > > https://github.com/baxeno/ptxdist-repology/blob/main/repology.json > > > > > > Signed-off-by: Bruno Thomsen <[email protected]> > > > --- > > > Any feedback is welcome as this is a very rough implementation. > > > > Hmm, I think it makes more sense to add this to the report stuff in > > scripts/report/. That should be a pretty simple python script. > > You can still add a command and make target to call this but there is no > > need for manual parsing. > > Welcome back :)
Thanks, I've been rather busy the last few weeks... > There is a newer patch version that removes the bash script and does it all > in makefile. Maybe it should be converted to a python script. This "report" > is a bit different since it includes all ptxdist packages and not just > the packages > used in a project. No, the report includes all enabled packages. And it includes all dependencies and for images like the rootfs, all packages that are used to build the image. With all that information available in one place, it rather easy to limit what to use. I've seen the new version and really prefer the Python scripts for that kind of thing. Ist a lot more flexible. For example I'm pretty sure that most of the ignore list can by automatically generated by looking at the package (Does it have a URL?). Doing stuff like that in the Makefile is painful. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
