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

Running cargo install downloads sentry submodule #48

Closed
sirwart opened this issue Dec 3, 2022 · 4 comments
Closed

Running cargo install downloads sentry submodule #48

sirwart opened this issue Dec 3, 2022 · 4 comments

Comments

@sirwart
Copy link
Owner

sirwart commented Dec 3, 2022

When trying to install ripsecrets via cargo I noticed that it now tries to download the entire sentry module because it's listed as a submodule, which takes a long time because it's a large repo. Either the configuration needs to change or removed as a submodule.

@lafrenierejm
Copy link
Contributor

Oof. I didn't realize that was part of Cargo's behavior. rust-lang/cargo#4247 seems like a relevant discussion. dtolnay/syn#183, linked from the Cargo issue, looks like a potential way forward.

@sirwart
Copy link
Owner Author

sirwart commented Dec 3, 2022

Yea, it seems like the only way forward is to not use submodules and just clone explicitly when needed, right?

@lafrenierejm
Copy link
Contributor

That's what it sounds like based on rust-lang/cargo#4247. I'll take a stab at it…

@sirwart
Copy link
Owner Author

sirwart commented Dec 3, 2022 via email

@sirwart sirwart closed this as completed Dec 3, 2022
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

2 participants