[swift-evolution] Proposal Discussion Thread: SwiftPM: Locking and Overriding Dependencies

David Hart david at hartbit.com
Tue Apr 5 16:02:34 CDT 2016


I think TOML is no-go as its readme says:

Be warned, this spec is still changing a lot. Until it's marked as 1.0, you should assume that it is unstable and act accordingly.

And I agree about YAML: no parser, more work, and more complicated.

JSON sounds like a sane format.

> On 04 Apr 2016, at 19:41, Max Howell via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> This is a very welcome addition. Thanks!
>> 
>> A nitpicky detail: I’d prefer the format for the lock file to be yaml or toml over json, since those read a little easier in git diffs (which is, in my experience with cocoapods lockfiles, the only place I ever interact with the lockfiles contents).
> 
> Probably we could do TOML.
> 
> I picked JSON because it is a more familiar and more widely supported (by tools) format.
> 
> YAML would be more work since we have no available YAML parser.
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160405/e5a8533d/attachment.html>


More information about the swift-evolution mailing list