Created attachment 274400 [details] text/plain Update devel/go-git from 5.10.0 to 5.19.2, and take maintainership (currently ports@). Why a plain version bump does not work -------------------------------------- Upstream moved the command line client into its own nested Go module around v5.10.1 ("cli: separate go module for cli"). cli/go-git now has its own go.mod, and the Go toolchain excludes nested modules from the parent module zip. The archive fetched via GO_MODULE=github.com/go-git/go-git/v5 therefore does not contain cli/ at all: unzip -l .../@v/v5.19.2.zip | grep cli # no matches The nested module is not published either -- proxy.golang.org returns an empty version list for github.com/go-git/go-git/cli/go-git, and there are no cli/* tags in the repository. What this patch does -------------------- - Fetch sources from GitHub by tag (USE_GITHUB, WRKSRC_SUBDIR=cli/go-git) instead of the module proxy, with dependencies pinned via GH_TUPLE. - Add files/modules.txt, generated by "go mod vendor" in cli/go-git at tag v5.19.2. GH_TUPLE lays out vendor/ but does not create the vendoring manifest, and the build fails without it under -mod=vendor. Notes ----- The CLI at tag v5.19.2 depends on github.com/go-git/go-git/v5 v5.19.1. The CLI module carries no version of its own, so the port tracks the repository tag rather than the library version. Testing ------- portlint -A: clean poudriere testport: 15.0-RELEASE amd64, 14.3-RELEASE amd64 -- in progress $ go-git version go-git (5.19.2) - build FreeBSD
*** This bug has been marked as a duplicate of bug 298162 ***