-
Notifications
You must be signed in to change notification settings - Fork 60
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
sync only new packages #63
Comments
No this is not correct. conda-mirror computes the packages that it is missing from the upstream channel based on the defined package whitelist/blacklist configuration and then downloads only those.
This is indeed what is happening |
OK, this is a good news! During my download I am experiencing some network instability, so the conda-mirror process crashes. To make the download more resilient i modified the code in _download() as following: (NOTE: code not tested i am testing right now!)
If the community is interested i can improve this code (e.g. get the pause_seconds as command line parameters, better exception catch) and submit a PR. Thanks |
What is the stack trace that you're seeing from conda-mirror when it crashes? Generally speaking, PRs are welcome :) |
Eric, unfortunately i lost the stack trace with the error from my shell :-( BTW, Is my assumption on the tmp dir files not being copied on the destination dir in case of system crash correct? For the PR i am definitively happy to contribute, but i want to test it a bit more. Thanks for your help GP |
Correct. They are not automatically being copied to the destination dir in case of a crash. |
I am working through similar issues as gpcimino. Only I can not complete a first run. I can see packages being downloaded to /tmp but ultimately the process blows up with an error stating: Full stack trace is attached Not sure if Anacoanda.org is misbehaving. Any ideas? |
101glover, change #71 altered the code so that the packages already downloaded will still be processed if the download fails. |
hey magnuhho, thanks for the notification. That solved my problems! |
All,
from a quick look to the code looks like conda-mirror copies all the repository (aka channel) files every time is launched.
Is this correct?
I would be useful to download only missing/new packages in order to save bandwidth.
Thanks
GP
The text was updated successfully, but these errors were encountered: