[swift-build-dev] FYI: Change to require Package name

Honza Dvorsky jan.dvorsky at me.com
Wed Jul 13 03:25:13 CDT 2016


I agree that the name should be required. In order to better understand the
impact on existing packages, I pulled some stats for how many packages
currently don't explicitly specify their name in their manifest - 119 out
of 2222, which is about 5 % of all packages I crawled from GitHub. The list
of their names is attached to this email, so that we could potentially
write a script to create an issue on their repos to notify them of this
coming change.

Honza

On Wed, Jul 13, 2016 at 2:32 AM Daniel Dunbar via swift-build-dev <
swift-build-dev at swift.org> wrote:

> We currently allow:
> ```
> let package = Package() // Note no name here
> ```
> in a package manifest, but this turns out to be both problematic and
> rarely used.
>
> I intend to move to making this required, here:
>   https://github.com/apple/swift-package-manager/pull/486
> but wanted to run it past the list in case anyone has an objection.
>
>  - Daniel
>
> _______________________________________________
> 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/20160713/04b9059f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NamelessPackages.json
Type: application/json
Size: 4251 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160713/04b9059f/attachment.json>


More information about the swift-build-dev mailing list