Improve license documentation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, github-actions
- Domain
- build-system, documentation
Research direction
Read the linked NXDK License Information wiki article and the referenced pull request discussion first. The issue outlines several possible approaches, including machine-readable license identifiers, automated license scanning, or a CI-compatible sample, but does not choose one. A concrete starting point and definition of done would need to be agreed before implementation.
Written by the indexing model from the issue text.
Description
@DobaMuffin recently added https://github.com/XboxDev/nxdk/wiki/NXDK-License-Information to the wiki.
This isn't the first attempt at this, so we can already predict some issues.
So while it is a good idea, that article has a couple of issues:
- It should be "nxdk" instead of "NXDK".
- Article is not linked from any other article or the sidebar, so it's not very visible.
- People likely won't know which files they are using in a larger project.
- The article will be outdated quickly as code moves around.
- It's dangerous to give "legal advice" if the information is not always accurate.
To avoid these problems, I believe the license documentation could be made more robust in a couple of ways:
- Slimming down nxdk: Less code = fewer licenses XboxDev has to document. I've already talked about slimming down nxdk in https://github.com/XboxDev/nxdk/pull/432#issuecomment-817113172.
- Machine-readable license identifiers in our tree: Adding something like https://en.wikipedia.org/wiki/Software_Package_Data_Exchange / https://spdx.dev/ids/ or similar standards; ideally something which can also handle license information for submodules without explicitly adding it in the submodule itself.
- Automated license identifier search: Using something like https://github.com/pivotal/LicenseFinder (would require https://github.com/conan-io/conan) / https://github.com/fossas/fossa-cli ($$$) to generate the documentation. I'd assume that there's an existing FOSS solution for this problem, like https://github.com/nexB/scancode-toolkit; also check in SPDX ecosystem: https://github.com/spdx.
- Provide a sample which does it right: A CI-compatible sample which correctly respects all licenses and generates this information would help.
- Dominant language
- C
- Stars
- 600
- Forks
- 97
- Avg merge
- 11h 48m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XboxDev/nxdk
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Use faster memcpyOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
libsndfile/libsndfile#1239 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100