Replies: 5 comments
-
Additionally, while debugging this process and https://github.com/swiftyfinch/Rugby/issues/279, I found a need for a more comprehensive analysis command, an enhanced version of
Currently, I've added some temporary debugging code within the |
Beta Was this translation helpful? Give feedback.
-
@cragod It's an interesting idea. Thank you! I'm not sure about auto-rollback in But I think that it can be handy to have a flag in About
|
Beta Was this translation helpful? Give feedback.
-
Update: |
Beta Was this translation helpful? Give feedback.
-
@cragod Hello! Is it still actual to you? I understood about suggestion to add an I thought a little bit about an interface: # We can reuse binariesManager.findBinaries here and skip patching of missing binaries
rugby use --skip-missing-binaries
# It means that we should skip the build command
# and should pass --skip-missing-binaries flag to the use command
rugby cache --skip-build What do you think about this interface? And I need to know if it necessary to you, because any extension of the current interface make 🏈 Rugby more complicated. |
Beta Was this translation helpful? Give feedback.
-
@swiftyfinch Thank you for your reply. If cross-device cache sharing is an important use case, it can filter out targets that have not yet been built in the remote cache. Of course, this would make rugby more complex, so you should carefully consider it. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Yes, but this may not be a common problem.
We are using Rugby to improve our project's development workflow. Here is some background information about the project:
Due to the size of our business modules (utilizing development pods for dependencies), we aim to cache on the CI server during branch merging and use the cache on developers' machines.
CI Server Caching Workflow:
rugby warmup —analyse ...
(acquires a complete cache list)rugby cache …
Local Developer Workflow (executed via build pre-action in Xcode):
rugby warmup —analyse …
rugby use …
(avoids usingbuild
orcache
because module compilation is slow, and developers prefer compiling uncached modules in the regular compilation phase in Xcode)As mentioned, we use development pods, allowing developers to make changes to their assigned modules at any time. In such cases, the cache becomes invalid, and a new path is used to search for the framework (after the build pre-action), leading to compilation failures.
Describe the solution you'd like
Ignore(or rollback) the missing caches when executing
rugby use
Describe alternatives you've considered
We can add an additional step in the project to exclude targets without a cache. However, a challenge is that the target name is not reflected in the cache path. We need to maintain a mapping between target names and framework names.
Additional context
nil :)
Beta Was this translation helpful? Give feedback.
All reactions