[Bug] files paths in the patch not always correctly parsed
SailFish OS version: 4.5.0.9 Patchmanger Version: 3.2.9 Hardware: Xperia 10 II
BUG DESCRIPTION
Referring to this patch (untested code):
- https://coderus.openrepos.net/pm2/project/zram-swap-resize-script
this is the output in the log when the patch is installed:
void PatchManagerObject::doRefreshPatchList() Collecting info for: "zram-swap-resize-script"
void PatchManagerObject::doRefreshPatchList() Possible conflict in: "/usr/bin/zram_swap_resize.sh"
and this the same when it is not installed:
void PatchManagerObject::doRefreshPatchList() Collecting info for: "zram-swap-resize-script"
void PatchManagerObject::doRefreshPatchList() Possible conflict in: "/zram_swap_resize.sh"
in the second case the patch files paths parsing is wrong, unless I created that file which does not exist by default.
STEPS TO REPRODUCE
- download from
Web Catalogthe patch above - switch the
Patch Managerto developer mode - then enable and disable the patch
- check the
Patch Managerlog
ADDITIONAL INFORMATION
Proposed bug-fix
- https://github.com/sailfishos-patches/patchmanager/commit/f247da61c2e2df06274b00d40ddc605b98740ade
Let me know and I will do a pull/merge request.
Please take care to fix the code issues reported by this person, but create your own changes. no commits authored by this person are allowed to be merged in this repo.
@nephros @nephros @Olf0 fyi
@b100dian was missed.
Please let us carry out this meta-discussion at the oldest bug report filed by robang74: #444
Every thing discussed there an the meta-level is sure applicable to the filed issues #445 and #446, too (plus any future ones by robang74).