[csw-maintainers] Package comparator

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Sep 28 17:37:26 CEST 2009

On Mon, Sep 28, 2009 at 4:25 PM, Philip Brown <phil at bolthole.com> wrote:
> On Sat, Sep 26, 2009 at 9:06 AM, Maciej (Matchek) Blizinski
> <maciej at opencsw.org> wrote:
>> Today's shameless plug: I hacked together a small (200 lines of code)
>> tool to compare prototypes of packages. It's especially useful when
>> GAR-ifying packages and making sure that whatever was in the old
>> packages is also present in the new one.
> excellent! we've been needing this for a long time.
>> $ opencsw/utilities/compare_pkgs.py -h
> Please rename it to be just "compare_pkgs", though?
> there's no need to have a .py "extention". we're not dealing with web
> server cgi interpreters here :-)

Yes, that's the plan. The actual binary when deployed will probably be
/opt/csw/bin/compare-pkgs; It's going to be a wrapper calling out to
/opt/csw/lib/csw/python (or something similar), which is going to
contain the compare_pkgs.py file. There's also the opencsw_lib.py with
common functions, shared by more Python scripts from the utilities

I was thinking that this script could be added to the CSWcswutils package.


More information about the maintainers mailing list