Martin Liška
c8ed2765cb
Merge pull request #859 from matwey/fix/erlang_check_str
...
ErlangCheck: remove unneeded str() from the test
2022-05-09 09:13:17 +02:00
Matwey V. Kornilov
98b0978173
ErlangCheck: remove unneeded str() from the test
...
str() triggered beam-was-not-recompiled warning unconditionally.
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
2022-05-06 21:19:35 +03:00
Martin Liska
9d19882fbd
Temporarily disable binary-or-shlib-defines-rpath once boo#1199268 gets fixed
2022-05-06 09:02:54 +02:00
Martin Liška
aabb5123bd
Merge pull request #852 from marxin/rpath-resolve-ORIGIN
...
Resolve $ORIGIN in binary-or-shlib-defines-rpath check.
2022-05-02 08:48:31 +02:00
Martin Liska
6bc5a1b132
Resolve $ORIGIN in binary-or-shlib-defines-rpath check.
2022-05-02 08:41:25 +02:00
Martin Liška
8a9b1d6073
Merge pull request #851 from marxin/fix-whitespaces2
...
Remove empty lines after for loops.
2022-04-29 11:58:24 +02:00
Martin Liska
2ca20ba5ed
Remove empty lines after for loops.
2022-04-29 11:55:37 +02:00
Martin Liska
cb7f5f2dea
Revert "support $ORIGIN in R{,UN}PATH."
...
This reverts commit 7d8ab39a3c
.
2022-04-27 10:56:00 +02:00
Martin Liška
898452172d
Merge pull request #850 from marxin/rpath-ORIGIN
...
support $ORIGIN in R{,UN}PATH.
2022-04-27 10:28:54 +02:00
Martin Liska
7d8ab39a3c
support $ORIGIN in R{,UN}PATH.
...
The following is valid use-case:
$ readelf -Wd /usr/lib64/qt5/examples/multimedia/spectrum/spectrum | grep RUN
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN]
2022-04-27 10:25:22 +02:00
Jan Engelhardt
7dec987c40
Update shlib-policy-name-error score for openSUSE
...
In openSUSE Leap 15.3, rpmlint 1.x reported shlib-policy-name-error
instances with a 10000 point penalty. Restore this for rpmlint 2.x.
2022-04-25 16:14:09 +02:00
Martin Liška
1fd71176de
Merge pull request #848 from marxin/fix-rpath-error
...
Fix up binary-or-shlib-defines-rpath error.
2022-04-25 14:40:14 +02:00
Martin Liska
e2831cc0ae
Fix up binary-or-shlib-defines-rpath error
...
The error should be emitted if it does not point to
a system library folder or /usr/lib*.
Enable the check in openSUSE config and increase
its badness to 10000.
Fixes : #847 .
2022-04-25 14:38:04 +02:00
Martin Liška
3d45083d8c
Merge pull request #846 from marxin/improve-executable-stack-error
...
Improve executable-stack error.
2022-04-22 14:23:33 +02:00
Martin Liska
fefd1e0f08
Improve executable-stack error.
...
Point to binary that violates the policy.
It regressed accidentally since e65a6f2082
.
2022-04-22 14:19:54 +02:00
Martin Liška
e7eef1ffb4
Merge pull request #844 from marxin/strict-mode-only-warnings
...
Distinguish exit code in --strict mode.
2022-04-19 11:29:27 +02:00
Martin Liska
9d90b2a34f
Distinguish exit code in --strict mode.
...
When all errors are promoted, exit with 65, otherwise exit
with 64.
Fixes : #843 .
2022-04-19 11:21:09 +02:00
Martin Liska
c4ba2b33d9
Remove FIXME as we have a test for it.
2022-04-19 10:41:59 +02:00
Martin Liška
0b53313e85
Merge pull request #842 from tacerus/ergo
...
Add ergo user and group
2022-04-13 15:02:54 +02:00
Georg Pfuetzenreuter
ab36f34e80
Add ergo user and group
...
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2022-04-13 14:53:01 +02:00
Martin Liška
87851b0ada
Merge pull request #839 from marxin/pkg-cleanup
...
Pkg cleanup
2022-03-31 15:33:48 +02:00
Martin Liska
0c17429396
Additional name cleanup in pkg.py.
2022-03-31 15:25:58 +02:00
Martin Liska
9bba00bc2b
lint.py: remove _check_valid_suffix and use str in ().
2022-03-31 15:12:55 +02:00
Martin Liska
974cd35f42
pkg.py cleanup
...
Rename dirName to dir_name and dir_name to _extract_rpm.
2022-03-31 15:10:59 +02:00
Martin Liška
7a1961f748
Merge pull request #836 from marxin/fix-AlternativesCheck-v2
...
Re-init AlternativesCheck for each package.
2022-03-28 14:38:08 +02:00
Martin Liska
e2ff7243d7
Re-init AlternativesCheck for each package.
...
We should re-initialize self member values for each RPM.
Fixes : #835 .
2022-03-28 13:55:00 +02:00
Martin Liska
540cd57f0c
Test again for non-breaking space in test_tags.py.
...
Rewrite that to bytes literal that is supposed to be
more readable.
2022-03-24 09:20:05 +01:00
Martin Liška
92e59a973a
Merge pull request #831 from marxin/enhance-time-report
...
Enhance --time-report
2022-03-23 13:09:53 +01:00
Martin Liska
c9a6b81337
Enhance --time-report
...
Show only checks that take at least 0.1s.
2022-03-23 13:04:16 +01:00
Martin Liska
48acd858c1
Revert "Fix badge url."
...
This reverts commit 627dd87ac6
.
2022-03-22 10:51:25 +01:00
Martin Liska
627dd87ac6
Fix badge url.
2022-03-22 10:49:43 +01:00
Martin Liška
ac631fa972
Merge pull request #829 from marxin/use-zypper-again-for-opensuse
...
Use zypper for openSUSE.
2022-03-22 10:48:31 +01:00
Martin Liska
6ae9b2d936
Use zypper for openSUSE.
...
Fixes : #826 .
2022-03-22 10:43:53 +01:00
Martin Liska
058e23905d
Remove garbage chars (c2a0 c2a0) from file.
...
The created package really contains garbage but we don't need
to scan for it.
2022-03-22 10:02:03 +01:00
Martin Liska
65d344b009
Add only small badge for repology.
2022-03-07 20:43:08 +01:00
Martin Liska
59f362b9c4
Add packaging status.
2022-03-07 20:40:32 +01:00
Martin Liska
b749f3ada9
Remove extra empty lines.
2022-03-07 13:56:08 +01:00
Martin Liška
cd03139df0
Merge pull request #824 from aekoroglu/main
...
missing alpha_3 hye added for Armenian
2022-03-03 15:43:49 +01:00
aekoroglu
51ef12c779
missing alpha_3 hye added for Armenian
2022-03-03 16:11:38 +02:00
Martin Liska
c42b677c74
Removing trailing newlines in FilesCheck.py.
2022-02-24 10:51:56 +01:00
Martin Liška
a06a979f6d
Merge pull request #814 from marxin/speed-up-pkg-grep-with-mmap
...
Speed up pkg.grep by utilizating mmap.
2022-02-23 17:20:52 +01:00
Martin Liska
c5307fbe2f
Speed up pkg.grep by utilizating mmap.
...
The following changes speed up kernel-source package by 23s.
Co-Authored-By: jirislaby <jirislaby@gmail.com>
2022-02-23 17:05:07 +01:00
Martin Liska
18769615eb
Update package dependency name.
2022-02-22 16:13:18 +01:00
Martin Liska
fd3134546a
Small tweaks to report formatting.
2022-02-21 16:17:41 +01:00
Martin Liska
87668c32ba
Start with the biggest files first in BashismsCheck.
2022-02-21 15:45:25 +01:00
Martin Liska
87a3c5a98b
Add new option --checks.
2022-02-21 15:35:52 +01:00
Martin Liška
bae92d4204
Merge pull request #808 from marxin/speed-up-BashismsCheck
...
Speed up BashismsCheck by using md5sum of file.
2022-02-21 12:00:43 +01:00
Martin Liska
707d341a35
Speed up BashismsCheck by using md5sum of file.
...
That speeds up the check on kernel-source package from 30s to 20s.
2022-02-21 11:54:43 +01:00
Martin Liška
410f014719
Merge pull request #806 from marxin/rpm2cpio-in-time-report
...
Include rpm2cpio (decompression and extraction) in --time-report.
2022-02-21 11:03:20 +01:00
Martin Liska
3986464457
Include rpm2cpio (decompression and extraction) in --time-report.
2022-02-21 10:57:57 +01:00