cli/supported_licenses: simplify the license list
Remove the license reference, since it may not fit the terminal.
Move the license name before the license id, in order to improve the user experience.
Make the text width dynamic, in order to improve readability.
- [ ] Added a change log entry in
changelog.d/<directory>/. - [ ] Added self to copyright blurb of touched files.
- [ ] Added self to
AUTHORS.rst. - [ ] Wrote tests.
- [ ] Documented my changes in
docs/man/or elsewhere. - [ ] My changes do not contradict the current specification.
- [x] I agree to license my contribution under the licenses indicated in the changed files.
I started to use REUSE and I noted that the supported_licenses command it not very user friendly.
Each lines are too long, and on sway + foot I'm unable to select the license URL.
So I decided to remove the license reference.
If you agree to this change, it should possible to add an option to show all the details of a single license, with all supported metadata like link, OSI approved and FSFLibre approved; see https://github.com/spdx/license-list-data/blob/main/licenses.md as an examples.
It would be useful to add filters based on OSI and FSFLibre compliance.
Thanks.
Thank you for this contribution. However, I'm not convinced this is an issue yet. Would you mind describing in more detail, perhaps with some screenshots, how that issue affects you?
@floriansnow, here is a screenshot:
Unless the user already know the license name, I think this list is not very useful. The list should be simplified, as an example:
- Show only the license ID and NAME; add a subcommand to show the detail of a selected license
- Instead of showing the license ID and NAME on two columns, use only one column as
ID / NAME
Hi! This repository is being migrated away from GitHub towards Codeberg. More context can be found in #865. This pull request can henceforth be found at https://codeberg.org/fsfe/reuse-tool/pulls/1150. Any comments subsequent to this comment will not be migrated.