-
-
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
Generating a list of non-uploaded dependencies to build to pass to Carthage #2
Comments
Hi, this is an interesting addition and totally possible. I will look into it. There is no assumption that all the contents are on the S3 cache as downloading a frameworks package can fail and rome will continue trying the next one in the list. |
Opened branch https://github.com/blender/Rome/tree/feature/list Proposed command and modifiers:
|
Awesome, thanks! A little more context on our setup: We'd like our CI machine to be the sole producer of all precompiled binaries. This prevents developers from uploading a bad binary that could potentially be used in a production build (e.g. from a beta Xcode version, an in-progress artifact from development on an internal dependency etc.). As such, whenever a developer does an update locally, they'll ideally be able to pull down the cached dependencies and then build the remaining ones locally. When doing so, we'd want only rebuild the necessary dependencies so that our local Once the developer integrates their changes into We're currently accomplishing this in part with https://github.com/guidomb/carthage_cache, but unfortunately its cache is keyed by the entirety of the Thinking a little more about it—we'd need one additional piece of functionality: a command that is able to evaluate whether or not all dependencies are available in the cache to prevent invoking
Unfortunately I don't have any familiarity with Haskell, or else I'd be willing to take a shot at implementing this. |
Ah—didn't see that you replied while I was typing out this response—it should be totally possible to implement the Thanks again for taking a shot at this! |
You will probably need to write a small script to do so. If |
@erichoracek please check if this pre-release meets your needs https://github.com/blender/Rome/releases/tag/v0.3.0.1 |
Updated pre-release: https://github.com/blender/Rome/releases/tag/v0.3.0.2 |
This seems to be working as intended in this release as well. Thanks! |
Rome looks like an awesome tool! Quick question about its usage:
In the example workflow, it would appear that there is an assumption that the entire contents of the current
Cartfile.resolved
will either be fully available for download or not. However, in the case where you have internal frameworks that are constantly being updated, it could likely be the case that all frameworks but the one you just updated are available in your s3 cache.Would it be possible to have a command like the following to allow building only the dependencies that are currently uncached? e.g.:
Say for example that
APIClient
was the only library that was uncached. This would evaluate to:rome download && carthage build APIClient
Let me know if this is already possible or isn't needed for another reason. Thanks!
The text was updated successfully, but these errors were encountered: