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

Please include a license file in the sources #26

Closed
sanjayankur31 opened this issue Mar 21, 2023 · 5 comments
Closed

Please include a license file in the sources #26

sanjayankur31 opened this issue Mar 21, 2023 · 5 comments

Comments

@sanjayankur31
Copy link

Hello!

Similar to return42/fspath#1, could we please have a license file added here too?

Thanks very much,

@return42
Copy link
Owner

Sure, I will have a look / BTW the way I will do some clean-up

@musicinmybrain
Copy link
Contributor

While GPL is not one of the licenses that requires the license text to be included, a license file would still be helpful.

Beyond this, the GPL is normally applied via a license notice, which GNU recommends putting in the header of each source file. Even if the notice were only in the README, it would be good to include it, and the notice would help clarify whether the intended license is GPL-2.0-only or GPL-2.0-or-later.

You might also consider upgrading the deprecated SPDX identifier GPL-2.0 in the file headers to—I assume—GPL-2.0-only.

Thanks for having a look at this!

@return42
Copy link
Owner

return42 commented Mar 21, 2023

In 95b4dea I switched lic to AGPLv3+, added LIC file, fixed the SPDX tags (to AGPL-3.0-or-later) and released tag 20230321 on pypi --> https://pypi.org/project/linuxdoc/20230321/

@sanjayankur31 I hope I have thought of everything, if I have forgotten something, please let me know. Otherwise close the ticket / Thank you! 👍

@sanjayankur31
Copy link
Author

That looks great! Thanks for the quick update @return42 .

I'm also generating man pages for the different kernel-* scripts using help2man during our build. I can submit these as a PR if you'd like to include these here too (otherwise we just continue to include them in the Fedora package, which is fine too).

Here's the command in the current spec:

https://pagure.io/python-linuxdoc/blob/main/f/python-linuxdoc.spec#_52

@return42
Copy link
Owner

return42 commented Mar 22, 2023

OK, thanks for your feedback / I'm going to close this issue.


About man pages: IMO we should add man pages for the entry points (commands) here in the project.

def get_entry_points():
"""get entry points of the python package"""
return {
'console_scripts': [
'kernel-doc = linuxdoc.kernel_doc:main',
'kernel-autodoc = linuxdoc.autodoc:main',
'kernel-lintdoc = linuxdoc.lint:main',
'kernel-grepdoc = linuxdoc.grep_doc:main',
]

Would you like to open a new issue (or PR if you have) / thanks!

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

3 participants