[pacman-dev] [PATCH] Move skipping of duplicate sync/remove targets into libalpm

2018-12-13 Thread Michael Straube
sync: As pointed out by Andrew Gregory there could be an error when adding duplicates if they are two separate packages with the same name. Add a check in alpm_add_pkg() to test whether the duplicate is actually the same package, and if so, log a debug message and return success to skip the package

Re: [pacman-dev] [PATCH] Move skipping of duplicate sync/remove targets into libalpm

2018-12-13 Thread Andrew Gregory
On 12/13/18 at 11:44am, Michael Straube wrote: > sync: > As pointed out by Andrew Gregory there could be an error when adding > duplicates if they are two separate packages with the same name. Add a > check in alpm_add_pkg() to test whether the duplicate is actually the > same package, and if so, l

Re: [pacman-dev] [PATCH] Move skipping of duplicate sync/remove targets into libalpm

2018-12-13 Thread Michael Straube
Am 13.12.18 um 20:21 schrieb Andrew Gregory: On 12/13/18 at 11:44am, Michael Straube wrote: sync: As pointed out by Andrew Gregory there could be an error when adding duplicates if they are two separate packages with the same name. Add a check in alpm_add_pkg() to test whether the duplicate is a