tmspzz / Rome

Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
MIT License
820 stars 57 forks source link

Support for PodBuilder #155

Open fabb opened 5 years ago

fabb commented 5 years ago

Enhancement Suggestion

PodBuilder is a tool that supports precompilation of frameworks in projects that use Cocoapods. Would it be possible for Rome to support caching PodBuilder generated frameworks?

tmspzz commented 5 years ago

@fabb if PodBuilder generates something similar to a Cartfile.resolved(Podfile.restore maybe?) then I guess it should be possible to support it.

This is not on my roadmap but it someone wants to pick this up I'll be glad to discuss an implementation strategy.

fabb commented 5 years ago

Sorry for not responding for so long, the PodBuilder project is kind of a low priority project for us and does not get the love it deserves.

In the mean time, PodBuilder added version files for each installed framework which should make the integration easier. Now it creates a PodBuilder.plist file inside each .framework folder that contains the pod version (or commit hash), and even the swift compiler version.

Please correct me if I'm wrong, I think the rough steps to make Rome support PodBuilder would be these:

Did I overlook something?

tmspzz commented 5 years ago

@fabb Seems about right. I can't commit the time necessary to make this happen right now. Do you want to take a shot at it?

I suggest to start by parsing the Podfile.restore

fabb commented 5 years ago

Oh I don‘t expect you to do it, it‘s probably a feature only I would use anyways.

I will keep this on my list, but I probably can‘t complete it soon. Would be nice to do something real in Haskell though, not just assingments.