From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 27 Apr 2025 16:58:46 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u93Sw-005w1v-20 for lore@lore.pengutronix.de; Sun, 27 Apr 2025 16:58:46 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1u93Sw-0006Wk-Cx; Sun, 27 Apr 2025 16:58:46 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1u93Sd-0006VP-6R; Sun, 27 Apr 2025 16:58:27 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u93Sc-002NVs-2p; Sun, 27 Apr 2025 16:58:26 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1u93Sc-00715f-2Q; Sun, 27 Apr 2025 16:58:26 +0200 Date: Sun, 27 Apr 2025 16:58:26 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: Mail-Followup-To: Bruno Thomsen , ptxdist@pengutronix.de References: <20250418113357.23654-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] [RFC PATCH] ptxdist: add repology sub command X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 > : > > > > 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 > > > --- > > > 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 |