freebsd-ports/Mk/Scripts
Tobias Kortkamp 05b30a8d06 When specifying Git dependencies in Cargo.toml developers can set 3
additional keys: rev, branch, tag [1].  These are reflected in a
projects' Cargo.lock file as e.g.

git+https://github.com/servo/angle?branch=servo#a1371e8a160128677af863d1d73f150862ba42b2
git+https://github.com/rust-lang/libc?tag=0.2.26#288942e6858a4b2f8ee56338da5386263b9c4b82

Currently cargo-crates.awk generates the wrong output in these cases:

GH_TUPLE=	servo:angle?branch=servo:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc?tag=0.2.26:288942e6858a4b2f8ee56338da5386263b9c4b82:libc

Fix cargo-crates.awk to ignore the query string (except in the tag
case) and generate

GH_TUPLE=	servo:angle:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc:0.2.26:libc

instead.

[1] https://github.com/rust-lang/cargo/blob/master/src/doc/specifying-dependencies.md#specifying-dependencies-from-git-repositories

PR:		220548
Reported by:	jbeich
Reviewed by:	jbeich, mat
Differential Revision:	https://reviews.freebsd.org/D11571
2017-07-19 14:00:16 +00:00
..
actual-package-depends.sh Ease debugging of Mk/Scripts scripts. 2016-05-20 19:01:59 +00:00
cargo-crates.awk When specifying Git dependencies in Cargo.toml developers can set 3 2017-07-19 14:00:16 +00:00
check-stagedir.sh The output of tools like awk, date, sort, tr,... depends on the current 2017-01-18 13:20:31 +00:00
check-vulnerable.sh Reverse tests to decrease complexity. 2016-06-19 11:25:35 +00:00
check_leftovers.sh Ease debugging of Mk/Scripts scripts. 2016-05-20 19:01:59 +00:00
checksum.sh Use dp_DISTINFO_FILE instead of DISTINFO_FILE 2016-12-18 21:43:24 +00:00
create-manifest.sh Add a PKGMESSAGES variable that allows the framework to have more than 2016-08-03 12:45:30 +00:00
depends-list.sh Make make clean be recursive again. 2016-10-18 15:27:25 +00:00
dialog4ports.sh Ease debugging of Mk/Scripts scripts. 2016-05-20 19:01:59 +00:00
do-depends.sh Don't truncate DEPENDS_ARGS here. 2016-10-31 20:54:50 +00:00
do-fetch.sh Remove some code added in r858[1], still don't know what it was supposed to 2017-01-28 10:52:20 +00:00
do-patch.sh Implement EXTRA_PATCH_TREE. 2017-01-16 16:47:05 +00:00
do-users-groups.sh Fix using more than one files in UID_FILES and GID_FILES. 2017-07-19 11:55:46 +00:00
find-lib.sh Ease debugging of Mk/Scripts scripts. 2016-05-20 19:01:59 +00:00
functions.sh ports_env: Fix OPSYS not being exported. 2017-02-17 22:22:27 +00:00
generate-symbols.sh Add some work-in-progress scripts for splitting symbols out into PREFIX/lib/debug. 2015-10-19 17:04:33 +00:00
makesum.sh Extract the larger bsd.port.mk targets into separate scripts. 2016-05-25 15:58:31 +00:00
plist_sub_sed_sort.sh
ports_env.sh Follow-up r399170 with a script, ports_env.sh, that can be used for the purpose. 2015-10-13 00:03:10 +00:00
qa.sh qa: add check for NO_ARCH 2017-06-18 18:09:16 +00:00
security-check.awk
smart_makepatch.sh Ease debugging of Mk/Scripts scripts. 2016-05-20 19:01:59 +00:00