Skip to content
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

License metadata mismatch warnings #82

Open
hyandell opened this issue Dec 9, 2022 · 2 comments
Open

License metadata mismatch warnings #82

hyandell opened this issue Dec 9, 2022 · 2 comments

Comments

@hyandell
Copy link
Member

hyandell commented Dec 9, 2022

Doing internal reviews on packages, I find myself often going upstream to report that their metadata (package.json, setup.py etc) lacks license metadata and the package lacks a license file; but I usually find that the github repo itself has a license file.

It feels like GitHub being opinionated on LICENSE files has been good, can that be extended to the metadata?

Additionally - on the npm side it would be good to be flagging when there's no LICENSE file in the packages being released [I'm assuming that's not done]

@lumaxis
Copy link

lumaxis commented Jan 16, 2023

It feels like GitHub being opinionated on LICENSE files has been good, can that be extended to the metadata?

Trying to understand how you imagine this working. What would an extension here look like from a GitHub perspective, assuming the packages are hosted on an external package registry especially 🤔

@hyandell
Copy link
Member Author

I was thinking that it was a mix of Dependabot and Licensee.

It's looking at the package.json, setup.py, etc, identifying the license metadata language, and then flagging to the repository owner if the two are out of sync. Definitely issues out there - so many ways in PyPI to define licensing and Maven's parent feature makes things tricky for Dependabot.

Having GitHub know where software is then published would be also be valuable and would allow for an easier way to check the metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants