Conversation
|
I think this would be a mistake. Choosing a license needs to be a conscious process, and just assuming a license silently is likely to cause bad assumptions at some point (code.dlang.org would display "MIT", while in reality the author chose GPL 3, but never updated the entry, leading to license infringement). Couldn't we instead present a list of known licenses to choose from? |
d2872b1 to
a802f30
Compare
|
Puh 😓, done. |
a802f30 to
46b88a0
Compare
| free_choice, | ||
| p.license, | ||
| "MIT", "BSL-1.0 (Boost)", "public domain", "GPL-3.0", "BSD 3-clause", "BSD", "GPL-2.0", "LGPL-3.0", "APL-2.0 (Apache)", "MPL-2.0 (Mozilla)", "AGPL-3.0", "proprietary" | ||
| ); |
There was a problem hiding this comment.
If there was a .splitter(' ').front at the end and two adjustments ("APL-2.0 (Apache)"->"Apache-2.0", "BSD"->"BSD 2-clause") then this would match exactly what is listed in the package format specification. BTW, the short name of the Apache license according to Wikipedia is "ASL", not sure if we should use that or not.
There was a problem hiding this comment.
Updated, not sure what you mean with .splitter(' ').front.
|
That looks really nice, the single-input choice/custom value entry is a good idea. See no issues in the implementation. |
46b88a0 to
5a7cdde
Compare
|
Could you please disable coveralls comments under https://coveralls.io/github/dlang/dub/settings? The status API should be enough. |
|
For some reason this currently fails just for the older frontend versions: |
It's apparently because |
5a7cdde to
dffe425
Compare
|
Thanks for your pull request, @MartinNowak! |
|
Fixed and rebased @s-ludwig |
|
Is this a candidate for stable? We're close to a release candidate, might be a bit late. |
|
Usually, I'd say master, but in this case, if some careful manual testing also shows no issues, the scope is IMO limited enough to make an exception if we want to (I don't particularly mind the small release, but it would help to balance the 1.4.0 and 1.5.0 releases a bit). It's currently still based on master, though. |
- add select input (also for sdl/json) - provide common license defaults (choosealicense.com options + Boost) - order options by popularity
dffe425 to
8e1b28d
Compare
|
No need to hurry with this, retargeted to master and fixed 2.069 compat. |
|
rebase pls, useful feature! after rebasing you might need to change your 0-init-interactive.dub.json to to make the tests pass. Also you need to change the changelog entry to the new format. I would suggest a message like |
|
I don't have time to work on dlang atm., but feel invited to take over this PR @WebFreak001. |
|
I don't have permissions to write to your branch |
|
Just clone and make a new PR @WebFreak001 |
Suggestion: https://twitter.com/WebFreak001/status/845731612478332929