Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440638 - repoman check for deprecated licenses
Summary: repoman check for deprecated licenses
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2012-10-31 17:38 UTC by Ulrich Müller
Modified: 2021-05-19 21:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add check for deprecated licenses (0001-repoman-add-check-for-deprecated-licenses-bug-440638.patch,2.25 KB, patch)
2012-10-31 17:45 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2012-10-31 17:38:34 UTC
Repoman should be able to check for deprecated licenses, such as "as-is".
The list of such licenses would be specified in the @DEPRECATED group in profiles/license_groups.

Patch will follow.
Comment 1 Ulrich Müller gentoo-dev 2012-10-31 17:45:49 UTC
Created attachment 327874 [details, diff]
Add check for deprecated licenses

Attached patch works for me.

Please review especially the third hunk of the patch; maybe there's a better way for suppression of output than tampering with portage.util.noiselimit.
Comment 3 SpanKY gentoo-dev 2012-11-01 17:19:16 UTC
i wonder why bother.  grep the tree, fix all occurrences, then delete the license.  then repoman will error out if someone tries to commit a new ebuild with it because the license doesn't exist.
Comment 4 Hanno Böck gentoo-dev 2012-11-01 19:36:55 UTC
@SpanKY:
The reason we discussed such an option in the license team is that we feel unable to fix the whole as-is-issue on our own. This license has been abused as a "we take as-is everytime we don't know what to put into LICENSE, no matter if it makes any sense" by too many devs over a very long time. There are hundreds of packages that need to be checked.
Thus we considered a repoman warning a good way to sign devs that there's something they should look after. When this is trimmed down to a decent size, we'll take care of the rest.
Comment 5 Zac Medico gentoo-dev 2012-12-08 18:25:24 UTC
This is fixed in 2.1.11.33 and 2.2.0_alpha144.