Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH 0/2] support/scripts/pkg-stats: add support for version prefixes
@ 2025-04-23 13:19 Raphaël Mélotte via buildroot
  2025-04-23 13:19 ` [Buildroot] [RFC PATCH 1/2] " Raphaël Mélotte via buildroot
  2025-04-23 13:19 ` [Buildroot] [RFC PATCH 2/2] package: add *_VERSION_PREFIX to packages using prefix 'v' Raphaël Mélotte via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Raphaël Mélotte via buildroot @ 2025-04-23 13:19 UTC (permalink / raw)
  To: buildroot; +Cc: Raphaël Mélotte

I started this series as an attempt at solving pkg-stats' issue with
packages using version prefixes.
Currently pkg-stats reports these packages as outdated, even when they
actually are up to date.

In the meantime I realized that a different approach was taken in 2019
(see [1]), so it's probably a good idea to follow that route
instead. I'm still sending the series in case in can be of any use in
the future or serve as a basis for new discussions.

A new per-package variable is introduced to configure the prefix for
each package, and a second commit configures it for every packages
that uses 'v' as a prefix.

This approach is not ideal as it requires a new per-package variable
to be introduced, but it gives us the flexibility to configure
different prefixes for different packages if needed while avoiding the
two copies in DL_DIR mentioned in [2].

[1]: https://lists.buildroot.org/pipermail/buildroot/2019-June/617217.html
[2]: https://lists.buildroot.org/pipermail/buildroot/2019-June/617575.html

Raphaël Mélotte (2):
  support/scripts/pkg-stats: add support for version prefixes
  package: add *_VERSION_PREFIX to packages using prefix 'v'

 docs/manual/adding-packages-generic.adoc         |  5 +++++
 package/aardvark-dns/aardvark-dns.mk             |  1 +
 .../amazon-ecr-credential-helper.mk              |  1 +
 package/bcc/bcc.mk                               |  1 +
 package/bpftool/bpftool.mk                       |  1 +
 package/brickd/brickd.mk                         |  1 +
 package/cutekeyboard/cutekeyboard.mk             |  1 +
 .../docker-credential-gcr.mk                     |  1 +
 package/embiggen-disk/embiggen-disk.mk           |  1 +
 .../gstreamer1/gst1-interpipe/gst1-interpipe.mk  |  1 +
 package/gstreamer1/gst1-shark/gst1-shark.mk      |  1 +
 package/libcamera/libcamera.mk                   |  1 +
 package/netavark/netavark.mk                     |  1 +
 package/ogre/ogre.mk                             |  1 +
 package/open62541/open62541.mk                   |  1 +
 package/podman/podman.mk                         |  1 +
 package/python-web2py/python-web2py.mk           |  1 +
 package/signal-estimator/signal-estimator.mk     |  1 +
 .../spirv-llvm-translator.mk                     |  1 +
 package/tl-expected/tl-expected.mk               |  1 +
 support/scripts/pkg-stats                        | 16 ++++++++++++++--
 21 files changed, 38 insertions(+), 2 deletions(-)

-- 
2.49.0

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

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

end of thread, other threads:[~2025-04-23 20:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 13:19 [Buildroot] [RFC PATCH 0/2] support/scripts/pkg-stats: add support for version prefixes Raphaël Mélotte via buildroot
2025-04-23 13:19 ` [Buildroot] [RFC PATCH 1/2] " Raphaël Mélotte via buildroot
2025-04-23 13:19 ` [Buildroot] [RFC PATCH 2/2] package: add *_VERSION_PREFIX to packages using prefix 'v' Raphaël Mélotte via buildroot
2025-04-23 20:38   ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox