Re: git: 15d43d187799 - main - databases/redisjson: Chase USES=cargo's new git source support

From: Tobias Kortkamp <tobik_at_freebsd.org>
Date: Mon, 25 Oct 2021 19:38:09 UTC
On Mon, Oct 25, 2021 at 06:37:34PM +0000, Sergey A. Osokin wrote:
> 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?

- CARGO_CRATES is generated with make cargo-crates as before.
  Nothing really changes for maintainers.  You are not supposed to
  write those lines manually
- The URLs come straight from Cargo.lock as such the URL format is
  the one that Cargo uses for git sources
- Before the first @ is a ,-separated list of all crate names that
  are inside of the repository
- Mapping to G?_TUPLE would loose information (the crate names)
  which we need later
- Also see 2bad8d171afe848ac88585270964342a55d504ce