meta-virtualization/scripts
Bruce Ashfield 2bee001d6d go-mod: introduce hybrid mode
Introduce the ability to have hybrid gomod:// and git:// repositories.

This allows SRCREV bumping when fixing bugs, and using the git archiver
for some, all or none of the modules in a go mod project.

 Example: k3s Hybrid Conversion

 1. Ensure VCS mode works first
 bitbake k3s

 2. Get recommendations
 bitbake k3s -c go_mod_recommend

 3. Convert with recommended prefixes (keep containerd, k8s.io as git://)
 python3 ./meta-virtualization/scripts/oe-go-mod-fetcher-hybrid.py \
    --recipedir ./meta-virtualization/recipes-containers/k3s/ \
    --git "github.com/containerd,k8s.io,sigs.k8s.io,github.com/rancher"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-12-08 20:57:44 -05:00
..
data go-mod: introduce hybrid mode 2025-12-08 20:57:44 -05:00
lib/wic/plugins/source scripts: wic plugin bootimg-biosxen drop helper to reuse bootimg_pcbios 2025-07-31 13:34:50 -04:00
.gitignore scripts: add oe-go-mod-fetcher for Go module VCS resolution 2025-12-08 20:57:44 -05:00
extract-discovered-modules.py scripts: add oe-go-mod-fetcher for Go module VCS resolution 2025-12-08 20:57:44 -05:00
oe-go-mod-autogen.py scripts: adjust relocation.inc to not copy large directories 2025-04-18 13:56:50 +00:00
oe-go-mod-fetcher-hybrid.py go-mod: introduce hybrid mode 2025-12-08 20:57:44 -05:00
oe-go-mod-fetcher.py oe-go-mod-fetcher: use dereferenced tags 2025-12-08 20:57:44 -05:00
QUICKSTART-oe-go-mod-vcs.md go-mod: introduce hybrid mode 2025-12-08 20:57:44 -05:00
README-oe-go-mod-autogen.txt oe-go-mod-autogen: clarify need to update main SRCREV 2023-11-06 16:21:12 +00:00