Add missing tag parameter in git SRC_URI
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v14 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | scripts/contrib: add helper to report and fix missing SRC_URI ;tag=scripts/ | +483 | 0 replies | |
| 2/4 | meta: Add tag in SRC_URI to multiple recipesmeta/ meta/ meta/ +45 more | +48 | 0 replies | |
| 3/4 | cryptodev-linux: add +git to versionmeta/ | +1 | 0 replies | |
| 4/4 | xmlto: correct srcrev to point to released versionmeta/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] Add missing tag parameter in git SRC_URI
From: Daniel Turull <[email protected]>
Create a script to systematically check and add tag= into SRC_URI to track releases together with SRC_URI
And update all recipes with missing tag that I can verify with the default build with -c fetch and do_unpack
For reference, this provives:
1. Human-readable provenance
tag= documents which upstream release the recipe is tracking.
Without it, you have a bare SHA hash in SRCREV and no machine-readable indication of whether that commit corresponds to v1.2.3
or just some arbitrary point on the branch. tag= makes the recipe self-documenting.
2. Fetcher-level verification
When tag= is specified, the fetcher can verify that the tag actually resolves to the SRCREV commit. This provides a sanity check — if someone bumps PV but forgets to update SRCREV (or vice versa), the mismatch will be caught at fetch time rather than silently building the wrong source.
The script has been done with AI, which probably makes it bigger than it should but it covers corner cases. All patches in the series are independent.
Done on top of master-next
---
v2: rename patch using meta as target
Daniel Turull (4):
scripts/contrib: add helper to report and fix missing SRC_URI ;tag=
meta: Add tag in SRC_URI to multiple recipes
cryptodev-linux: add +git to version
xmlto: correct srcrev to point to released version
meta/recipes-bsp/efibootmgr/efibootmgr_18.bb | 2 +- meta/recipes-bsp/efivar/efivar_39.bb | 2 +- meta/recipes-bsp/gnu-efi/gnu-efi_4.0.4.bb | 2 +- .../avahi/avahi-libnss-mdns_0.15.1.bb | 2 +- .../connman/connman-gnome_0.7.bb | 2 +- meta/recipes-connectivity/neard/neard_0.20.bb | 2 +- .../slirp/libslirp_4.9.3.bb | 2 +- meta/recipes-core/seatd/seatd_0.9.3.bb | 2 +- .../sysfsutils/sysfsutils_2.1.1.bb | 2 +- .../bootchart2/bootchart2_0.14.9.bb | 2 +- meta/recipes-devtools/distcc/distcc_3.4.bb | 2 +- meta/recipes-devtools/dnf/dnf_4.24.0.bb | 2 +- meta/recipes-devtools/e2fsprogs/e2fsprogs.inc | 2 +- meta/recipes-devtools/libdnf/libdnf_0.75.0.bb | 2 +- meta/recipes-devtools/mtd/mtd-utils_2.3.1.bb | 2 +- .../opkg-utils/opkg-utils_0.7.0.bb | 2 +- .../recipes-devtools/patchelf/patchelf_git.bb | 2 +- .../python/python3-dtc_1.8.1.bb | 2 +- .../python/python3-pefile_2024.8.26.bb | 2 +- ...-check-update-cvelist-native_2026-06-24.bb | 2 +- ...eck-update-nvd-native_2026.06.24-000003.bb | 2 +- .../systemd-bootchart_235.bb | 2 +- meta/recipes-devtools/xmlto/xmlto_0.0.29.bb | 4 +- .../asciidoc/asciidoc_10.2.1.bb | 2 +- .../cracklib/cracklib_2.10.3.bb | 2 +- .../iputils/iputils_20250605.bb | 2 +- meta/recipes-extended/libnsl/libnsl2_2.0.1.bb | 2 +- meta/recipes-extended/ltp/ltp_20260529.bb | 2 +- .../net-tools/net-tools_2.10.bb | 2 +- .../xinetd/xinetd_2.3.15.4.bb | 2 +- meta/recipes-extended/zstd/zstd_1.5.7.bb | 2 +- meta/recipes-gnome/libxmlb/libxmlb_0.3.28.bb | 2 +- .../libepoxy/libepoxy_1.5.10.bb | 2 +- .../matchbox-wm/matchbox-wm_1.2.3.bb | 2 +- meta/recipes-graphics/waffle/waffle_1.8.3.bb | 2 +- .../xorg-lib/libxcvt_0.1.3.bb | 2 +- .../recipes-kernel/blktrace/blktrace_1.3.0.bb | 2 +- meta/recipes-kernel/cryptodev/cryptodev.inc | 2 +- meta/recipes-kernel/dtc/dtc_1.8.1.bb | 2 +- meta/recipes-kernel/powertop/powertop_2.15.bb | 2 +- .../matchbox-theme-sato_0.2.bb | 2 +- .../sato-screenshot/sato-screenshot_0.3.bb | 2 +- .../gnome-desktop-testing_2021.1.bb | 2 +- .../libdisplay-info/libdisplay-info_0.3.0.bb | 2 +- .../libseccomp/libseccomp_2.6.0.bb | 2 +- meta/recipes-support/lz4/lz4_1.10.0.bb | 2 +- .../recipes-support/numactl/numactl_2.0.19.bb | 2 +- .../rng-tools/rng-tools_6.17.bb | 2 +- .../shared-mime-info_2.5.1.bb | 2 +- meta/recipes-support/xxhash/xxhash_0.8.3.bb | 2 +- scripts/contrib/check-srcuri-tag.py | 483 ++++++++++++++++++ 51 files changed, 534 insertions(+), 51 deletions(-) create mode 100755 scripts/contrib/check-srcuri-tag.py