-
Notifications
You must be signed in to change notification settings - Fork 1
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
Should we reuse the license field or add a new license-expression field in the metadata? #7
Comments
|
IIRC, I was originally one of the folks suggesting a new field, but I've come around to @pombredanne's point of view:
I also don't think a new field would actually help metadata consumers much, as it would complicate their logic, rather than simplifying it: Even with a new field, metadata consumers are still going to need to cope with parse failures, and they'd also still need to cope with the new field being missing entirely. |
|
Yea, I'm on board for reusing it. My concern was a hypothetical one, where a not-intended-to-be-SPDX |
|
Has adding a trove classifier to indicate the state of the license field been considered? That way, PyPI could validate the SPDX expression on submission, and consumers would unambiguously be able to trust the field should be treated as SPDX. |
Originally from #2 (comment)
Moved here as a ticket based on @pradyunsg suggestion to support a more focused discussion:
@Conan-Kudo you wrote in #2 (comment)
My personal inclination as documented in the current version is to avoid field inflation and reuse the license field. There is no ambiguity at all when this contains a parsable SPDX license expression or not. Since the field is in use and a warning would be issued it provides the proper gentle nagging that will help authors evolve towards a more accurate license documentation. a field that's new and optional is likely to have a lower impact and create a bigger disruption:
We have today two fields used for license (and this is confusing). And we would go to three fields all optional if we add a new one, a likely source of more confusion for authors IMHO.
With that said, if there is a consensus to use a separate field, I will update the draft to use that instead.
@Steap @ncoghlan @pfmoore @cjerdonek @pradyunsg what's your last take on this topic?
This and the freezing the list of licenses discussed in #2 (comment) are IMHO the last two objections/concerns to address and resolve before moving this PEP to an official draft IMHO
The text was updated successfully, but these errors were encountered: