[csw-maintainers] checkpkg: Detecting file conflicts (wrt the recent ev.h conflict)

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Apr 12 01:19:22 CEST 2010


2010/4/10 Ben Walton <bwalton at opencsw.org>:
> Is the full /var/sadm/install/contents format required?

If the file had the same format, I could use the same parser.

> I'd expect
> you only need the first and last fields to implement the check.  Eg:
> File /x/y/z in your package CSWfoort conflicts with CSWoldfoo, or
> something.

I think that's OK if the file had dummy strings for uninteresting
fields.  The important fields are:

- full path
- file type
- pkgname

> We have this info in the central database, as it's consumed by the
> /search/ URL on the website.  If we made periodic (weekly?) dumps of
> this data available for download/caching[1] by checkpkg, you could
> achieve what's required, no?  It would be a public[1] URL, so it
> wouldn't be tied to the buildfarm...

I like the idea.  I'll try to sketch something along those lines in
the following week.


More information about the maintainers mailing list