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

Add option to skip cached models when downloading from command line #150

Open
chapulina opened this issue Dec 23, 2020 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@chapulina
Copy link
Contributor

Downloading a collection can be time consuming *, so the user may want to do it in chunks. But every new call to download a collection triggers a re-download of all its models. It would be nice to have a flag, like --skip-cached to say they should be skipped.

For example, I could start normally:

ign fuel download -j 4 -v 4 -u "https://fuel.ignitionrobotics.org/1.0/openrobotics/collections/Gazebo classic model database"

Then cancel halfway with Ctrl + C

Then restart with:

ign fuel download -j 4 -v 4 --skip-cached -u "https://fuel.ignitionrobotics.org/1.0/openrobotics/collections/Gazebo classic model database"

* or, in my case, ign-fuel-tools crashes halfway - but that's another problem

@chapulina chapulina added enhancement New feature or request good first issue Good for newcomers labels Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant