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

Support workspaces #4

Open
gyakovlev opened this issue Jun 30, 2021 · 3 comments
Open

Support workspaces #4

gyakovlev opened this issue Jun 30, 2021 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@gyakovlev
Copy link
Member

cargo-ebuild chokes on workspace projects ( https://github.com/alacritty/alacritty is an example ), make sure it can generate a ebuild for a project that uses workspace.

@gyakovlev gyakovlev added bug Something isn't working enhancement New feature or request labels Jun 30, 2021
gentoo-bot pushed a commit that referenced this issue Oct 7, 2021
Partially solves #4

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
@telans
Copy link
Contributor

telans commented Jun 3, 2022

What's the solution for working around this? Parsing the deps manually? Cheers

@gyakovlev
Copy link
Member Author

gyakovlev commented Jun 12, 2022

What's the solution for working around this? Parsing the deps manually? Cheers

I think it mostly works nowadays.
in case if it does not - you can use the following trick:

  1. unpack your app tarball
  2. run rm -rf /tmp/crates && CARGO_HOME=/tmp/crates cargo fetch
  3. run ls -1 /tmp/crates/registry/src/* , it will give you output usable in CRATES variable.
  4. optionally, copy /tmp/crates/registry/cache/*/*.crate to your PORTAGE_DISTDIR, to avoid double downloads.

@gyakovlev
Copy link
Member Author

@telans ^ not sure if you got tagged in reply, tagging separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants