[Proposal] Lock file for Swift Package Manager

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

···

On Thu, Jan 7, 2016 at 1:10 AM, Max Howell <max.howell@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

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

Why your company shouldn’t use Git submodules | Coding Killed the Cat

All the issues in the article are addressed by wrapping git with another tool, which we would do.

Can you elaborate "wrapping git with another tool" ?

···

On Fri, Jan 8, 2016 at 1:09 AM, Max Howell <max.howell@apple.com> wrote:

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

Why your company shouldn’t use Git submodules | Coding Killed the Cat

All the issues in the article are addressed by wrapping git with another
tool, which we would do.

--
Ankit

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

Why your company shouldn’t use Git submodules | Coding Killed the Cat

All the issues in the article are addressed by wrapping git with another tool, which we would do.

Can you elaborate "wrapping git with another tool" ?

`swift build` wraps git. All the pain points in that article are due to a lack of automation for various git-steps.

Just to follow up here. This is not forgotten. I’ll be trying to follow up with more details this week.

···

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

Why your company shouldn’t use Git submodules | Coding Killed the Cat

All the issues in the article are addressed by wrapping git with another tool, which we would do.

Can you elaborate "wrapping git with another tool" ?

`swift build` wraps git. All the pain points in that article are due to a lack of automation for various git-steps.

Great!

···

On Wed, Jan 13, 2016 at 6:31 AM, Max Howell <max.howell@apple.com> wrote:

Just to follow up here. This is not forgotten. I’ll be trying to follow up
with more details this week.

--
Ankit