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

Mirroring Vendored Crates #127

Open
KeepSummerSaf3 opened this issue Jan 29, 2024 · 2 comments
Open

Mirroring Vendored Crates #127

KeepSummerSaf3 opened this issue Jan 29, 2024 · 2 comments

Comments

@KeepSummerSaf3
Copy link

Args for #71 appear to be inconsistent with the readme documentation regarding synchronization of vendored crates. Maybe I am missing something.


Sync Select Dependencies
Optionally, panamax can be told to only grab crates needed to build a singular project. cargo vendor is used to create a folder with all needed dependencies, then a panamax command can parse the created directory and only grab those crates and versions.

Only grab crates needed for panamax, as an example

$ cargo vendor
$ panamax sync my-mirror vendor

Non-working option:

$panamax sync offline-mirror vendor
error: unexpected argument 'vendor' found

Usage: panamax sync [OPTIONS] <PATH>

Working option:

$panamax sync --vendor-path ./vendor offline-mirror
Syncing Rustup repositories...
@k3d3
Copy link
Member

k3d3 commented Jun 6, 2024

image

The documentation appears to be correct, as far as I can tell. Where did you get your copy of panamax from?

@benbot
Copy link

benbot commented Sep 27, 2024

Idk if anything has changed in the past 4 months, but that's no longer the documentation I see with Panamax help sync but the README still shows the older syntax.

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

3 participants