On Mon, 2010-07-19 at 15:21 -0700, Danek Duvall wrote:
> Tim Foster wrote:
> > I can drop these if needs be, but would just like to double-check that
> > it's not needed.  This particular entry in the list of pkglint checks
> > came from http://defect.opensolaris.org/bz/show_bug.cgi?id=13536
> > perhaps I've misinterpreted it?
> 
> I believe that the requirement was for a published package, not for a
> source manifest that had yet to be processed.

Aah, I see.  pkglint at the moment just deals with Manifest objects, and
doesn't yet distinguish between published and unpublished manifests.

I could check whether a manifest was published by either looking for
timestamps on the pkg.fmri or a chash on any actions that delivered
content.  I could alternatively check whether I've got a CachedManifest
rather than a base Manifest object - both sound a bit hacky though :-/

        cheers,
                        tim


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to