mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2026-01-27 10:41:26 +01:00
oe-go-mod-fetcher.py:
- Remove BB_GIT_SHALLOW_EXTRA_REFS generation - refs must be present in
ALL repositories which isn't the case for module dependencies. Instead,
use tag= parameter in individual SRC_URI entries.
- Add tag=<tagname> to SRC_URI when ref is a tag, allowing BitBake's
shallow clone to include the necessary tag (with BB_GIT_SHALLOW=1)
- Remove premature _ref_points_to_commit() check that was clearing
ref_hints before repos were fetched, preventing tag= from being added
- Fix pseudo-version verification: only use shallow fetch for actual
tags (refs/tags/...), not branch refs. Pseudo-versions with branch
refs (refs/heads/...) now correctly use unshallow path to reach
historical commits that aren't fetchable with depth=1
oe-go-mod-fetcher-hybrid.py:
- Fix duplicate SRC_URI entries when multiple modules share the same
git repo/commit (e.g., errdefs and errdefs/pkg). Track added vcs_hashes
to skip duplicates.
- Add --discovery-cache option to calculate module sizes from discovery
cache .zip files, enabling size recommendations during discover_and_generate
go-mod-discovery.bbclass:
- Add automatic hybrid mode recommendations after generate_modules,
showing module sizes and suggested --git prefixes for conversion
- Add GO_MOD_DISCOVERY_SKIP_VERIFY variable to skip commit verification
on retries (useful after fixing verification issues)
- Pass --discovery-cache to hybrid script for accurate size calculations
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
||
|---|---|---|
| .. | ||
| cni_networking.bbclass | ||
| container-host.bbclass | ||
| go-mod-discovery.bbclass | ||
| go-mod-vcs.bbclass | ||
| image-oci-sloci-image.inc | ||
| image-oci-umoci.inc | ||
| image-oci.bbclass | ||
| meta-virt-cfg.bbclass | ||
| meta-virt-container-cfg.bbclass | ||
| meta-virt-depreciated-warning.bbclass | ||
| meta-virt-hosts.bbclass | ||
| meta-virt-k8s-cfg.bbclass | ||
| meta-virt-xen-cfg.bbclass | ||
| qemuboot-testimage-network.bbclass | ||
| qemuboot-xen-defaults.bbclass | ||
| qemuboot-xen-dtb.bbclass | ||
| sanity-meta-virt.bbclass | ||
| virt_networking.bbclass | ||