> First of all, +1 on the idea.
>
> But second a question: in the Package.swift file providers section, what
> would need to be done in for example the "apt" case it a package has a
> different name on Debian and Ubuntu?
> This is something that happens occasionally, so we should at least be able to
> support this.
>
> Is this something that can be tackled by using (optional) extra parameters on
> the enum values?
Good point, this is lacking from the proposal and should be addressed.
An immediate suggestion is (like you say):
.Apt(.Ubuntu(version: “15.10”, installName: “"), .Debian(“bar”))
Though I think this is getting confusing, so this is not a concrete proposal.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution