rpmlint icon indicating copy to clipboard operation
rpmlint copied to clipboard

Improve the check for LSB packages

Open scop opened this issue 11 years ago • 3 comments

(From http://rpmlint.zarb.org/cgi-bin/trac.cgi/ticket/34, frederic.lepied@…)

Changed 7 years ago by misc

Ok so the patch is quite big.

Regarding the creation of new script called lsbrpmlint, i prefer to not include it, as it just run rpmlint with a default option.

Regarding most of the test they are ok by themself, but some of them conflict with regular distribution policy. So we should restrict them to lsb-* package, or add a configuration flag, like ForceLSBCompliance before checking.

the standard is here, for future reference : http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/packagefmt.html

vile, wdyt ?

Changed 7 years ago by scop

I tend to agree that a separate executable sounds a bit overkill'ish.

Regarding the checks themselves, we already have a way to filter messages, and it would be nice if it could be used as is. For example, one could set up a lsb-specific config file and call rpmlint -f on it. But I don't know if that's good enough.

BTW I just committed [1246] which adds a removeFilter() function, that could be useful eg. in this case where the system config files have been set up to filter most LSB messages.

Original comment by: scop

scop avatar Apr 02 '13 19:04 scop

  • Milestone: 1.5 --> 1.7

Original comment by: scop

scop avatar Jul 19 '14 13:07 scop

  • Milestone: 1.7 --> future

Original comment by: scop

scop avatar Jan 24 '15 09:01 scop

Patch from original ticket: https://gist.github.com/scop/c99941d08d7b5f5b60bc

scop avatar Jul 10 '15 07:07 scop