Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle GIT_CRATES #33

Open
gyakovlev opened this issue Feb 8, 2023 · 0 comments
Open

handle GIT_CRATES #33

gyakovlev opened this issue Feb 8, 2023 · 0 comments

Comments

@gyakovlev
Copy link
Member

cargo.eclass will now support GIT_CRATES

see gentoo/gentoo#29289

cargo_ebuild could pre-fill such information. or at least provide data for templating engine to fill it via template.

gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Feb 8, 2023
This adds support for an associative array called GIT_CRATES containing any
crates that must be fetched from git rather than just cargo crates. This will
add the code to the cargo config to make sure that the locations are overridden
so cargo won't try to fetch the crates from git.

Currently it automatically handle GitHub and GitLab URIs, and will accept
arbitrary URIs.

Bug: https://bugs.gentoo.org/608396
Issue: gentoo/cargo-ebuild#33
Closes: #29289
Tested-By: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant