Swift Package Manager

Christopher Nielsen mascguy at rochester.rr.com
Wed Dec 23 19:27:36 UTC 2020


> Nils Breunese <nils at breun.nl <http://breun.nl/>> wrote:
>         
> It’s really too bad that even a lot of modern build tools do not have the concept of proxyable, cachable) repositories for dependencies. For instance for builds that use Maven repositories (Maven, Gradle and some other build tools in the Java ecosystem) you can set up your own proxy which fetches dependencies when first requested from upstream, stores them for future use and lets you control HTTPS settings, availability, etc. This all works because dependencies are not identified by a full URL. I believe NPM repositories will let you do the same thing for the JavaScript ecosystem.

Does anyone know whether Swift Package Manager supports an offline cache, similar to Cargo’s ‘—offline’ option? That would allow us to take a point-in-time snapshot of the download/dependency cache, and reuse it for reproducible builds.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201223/5e357849/attachment.htm>


More information about the macports-dev mailing list