[PATCH setup] Finish providing support for provides: and conflicts:

Ken Brown kbrown@cornell.edu
Tue Jun 19 12:43:00 GMT 2018


On 6/18/2018 1:49 PM, Ken Brown wrote:
> [Redirecting to cygwin-apps.]
> 
> On 6/18/2018 1:32 PM, Jon Turney wrote:
>> On 06/06/2018 21:44, Jon Turney wrote:
>>> On 04/04/2018 14:21, Ken Brown wrote:
>>>> On 3/21/2018 3:38 PM, Ken Brown wrote:
>>>>> Introduce member functions SolvableVersion::provides() and
>>>>> SolvableVersion::conflicts().  This enables packagedb::read() to
>>>>> access provides and conflicts lists from setup.ini.
>>>>
>>>> Ignore this patch.  It breaks libsolv's dependency processing.
>>>>
>>>
>>> Thanks, even if it's not right, I'd completely overlooked the need 
>>> for something like this.
>>
>> Do you have any details on what broke with this?  I've been trying it 
>> and I don't notice any problems.
> 
> No, I'm sorry.  I don't remember, and I didn't keep any notes about it.

It's coming back to me now.  I think I was testing the following 
situation: I created an installed package A that was being updated 
(possibly because of a command-line option).  I made A require a version 
of a package B higher than the installed version, so that the update of 
A should have forced an update of B.  This wasn't working reliably.  And 
if I manually chose to keep the installed version of B, libsolv wasn't 
reliably reporting a problem.

I'll try again to reproduce this, but it might be a few days until I can 
get to it.

Ken



More information about the Cygwin-apps mailing list