Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2021 18:37:34 +0000
From:      "Sergey A. Osokin" <osa@freebsd.org>
To:        Tobias Kortkamp <tobik@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 15d43d187799 - main - databases/redisjson: Chase USES=cargo's new git source support
Message-ID:  <YXb5bu/8ymAqZbUU@FreeBSD.org>
In-Reply-To: <202110250857.19P8v4v1099045@gitrepo.freebsd.org>
References:  <202110250857.19P8v4v1099045@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--hj6MSkRQBBAizCSj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Tobias,

thanks for the update of the port.

This new approach looks unclear to me, why it's better than GH_TUPLE?
So long line in the CARGO_CRATES list with the branch name, commit
and an escape symbol looks not so convenient to me.

Does that how the `make cargo-crates` generates CARGO_CRATES from now?

Thanks.

--=20
Sergey Osokin

On Mon, Oct 25, 2021 at 08:57:04AM +0000, Tobias Kortkamp wrote:
> The branch main has been updated by tobik:
>=20
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D15d43d187799cc8c11bca0d2=
09111f91599064ed
>=20
> commit 15d43d187799cc8c11bca0d209111f91599064ed
> Author:     Tobias Kortkamp <tobik@FreeBSD.org>
> AuthorDate: 2021-10-07 14:47:11 +0000
> Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
> CommitDate: 2021-10-25 08:49:08 +0000
>=20
>     databases/redisjson: Chase USES=3Dcargo's new git source support
>    =20
>     Fix USE_GITHUB usage while here.
>    =20
>     PR:             256581
> ---
>  databases/redisjson/Makefile | 16 ++++++----------
>  databases/redisjson/distinfo |  4 ++--
>  2 files changed, 8 insertions(+), 12 deletions(-)
>=20
> diff --git a/databases/redisjson/Makefile b/databases/redisjson/Makefile
> index 80645f194c9f..3a5d84d84ce8 100644
> --- a/databases/redisjson/Makefile
> +++ b/databases/redisjson/Makefile
> @@ -15,11 +15,10 @@ LICENSE_PERMS=3D	dist-mirror pkg-mirror auto-accept
>  BUILD_DEPENDS=3D	${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libclang.so:devel/=
llvm${LLVM_DEFAULT}
> =20
>  USES=3D		cargo
> -
> -USE_GITHUB=3D	nodefault
> -GH_COMMIT=3D	f6d450f
> -GH_TUPLE=3D	RedisJSON:redisjson:${GH_COMMIT}:redisjson \
> -		RedisJSON:jsonpath:14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a:jsonpath_l=
ib
> +USE_GITHUB=3D	yes
> +GH_ACCOUNT=3D	RedisJSON
> +GH_PROJECT=3D	RedisJSON
> +GH_TAGNAME=3D	f6d450f
> =20
>  CARGO_CRATES=3D	aho-corasick-0.7.15 \
>  		ansi_term-0.11.0 \
> @@ -102,11 +101,8 @@ CARGO_CRATES=3D	aho-corasick-0.7.15 \
>  		winapi-i686-pc-windows-gnu-0.4.0 \
>  		winapi-util-0.1.5 \
>  		winapi-x86_64-pc-windows-gnu-0.4.0 \
> -		wyz-0.2.0
> -
> -CARGO_USE_GITHUB=3D	yes
> -
> -WRKSRC=3D		${WRKDIR}/RedisJSON-${GH_COMMIT}
> +		wyz-0.2.0 \
> +		jsonpath_lib@git+https://github.com/RedisJSON/jsonpath.git?branch=3Dge=
neric_json_path\#14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a
> =20
>  PLIST_FILES=3D	lib/librejson.so
> =20
> diff --git a/databases/redisjson/distinfo b/databases/redisjson/distinfo
> index 27e544c2d64a..f093e98eb563 100644
> --- a/databases/redisjson/distinfo
> +++ b/databases/redisjson/distinfo
> @@ -163,7 +163,7 @@ SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.=
0.crate) =3D 712e227841d057c1
>  SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) =3D 2947998
>  SHA256 (rust/crates/wyz-0.2.0.crate) =3D 85e60b0d1b5f99db2556934e2193702=
0776a5d31520bf169e851ac44e6420214
>  SIZE (rust/crates/wyz-0.2.0.crate) =3D 12926
> -SHA256 (RedisJSON-redisjson-f6d450f_GH0.tar.gz) =3D eb46d86bad1f26939ef1=
1df12733456e9328cf381828fca61a913cfaac14beef
> -SIZE (RedisJSON-redisjson-f6d450f_GH0.tar.gz) =3D 593735
>  SHA256 (RedisJSON-jsonpath-14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a_GH0.=
tar.gz) =3D 1d3e33b0211b36b9a35ce3a4cd3da8d4109fcceb751131e1dd4e7fc00bb4e347
>  SIZE (RedisJSON-jsonpath-14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a_GH0.ta=
r.gz) =3D 448708
> +SHA256 (RedisJSON-RedisJSON-0.0.0.0.2021.10.20.01-f6d450f_GH0.tar.gz) =
=3D eb46d86bad1f26939ef11df12733456e9328cf381828fca61a913cfaac14beef
> +SIZE (RedisJSON-RedisJSON-0.0.0.0.2021.10.20.01-f6d450f_GH0.tar.gz) =3D =
593735

--hj6MSkRQBBAizCSj
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQITBAEBCgB9FiEEZTMJYdHlAQrZCsSmOBlAga+KbzQFAmF2+WpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1
MzMwOTYxRDFFNTAxMEFEOTBBQzRBNjM4MTk0MDgxQUY4QTZGMzQACgkQOBlAga+K
bzTEZwwAqCkuZYiFU/5e4nuYD4b+xoVJzdH4VYEa8JNYKtMmpEJUCPGAhtdM1zy6
06tz6wck3vAkBuF0mNKLgoiTj3TxBM8B2QYEh0AWgWfYf+ZNdZpy0S5zLXlgcb7n
zN9ow8POGUC/POvF4ihWoZoxlu/B15IPo6tglYOFbwil3gXuyd1x3L83zXhbei4h
ytG4Am4zKlbW4nPuv4s2ahfDvo8sGIHKJi6hNOP+bf6Wm4W0wEmahh+pgAwUjhRK
37FBBAm5fN99T53WwiwCgpIAYGu1jn7LFiC7PKRJYpkdD7OjJ1RYNgc33n8D/IeM
CiWgqFJe54/MtaeUfJZOZDgMNBNLtqtrt9tbRWSUg6yPS0aPAzWvOPLNBD+Q4JLW
8G0sFf12ohyR421HwbDdGIQXYFnJDMvy5mcg/hjdzpqBWJZcwkv7AwbYiXU/zn/X
ZpFH/CjP+ozjQejkrvPMdEGxL+Df00ghca3V7N5nUbmkqk8/OmDFDdO2yEvP7RAt
w6e2dm1M
=/RN2
-----END PGP SIGNATURE-----

--hj6MSkRQBBAizCSj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YXb5bu/8ymAqZbUU>