[csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

Ben Walton bwalton at opencsw.org
Sun Mar 27 03:05:26 CEST 2011


Hi Maciej,

This patch adds a method to the DirectoryFormatPackage class that
allows gathering of the obsoletion info it it exists in the package.

It's fairly simple and templated on the GetDependencies method.  Once
this info is gathered from the package though, we can do things like
verify the existence of the items listed, ensure the package delivers
nothing except a license file, has a catalog name ending in _stub if
the list of packages obsoleting the current package isn't empty, etc.

Sound ok to you?

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

-------------- next part --------------
A non-text attachment was scrubbed...
Name: collect_obsoletion_info.patch
Type: application/octet-stream
Size: 806 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20110326/d17e127c/attachment.obj>


More information about the devel mailing list