[swift-build-dev] [Proposal] Lock file for Swift Package Manager

Ankit Agarwal ankit at ankit.im
Thu Jan 7 13:34:24 CST 2016


I think git submodules can be added as an additional feature rather than
depending on it completely for locking because it is a bit problematic to
use with a team and has many issues

https://codingkilledthecat.wordpress.com/2012/04/28/why-your-company-shouldnt-use-git-submodules/


On Thu, Jan 7, 2016 at 1:10 AM, Max Howell <max.howell at apple.com> wrote:

> Another option that has occurred to me after talking with Tim Kientzle is
> to use *git submodules*
>
> submodules lock other clones to a specific revision. Our Packages/
> directory is already a directory of clones.
>
> I have not given it a lot of thought yet, but there is possibly power in
> reusing this existing part of git.
>
> Mailed here for input.
>



-- 
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160108/01614bcc/attachment.html>


More information about the swift-build-dev mailing list