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

CLI: add possibility to download pseudo archives and metadata files without installing #63

Closed
sphuber opened this issue Apr 8, 2021 · 3 comments · Fixed by #65
Closed

Comments

@sphuber
Copy link
Contributor

sphuber commented Apr 8, 2021

This would be useful in the case where the automated command fails and a user needs to perform a manual install through aiida-pseudo install family. Here it would be good to make downloading the files as easy as possible by either providing the URLs that need to be downloaded, or by downloading them through a command (but skipping the installation part).

@mbercx
Copy link
Member

mbercx commented Apr 9, 2021

Maybe add a --skip-install / --download-only option to the install commands?

@zooks97
Copy link
Contributor

zooks97 commented Apr 12, 2021

In the same line, it could be convenient to have a --data-directory flag which specifies where to download the files to (i.e. not a temporary directory). So, if a user needs to reinstall the same family at a later time for e.g. a different profile, they don't have to re-download the files each time. This would also make the MD5 checksum suggestion in #62 an even better idea as files may be corrupted or changed on disk after download and should be checked for subsequent use.

@sphuber
Copy link
Contributor Author

sphuber commented Apr 12, 2021

The current PR adds it to the current working directory. We can add another flag in the future to add a more specific directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment