meta-virtualization/scripts
Bruce Ashfield a303bf16ff scripts: add oe-go-mod-fetcher for Go module VCS resolution
Add the oe-go-mod-fetcher.py tool and supporting files for resolving
Go module dependencies via git repositories instead of module proxies.

oe-go-mod-fetcher.py:
  - Parses go.mod and go.sum to identify required modules
  - Resolves module paths to git repositories (handles vanity URLs)
  - Maps module versions to git commits
  - Generates SRC_URI entries for bitbake fetcher
  - Creates go-mod-git.inc and go-mod-cache.inc files
  - Supports monorepo detection and nested module handling
  - Caches resolution results for performance

extract-discovered-modules.py:
  - Helper script to extract module information from discovery cache
  - Used by go-mod-discovery.bbclass during build

Also adds .gitignore to exclude runtime caches from version control.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-12-08 20:57:44 -05:00
..
data scripts: add oe-go-mod-fetcher for Go module VCS resolution 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.py scripts: add oe-go-mod-fetcher for Go module VCS resolution 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