On Fri Jul 17, 2026 at 11:32 PM CEST, John Ripple via lists.openembedded.org wrote: > Add govendor.py with two test classes that cover the behaviors fixed and > defined in go-vendor.bbclass: > > GoVendorSrcUriTests (offline, ~10 s): unit tests for go_src_uri() parsed > via bb.tinfoil; verifies the basic URI shape, path/pathmajor/subdir/replaces > encoding, and that non-git VCS omits the git-specific nobranch/protocol flags. > > GoVendorTaskTests: runs do_go_vendor once against the real recipetool-go-test > project and checks that external deps land in vendor/, *_test.go files are > excluded, pathmajor=/v5 falls back to the repo root when no v5/ subdir exists, > modules.txt is reproduced in vendor/, a local replacement (./is) appears as > a symlink, and the S/src/GO_IMPORT/vendor -> S/src/import/vendor symlink is > created. > > Exclude the govendor test recipes from world builds since they are only meant > to be built directly by the govendor test suite. > > Signed-off-by: John Ripple <[email protected]> > ---
Hi John, Thanks for your patch. > --- /dev/null > +++ b/meta-selftest/recipes-test/govendor/go-vendor-src-uri_1.0.bb > @@ -0,0 +1,17 @@ > +SUMMARY = "Selftest fixture: go_src_uri parameter variants" > +LICENSE = "CLOSED" Using "CLOSED" is now deprecated, if you rebase on today master you will see an error: WARNING: /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1874317/meta-selftest/recipes-test/govendor/go-vendor-src-uri_1.0.bb: go-vendor-src-uri: LICENSE is using "CLOSED", which is deprecated. Convert to using a license ref pointing to an actual license file, e.g. LICENSE = "LicenseRef-go-vendor-src-uri-CLOSED" Can you send a new version of this series, with the licence fixed? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#241512): https://lists.openembedded.org/g/openembedded-core/message/241512 Mute This Topic: https://lists.openembedded.org/mt/120322997/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
