[swift-build-dev] Git Branch support

Max Howell max.howell at apple.com
Mon Dec 7 14:53:05 CST 2015


> Hi,
> 
> Is pointing to a branch instead of version for a package in scope of SPM? 
> if it is, I'd love to try to implement it

Yes, we would welcome a proposal for this functionality written in the same manner as Swift’s evolution process (you can send it to this list however).

My concerns for this feature is that strictly this should not work for dependencies but only as an override specified by the root-Package.swift. The rationale here is the ecosystem should not have too many “knobs” or dependency hell is more prevalent. But end-users should be able to choose development branches etc.

Daniel Dunbar has some further thoughts here and I hope he’ll reply.

Max



More information about the swift-build-dev mailing list