New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide hints when an invalid license id is input #1634
Provide hints when an invalid license id is input #1634
Conversation
Hello @JJJollyjim ,
thanks a lot for this improvement of the user experience. I really like it!
I think it is ok if we integrate it into the master branch. Could your rebase your commit on that branch?
fin swimmer
Done, I believe :) |
Anything else I can do on this? |
This message is just a friendly reminder, since this PR seems ready to be included. |
@JJJollyjim may I ask you to add a minor change and push again, so that the checks will run again? Afterwards I will be able to merge it. |
Currently, the
poetry new
/init
license field can be a little opaque to new users -- here is the actual output from my first time using poetry a few hours ago:This PR improves the error message to show a link to the SPDX license list, and in common cases, a best-effort guess at which license ids you might be looking for. For example:
Or, if a common license id is recognised:
I'm not a python dev (as evidenced by the fact I didn't know what a license id was :P), feedback is welcome :)