-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Download/Upload only missing frameworks #181
Comments
For upload you can run This avoids unnecessary uploads. For download, where would it get the version information to check? From the .version files? That doesn’t guarantee you still have the same binary since there is no checksum. |
It doesn't guarantee, but isn't what Carthage itself uses for the I just started using Rome and I like how much time it can save, but I couldn't find a way of only running it when really needed on the CI (Bitrise already has its own cache), part of the problems is that Carthage doesn't have a way (that I know of) of telling if I need to build something before actually doing it. But I really think that Rome should have that option by itself |
@Robuske I'll try to explain how things work
When you run The You can however limit uploads by running:
If you want to use all the bandwidth at your disposal you can even add |
Wait, I see what you're saying. Your So you're suggesting to read the .version files to limit download operations if they are available. |
Exactly, I may already have everything, or most of the cache, I just want to download what is missing. The main use case is any CI service that already has its own cache, avoiding downloading everything again could save time and money, S3 is cheap, but not free Something I am not sure I understood from what you said |
I'm not sure what you mean. Can you be more clear? |
What the |
@Robuske I have made the improvement you have suggested, but only to download. I don't see how it would make sense for upload or list. |
If that's how it works it should be enough, thank you You made already? I don't see any PR/branch/merge |
@Robuske I need to finalize a CLI switch for this feature and clean up a few things first. I'll write here when there is a pre-release version you can test :) |
No problem, didn't expect it to be implemented that fast, thank you |
Question
Maybe I am not understanding correctly, but if I run
rome download
two times it will download everything the two times? And the same for upload? It doesn't check the versions to know if it actually needs to do that?Rome version:
The text was updated successfully, but these errors were encountered: