[Yum-devel] [PATCH] Use yum's dependency checking code for package-cleanup --problems

Panu Matilainen pmatilai at laiskiainen.org
Wed Aug 31 07:56:13 UTC 2011


On 08/29/2011 05:43 PM, Panu Matilainen wrote:
> On 08/29/2011 04:42 PM, seth vidal wrote:
>> On Mon, 2011-08-29 at 09:32 -0400, James Antill wrote:
>>> On Mon, 2011-08-29 at 12:43 +0300, Panu Matilainen wrote:
>>>> The dep checker in yum does a more thorough job already, and this
>>>> lets us deal with any further issues (eg BZ 729973) centrally in
>>>> one spot. This does change the output a bit though, whether it
>>>> matters to anybody I doubt but dunno...
>>>
>>> Changing the output is no problem, IMO :)
>>>
>>
>> Yah - it's probably fine - but lets try to not make it MORE horrible
>> than it is currently.
>
> Well, if changing is ok then how about trying to make it better instead? :)
>
> The patch took minimal change approach by prepending "Package " to each
> outputted line, but this seems rather redundant: a tool called
> package-cleanup is not returning data about fish or ducks.
>
> A simple option would make it return the same what "yum check" does,
> without the "Package" on each line. Or group the problems by package
> with nicely indented output or ... Me, I dont care about the exact
> format but if others have improvement ideas...

No comments? Okay, I'll just push the patch as-is, it's not as if the 
output can't be further tweaked if somebody actually cares.

	- Panu -


More information about the Yum-devel mailing list