Git Branch support


(Ankit Agarwal) #1

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

···

--
Ankit


(Max Howell) #2

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