[Rpm-maint] [rpm-software-management/rpm] rpmio: Fix lzopen_internal mode parsing when 'Tn' is used (#1478)

2021-01-06 Thread Vitalio
When there is number after T (suggested number of threads or 0 for getncpus), lzopen_internal() mode parser would skip one byte, and when its at the end of the string it would then parse undesired garbage from the memory, making intermittent compression failures. Fixes: 7740d1098 (Add support

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-15 Thread Vitalio
Mark, > BTW. How does this help you speed things up? We do just `grep -v '/$' to filter directories from source list[1], instead of loop similar to `while read f; do test -d $f || echo $f; done` which takes more than 15 seconds on kernel package. Thanks, [1]

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Do not 'edit_dwarf2' when just extracting build-id (#1435)

2020-11-16 Thread Vitalio
@vt-alt pushed 1 commit. 3e2cf02947c2048df90cf9161bfa8a7df60d4061 debugedit: Do not 'edit_dwarf2' when just extracting build-id -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-16 Thread Vitalio
@vt-alt pushed 1 commit. 8ab1e3646607711c81860998bdf49cc2ffe81fdd debugedit: Distinguish files from directories in src list file -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-17 Thread Vitalio
> Might it be an idea to split find-debuginfo.sh upstream and adopt/merge your > scripts? I split `process-debuginfo` to run them via `xargs -P` in parallel to speed up debuginfo processing. In general, modular approach might be more maintainable than monolithic script. So, this might me a good

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-17 Thread Vitalio
@vt-alt pushed 1 commit. bd3ba770a0794b280576fc5c34eea9f95d7f18d1 debugedit: Distinguish files from directories in src list file -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-17 Thread Vitalio
@vt-alt pushed 1 commit. 161c89795fae9826ae63609a9a5f9f2360cb9ccd debugedit: Distinguish files from directories in src list file -- You are receiving this because you are subscribed to this thread. View it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] debugedit: Do not 'edit_dwarf2' when just extracting build-id (#1435)

2020-11-15 Thread Vitalio
No need to call edit_dwarf2() if debugedit is invoked just to extract build-id (with `-i -n). Otherwise, we will get `DWARF version 0 unhandled warning for compressed .debug files: /usr/lib/rpm/debugedit: ./usr/lib/debug/...e.ko.debug: DWARF version 0 unhandled Context: We have kernel modules

[Rpm-maint] [rpm-software-management/rpm] debugedit: Distinguish files from directories in src list file (#1436)

2020-11-15 Thread Vitalio
Append / to directories in source file list (for `-l option) to allow quickly distinguish them from regular files (to avoid adding them raw into %files section). This is needed for ALT for our debuginfo processing to speed things up. Co-authored-by: Dmitry V. Levin l...@altlinux.org @ldv-alt