Re: [PATCH setup] Sort the packages listed in the "confirm" dialog

2018-07-09 Thread Jon Turney
On 07/06/2018 18:14, Ken Brown wrote: On 6/6/2018 4:44 PM, Jon Turney wrote: I know you had a few other patchsets in flight, which I've unfortunately taken my eye off.  If it's easier, you could push a branch with somewhere with what's outstanding, and I'll see if I can pick them up. Here

collecting information for versioned dependencies (was Re: setup -g ???)

2018-07-09 Thread Jon Turney
On 02/04/2018 18:03, Ken Brown wrote: [Redirected to cygwin-apps from https://cygwin.com/ml/cygwin/2018-03/msg00365.html.] On 3/22/2018 6:46 PM, Jon Turney wrote: [...] This is basically correct. setup is now capable of being told about dependencies where upgrading an already installed

[PATCH setup 1/2] Add Vendor() accessor method to SolvableVersion

2018-07-09 Thread Jon Turney
--- libsolv.cc | 17 + libsolv.h | 1 + 2 files changed, 18 insertions(+) diff --git a/libsolv.cc b/libsolv.cc index 63942b2..955a1b2 100644 --- a/libsolv.cc +++ b/libsolv.cc @@ -209,6 +209,23 @@ SolvableVersion::sourcePackageName () const return

[PATCH setup 2/2] Keep track of all known sites for a given version of a package

2018-07-09 Thread Jon Turney
When adding a packageversion, extend it's packagesource::sites vector to include the sites from any similar packageversions previously processed. Also remove those packageversions from the libsolv pool so that libsolv will always find the one that lists all the sites. This is needed for: -

Re: [PATCH setup 3/3] Keep track of all known sites for a given version of a package

2018-07-09 Thread Jon Turney
On 17/03/2018 14:59, Ken Brown wrote: When adding a packageversion for an entry in setup.ini, make its packagesource::sites vector include the sites from previously processed ini files. Also remove from the libsolv pool the previous packageversions, so that libsolv will always find the one that

Re: RFC: setup package in Base

2018-07-09 Thread Ken Brown
On 7/7/2018 8:40 AM, Jon Turney wrote: On 06/07/2018 15:05, Jon Turney wrote: On 06/07/2018 14:51, Jon Turney wrote: Thanks for the patch. The version is checked (again), at ini.cc:404 I've never understood why we have this twice. (I think the idea might be that first we are checking the