All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/6] Bugfixes for pkg-stats
@ 2026-04-26 15:33 Fiona Klute via buildroot
  2026-04-26 15:33 ` [Buildroot] [PATCH v2 1/6] support/scripts/pkg-stats: search only Config.in{, .host} for URL Fiona Klute via buildroot
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: Fiona Klute via buildroot @ 2026-04-26 15:33 UTC (permalink / raw)
  To: buildroot; +Cc: Sen Hastings, Fiona Klute

Hi everyone,

this series is a collection of small bug fixes for
support/scripts/pkg-stats, fixing bugs I bumped into checking a fairly
simple build with it:

* Incorrect upstream URLs (most notably for the Linux kernel, and I
  had a wrong one for a package in an external tree due to an Emacs
  backup file), patch 1 + 3

* Entries for *missing* upstream URL would still be links with
  href="None", patch 2

* The "infrastructure" column would list "host-* (target)" when a
  package that supports a host build is actually built only for the
  target, patch 4

Patches 5 and 6 are small fixes for the script itself (don't
unnecessarily load whole package files, allow importing the script as
a module).

I see a bunch more things that should be fixed (notably virtual
packages reporting missing license/hash info when there simply is
none, and the package parsing process itself), this is what I had time
for.

One question for possible future improvements: Is the JSON output
format documented/defined anywhere, or simply "what the script
produces, subject to change"?

Best regards,
Fiona


Changes v1 -> v2:
* Avoid glob in patch 1
* Add patches 4-6

v1: https://patchwork.ozlabs.org/project/buildroot/list/?series=501442&state=*

Fiona Klute (6):
  support/scripts/pkg-stats: search only Config.in{,.host} for URL
  support/scripts/pkg-stats: format upstream URL info consistently in
    HTML
  linux/Config.in: add kernel.org URL as BR2_LINUX_KERNEL_LATEST_VERSION
    help
  support/scripts/pkg-stats: fix host/target infra filter
  support/scripts/pkg-stats: don't buffer whole file searching for infra
  support/scripts/pkg-stats: run main function only if called as script

 linux/Config.in           |  2 ++
 support/scripts/pkg-stats | 54 ++++++++++++++++++++++-----------------
 2 files changed, 32 insertions(+), 24 deletions(-)

-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2026-05-15 17:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-26 15:33 [Buildroot] [PATCH v2 0/6] Bugfixes for pkg-stats Fiona Klute via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 1/6] support/scripts/pkg-stats: search only Config.in{, .host} for URL Fiona Klute via buildroot
2026-05-05 19:32   ` Arnout Vandecappelle via buildroot
2026-05-06 17:13     ` Fiona Klute via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 2/6] support/scripts/pkg-stats: format upstream URL info consistently in HTML Fiona Klute via buildroot
2026-05-05 19:44   ` Arnout Vandecappelle via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 3/6] linux/Config.in: add kernel.org URL as BR2_LINUX_KERNEL_LATEST_VERSION help Fiona Klute via buildroot
2026-05-05 19:45   ` Arnout Vandecappelle via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 4/6] support/scripts/pkg-stats: fix host/target infra filter Fiona Klute via buildroot
2026-05-05 19:50   ` Arnout Vandecappelle via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 5/6] support/scripts/pkg-stats: don't buffer whole file searching for infra Fiona Klute via buildroot
2026-05-05 19:53   ` Arnout Vandecappelle via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-04-26 15:33 ` [Buildroot] [PATCH v2 6/6] support/scripts/pkg-stats: run main function only if called as script Fiona Klute via buildroot
2026-05-05 19:53   ` Arnout Vandecappelle via buildroot
2026-05-15 17:46   ` Thomas Perale via buildroot
2026-05-05 19:25 ` [Buildroot] [PATCH v2 0/6] Bugfixes for pkg-stats Arnout Vandecappelle via buildroot
2026-05-06 17:49   ` Fiona Klute via buildroot
2026-05-07  8:34     ` Arnout Vandecappelle via buildroot
2026-05-07 11:55       ` Thomas Petazzoni via buildroot
2026-05-07 13:09         ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.