[Yum-devel] looking for feedback on 'diff-comps.py'

Seth Vidal skvidal at fedoraproject.org
Tue Mar 30 13:38:43 UTC 2010



On Tue, 23 Mar 2010, Dennis Gregorovic wrote:

> Hi,
>
> I put together a script called diff-comps.py that may be a good fit for
> yum-utils.  It takes in two comps.xml files, creates Comps objects, and
> then prints a list of the differences.  I've attached the script as well
> as sample output.
>
> You will see that the output is intended to be human-readable.  This
> isn't meant to replace the standard diff/patch tools.  Instead, the goal
> is to print the differences in such a way that it's easy to sanity-check
> and easy to understand the differences.
>
> Please let me know if you have any thoughts or suggestions.
>

Dennis,
  I like the script, in general, but I'm trying to figure out the use case 
for a normal user/admin? Is it to compare the groups from one release to 
the next? Or maybe this should be in the autoqa group to check comps 
changes?

How have you been using this script?

-sv




More information about the Yum-devel mailing list