diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-19 15:55:42 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-03-19 15:56:06 +0000 |
| commit | b1a6d274a8cf9b2248ac708f3cd35e0d04540717 (patch) | |
| tree | 64d3bd02894d714387618ae7fee2a01e929f783b /recipes-devtools/python/python_2.7.3.bbappend | |
| parent | 6f733ac63f82cf6fdd58e2c36342495b1810c2d1 (diff) | |
| download | meta-virtualization-b1a6d274a8cf9b2248ac708f3cd35e0d04540717.tar.gz | |
go-mod-discovery/oe-go-mod-fetcher: add GO_MOD_VCS_EXCLUDE for deleted repos
Some upstream Go module repositories get deleted from GitHub (e.g.,
github.com/vtolstov/go-ioctl). While the Go module proxy still serves
cached archives, VCS mode cannot git clone a deleted repo. This causes
both do_fetch failures and generator verification failures.
Add GO_MOD_VCS_EXCLUDE recipe variable (space-separated module path
prefixes) and corresponding --exclude-module CLI flag. Excluded modules
are filtered out before verification and SRC_URI generation. Recipes
must provide a gomod:// SRC_URI entry for excluded modules as fallback.
Usage in recipe:
SRC_URI += "gomod://example.com/deleted-repo;version=v1.0.0;sha256sum=..."
GO_MOD_VCS_EXCLUDE = "example.com/deleted-repo"
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python_2.7.3.bbappend')
0 files changed, 0 insertions, 0 deletions
