[swift-build-dev] Test only dependencies

Paul Cantrell cantrell at pobox.com
Mon Nov 7 13:27:08 CST 2016


There was an extensive discussion about a more general solution that seems to be dead in the water:

https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160905/000628.html <https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160905/000628.html>https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160905/000631.html <https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160905/000631.html>

I’d love to resurrect that thread.

> On Nov 7, 2016, at 11:03 AM, Ankit Agarwal via swift-build-dev <swift-build-dev at swift.org> wrote:
> 
> Hi,
> 
> It was removed because it stopped working at some point of time during a refactor (I think?) and then never got fixed. It made sense to remove it and then bring it back with some discussion/proposal on the list.
> I think it should be called "localDependencies" i.e. dependencies that are local to your package and will not be available to dependent of your package. Other than naming I think it makes sense to allow pinning and editing for local dependencies.
> 
> 
> 
> 
> On Sat, Nov 5, 2016 at 1:04 AM, Gordon Fontenot via swift-build-dev <swift-build-dev at swift.org <mailto:swift-build-dev at swift.org>> wrote:
> Hello all,
> 
> I'd like to start an earnest conversation about test only dependencies for
> Swift Package Manager. This was, at one point, part of the original release
> plan but at some point it stopped working and was subsequently dropped from
> the API[1]. Additionally, some thought seems to have been given to this as a
> part of the test naming convention proposal[2].
> 
> I'd like to understand more about why this was dropped/stopped working, and
> what it would take to get it implemented. I see test-only dependencies as a
> _massive_ hole in the current swift package manager functionality, and it's
> actively preventing me from adopting `swift test` in most of the libraries I'm
> involved in.
> 
> [1]: https://github.com/apple/swift-package-manager/commit/34b7826cb586b0769ea5f60a7718d7de599ce27f <https://github.com/apple/swift-package-manager/commit/34b7826cb586b0769ea5f60a7718d7de599ce27f>
> [2]: https://github.com/apple/swift-evolution/blob/master/proposals/0129-package-manager-test-naming-conventions.md <https://github.com/apple/swift-evolution/blob/master/proposals/0129-package-manager-test-naming-conventions.md>
> 
>  - Gordon Fontenot
> 
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org <mailto:swift-build-dev at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-build-dev <https://lists.swift.org/mailman/listinfo/swift-build-dev>
> 
> 
> 
> 
> -- 
> Ankit
> 
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20161107/df9a3b2b/attachment.html>


More information about the swift-build-dev mailing list