[Aptitude-devel] Bug#892984: Bug#892983 + Bug#892984: please allow filtering on/displaying the release 'label'/'suite'

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Mar 16 12:34:53 UTC 2018


Hi,

2018-03-15 10:56 Axel Beckert:
>Control: tag -1 + confirmed
>
>Hi Tomas,
>
>Tomas Pospisek wrote in #892983:
>> The attached patch implement filtering for the 'Label' field in the
>> "Release" file. I.e. it allows to filter packages according to the
>> 'Label' of the release they belong to.
>>
>> It adds a search expression/filter '?label()' to aptitude.

Thanks for the patch.


>Yay!
>
>Actually I could have needed that (and looked for it) yesterday on
>Raspbian to figure our which packages come from Rasbian (i.e. are in
>sync with Debian) and which come from the Raspberry Pi Foundation's
>APT repo (which seems rather topsy-turvy).
>
>In the end ?origin() worked for that case, too, but having ?label() …
>[...]
>… and ?suite() would be indeed a very nice addition. So thanks for the
>patch (and patch template)!

IIRC I implemented ?origin a few years back, and again IIRC, there was
some trouble with ?label or some of the other fields coming from the
repo, I think that it's the reason why they are missing.

Over the next week or so I will try to remember or do some tests to find
out why I didn't do that... unfortunately that might require digging
into bug reports or mailing list archives, if that was even documented
publicly at all, which maybe not.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list