Date: Sat, 08 Oct 2022 12:24:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266724] Mk/Uses/cargo.mk: _CARGO_GIT_SOURCES generates invalid WRKSRC with GitLab "tag" Message-ID: <bug-266724-7788-Ttz7CkYcBs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266724-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-266724-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266724 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D18052912af5ddbea5d2008e750c568d= da0d97b43 commit 18052912af5ddbea5d2008e750c568dda0d97b43 Author: Tobias Kortkamp <tobik@FreeBSD.org> AuthorDate: 2022-10-08 12:21:19 +0000 Commit: Tobias Kortkamp <tobik@FreeBSD.org> CommitDate: 2022-10-08 12:21:19 +0000 Uses/cargo: Fix invalid WRKSRC for crates fetched from GitLab with tag When using tags the archive fetched from GitLab has the corresponding commit hash appended to the directory root too. =20=20=20 snui@git+https://gitlab.com/snakedye/snui.git?tag=3Dv0.1.4\#83873f1e148a9c8= 4471c10f166c9a945a44d3e64 would result in WRKSRC_crate_snui=3D ${WRKDIR}/snui-v0.1.4 but it must be WRKSRC_crate_snui=3D=20=20=20=20=20 ${WRKDIR}/snui-v0.1.4-83873f1e148a9c84471c10f166c9a945a44d3e64 PR: 266724 Reported by: jbeich Mk/Scripts/cargo-crates-git-common.awk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266724-7788-Ttz7CkYcBs>