292052912c
Add test for extracting ar archive without long filenames
2024-08-27 11:28:44 +02:00
5cbd110a84
Forbid extracting files with absolute path from 'cpio' archives (boo#1122683)
...
Also fix and modernize the code, add tests.
2024-05-30 14:53:58 +02:00
d61b781976
Forbid extracting files with absolute path from 'ar' archives (boo#1122683)
...
Also fix and modernize the code, add tests.
2024-05-30 14:53:58 +02:00
fdd2c3a8f0
Fix creating a Package object by providing multiple files on the command line
2023-01-20 16:52:11 +01:00
a4720eb776
Add new osc._private module
2022-10-13 10:52:17 +02:00
c8f4487201
Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
...
The original findpacs() was returning either [Package]
or ([Package], [str]) depending on the `fatal` option.
This confused pylint and it was returning false-positives:
E1101: Instance of 'list' has no '...' member (no-member)
2022-09-20 11:32:25 +02:00