Re: [pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-09-19 Thread Morgan Adamiec
On Wed, 19 Sep 2018 at 22:28, Allan McRae wrote: > My concern is of users of that function other than pacman (if there are > any...). Adding a parameter at least flags the change in behaviour an > allows other users to keep it the way it was. Ah yeah good point, forgot that other frontends are

Re: [pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-09-19 Thread Allan McRae
On 20/9/18 3:18 am, Morgan Adamiec wrote: > Yeah -Qu is still a little funky. > >> It gets better... packages in databases with Usage = Upgrade do not >> show up in -Qu. That is clearly wrong! > > I left the requirement on Usage = Search after every one disagreed with > my patch [1] to change

Re: [pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-09-19 Thread Morgan Adamiec
Yeah -Qu is still a little funky. > It gets better... packages in databases with Usage = Upgrade do not > show up in -Qu. That is clearly wrong! I left the requirement on Usage = Search after every one disagreed with my patch [1] to change it. Although I would prefer it if Search had no

Re: [pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-09-19 Thread Allan McRae
On 1/9/18 9:35 am, morganamilo wrote: > Fixes FS#59854 > > Signed-off-by: morganamilo > --- You patch is fine... But in testing it, I once again come to see how screwy -Qu is! We need to go back to your original issue. -Qu ignores databases with Usage = Sync or Install when calculating the

Re: [pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-09-19 Thread Allan McRae
On 1/9/18 9:35 am, morganamilo wrote: > Fixes FS#59854 > > Signed-off-by: morganamilo > --- Looks good. A > src/pacman/query.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/pacman/query.c b/src/pacman/query.c > index 00c39638..faa06e60 100644 > ---

[pacman-dev] [PATCH] during -Qu add [ignored] for repos without Usage = Upgrade

2018-08-31 Thread morganamilo
Fixes FS#59854 Signed-off-by: morganamilo --- src/pacman/query.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pacman/query.c b/src/pacman/query.c index 00c39638..faa06e60 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -325,10 +325,14 @@ static int