danigm
ed3b202e43
readme: More specific title for building section
2024-03-05 08:01:51 +01:00
Chaitanya Bisht
121fc7eb0f
Add building documentation
2024-02-27 20:12:05 +05:30
Chaitanya Bisht
d77aca1e5e
Update README.md
2024-02-26 21:07:25 +05:30
Daniel Garcia Moreno
1f7bd03b93
CI: Reenable mageia-cauldron in packit
2024-02-22 07:05:30 -05:00
Daniel Garcia Moreno
8c1b637aff
test: Add tests to check non-standard-dir-perm
...
See https://github.com/rpm-software-management/rpmlint/issues/1196
2024-02-22 06:26:50 -05:00
Daniel Garcia Moreno
41b97252a8
SpecCheck: Add patch-macro-old-format check
...
This new check is to warning about the usage of %patchN format to apply
patches that is not supported by rpm >= 4.20
2024-02-22 06:01:30 -05:00
danigm
373f86af4f
Merge pull request #1198 from rpm-software-management/ebpf
...
BinariesCheck: do not mark as binary eBPF ELF files
2024-02-20 07:20:58 +01:00
Daniel Garcia Moreno
89ea99b855
BinariesCheck: do not mark as binary eBPF ELF files
...
Fix https://github.com/rpm-software-management/rpmlint/issues/1193
2024-02-19 18:43:14 +01:00
danigm
392fd4d323
Merge pull request #1194 from afrid18/top-level-linter-settings-deprecated
...
change pyproject ruff config to toplevel
2024-02-15 08:52:16 +01:00
afrid18
6bae3de91d
change pyproject ruff config to toplevel
...
In pyproject.toml, ruff now warns for
accessing inner settings directly
as and recommends
to change to
2024-02-15 07:07:35 +00:00
danigm
db8286f254
Merge pull request #1183 from rpm-software-management/mock-packages
...
Improve mock packages
2024-02-05 08:11:10 +01:00
Daniel Garcia Moreno
f4d0ed1063
test: Lazy load mock packages
...
This patch add the ability to lazy load the mock packages annd also a
way to copy mock packages to just modify some of the package data.
See https://github.com/rpm-software-management/rpmlint/issues/1104
2024-02-01 10:13:55 +01:00
Daniel Garcia Moreno
047ecfad50
test: Improve name of mock packages
...
See https://github.com/rpm-software-management/rpmlint/issues/1104
2024-02-01 10:13:55 +01:00
danigm
3192919355
Merge pull request #1179 from i12momal/tarea1
...
Clean tests file
2024-02-01 07:37:16 +01:00
danigm
3a1c17c980
Merge pull request #1180 from rpm-software-management/pythoncheck-fedora
...
config: Do not filter python-leftover-require for fedora
2024-01-31 11:00:24 +01:00
Luz Marina Montilla Marín
72452dc901
Fix the errors and suggestions to the flake8 command
2024-01-31 10:59:11 +01:00
Luz Marina Montilla Marín
ed3835b94d
Clean all tests file
2024-01-31 10:31:10 +01:00
Daniel Garcia Moreno
be7badea30
config: Do not filter python-leftover-require for fedora
2024-01-31 08:10:33 +01:00
Luz Marina Montilla Marín
e7c4f22bb5
Fix misspelled variable: ENGLISH_ENVIROMENT to ENGLISH_ENVIRONMENT
2024-01-30 16:18:09 +01:00
Luz Marina Montilla Marín
b95c28c321
Clean tests file
2024-01-30 15:55:52 +01:00
danigm
848cf04351
Merge pull request #1177 from rpm-software-management/fix-extract-pkg-error
...
Move rpm2cpio to one line
2024-01-30 12:32:32 +01:00
Daniel Garcia Moreno
53ecedf6d7
Move rpm2cpio to one line
...
The split of the extract package in two different calls to subprocess
doesn't work for all packages so it's better to get back to just one
call with shell=True.
2024-01-30 12:23:25 +01:00
danigm
9ab9c5d0f1
Merge pull request #1175 from rpm-software-management/pythoncheck-fedora
...
config: Filter python require checks for Fedora
2024-01-30 12:09:03 +01:00
danigm
4dd53ec41e
Merge pull request #1176 from rpm-software-management/python-require-improvements
...
PythonCheck: Check for python deps like python3.12dist(foo)
2024-01-30 12:08:45 +01:00
Daniel Garcia Moreno
67b3eecbcb
PythonCheck: Check for python deps like python3.12dist(foo)
...
Fix https://github.com/rpm-software-management/rpmlint/issues/1171
2024-01-29 09:38:30 +01:00
Daniel Garcia Moreno
d27f7a7207
config: Filter python require checks for Fedora
...
In Fedora dependencies are generated from upstream metadata, so python
checks are not needed here.
https://github.com/rpm-software-management/rpmlint/issues/1171
2024-01-29 09:19:12 +01:00
danigm
1a76c3d7c2
Merge pull request #1169 from rpm-software-management/reset-checks
...
check: Implement reset method in checks
2024-01-23 13:44:27 +01:00
Daniel Garcia Moreno
386d3be111
check: Implement reset method in checks
...
Instead of just recreate the check object the new method `reset`
provides a way to reset the check state between different packages call.
This patch defines the reset state for checks that store some kind of
state in the object.
See https://github.com/rpm-software-management/rpmlint/issues/1161
2024-01-23 13:27:35 +01:00
Daniel Garcia Moreno
55921507b8
Disable Mageia CI builds due to system problem
...
https://github.com/rpm-software-management/rpmlint/issues/981#issuecomment-1875861211
2024-01-23 13:26:36 +01:00
danigm
dee502880a
Merge pull request #1133 from rpm-software-management/patch-not-applied-false
...
test: Add another test for patch-not-applied
2024-01-23 11:46:34 +01:00
Daniel Garcia Moreno
6fbcbe8706
test: Add another test for patch-not-applied
...
See https://github.com/rpm-software-management/rpmlint/issues/398
2024-01-23 11:31:57 +01:00
danigm
ea2d230c5f
Adding support for RPM packages containing files greater than 4GB
...
Use rpm2archive instead rpm2cpio if the command is available, to extract the rpm package files.
#1168
2024-01-19 07:44:13 +01:00
Mikhail Campos Guadamuz
532069198f
read rpm package directly with open() while extracting
2024-01-17 11:48:45 +01:00
Mikhail Campos Guadamuz
ec86552bc5
remove redundant TODO comments; checking is handled with check_output() pretty well now
2024-01-17 10:42:05 +01:00
Mikhail Campos Guadamuz
c3e0d7ed44
leave rpm2cpio as fallback for distros which do not have rpm2archive available yet
2024-01-17 10:28:41 +01:00
Mikhail Campos Guadamuz
72e74a16fa
fix warnings about import order, attempt 2
2024-01-16 08:13:48 +01:00
Mikhail Campos Guadamuz
0c4cae3055
fix warnings about import order
2024-01-15 19:07:44 +01:00
Mikhail Campos Guadamuz
d15426661e
Fixes for nsafe shell command
2024-01-15 17:11:56 +01:00
Mikhail Campos Guadamuz
cc971569fc
Drop rpm2cpio usage entirely
2024-01-15 15:13:56 +01:00
Mikhail Campos Guadamuz
2cf3e0de2c
Adding support for RPM packages containing files greater than 4GB
2024-01-15 14:11:14 +01:00
danigm
8be437fef3
Merge pull request #1163 from rpm-software-management/reset-checks
...
lint: Reset all checks for each package
2024-01-08 13:55:54 +01:00
Daniel García Moreno
50a33b41c6
lint: Reset all checks for each package
...
Some check classes keep state during checking and this cause problems
when checking several files with the same call.
This patch resets all the checks for each package to check. This is a
quick solution, maybe the best way to handle this is to reset the state
for each check in with a common method in the AbstractCheck, a common
way to handle and reset the state to avoid this problem in the future.
Fix https://github.com/rpm-software-management/rpmlint/issues/1161
2024-01-03 15:08:05 +01:00
danigm
a79af73d23
Merge pull request #1153 from rpm-software-management/missing-dependency-on-with-epoch
...
test: Extend tag tests to check 'W: missing-dependency-on'
2023-12-14 10:29:08 +01:00
Daniel Garcia Moreno
663c98adbd
test: Extend tag tests to check 'W: missing-dependency-on'
...
See https://github.com/rpm-software-management/rpmlint/pull/1152
2023-12-14 10:13:35 +01:00
danigm
cb507aa60a
Merge pull request #1148 from carlosrodfern/main
...
fix readelf output encoding handling of errors
2023-12-04 17:41:58 +01:00
Carlos Rodriguez-Fernandez
af2c43fa81
fix readelf output encoding handling of errors
...
Fixes : #1147
Signed-off-by: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
2023-12-04 07:21:30 -07:00
danigm
d2dc3b182c
Merge pull request #1144 from dirkmueller/handle_invalid_symbols
...
Ignore (and escape) symbols that are not valid utf8
2023-11-30 07:17:33 +01:00
Dirk Müller
82c9323767
Ignore (and escape) symbols that are not valid utf8
...
the golang binaries are not creating utf8 symbols, so we need
to escape them otherwise rpmlint crashes on decoding them as utf8
2023-11-29 07:31:43 +01:00
danigm
f69a8f4efd
Merge pull request #1143 from rpm-software-management/enable-mageia
...
Revert "Disable Mageia CI builds due to system problem"
2023-11-27 09:30:08 +01:00
Daniel Garcia Moreno
c038458d42
Revert "Disable Mageia CI builds due to system problem"
...
This reverts commit 57e75f34f8
.
2023-11-27 09:18:47 +01:00