2008/6/3 Nicolas Williams <[EMAIL PROTECTED]>: > On Tue, Jun 03, 2008 at 09:29:19AM -0500, Shawn Walker wrote: >> Since the dependency could be resolved at publish time (i.e. the file >> dependency is resolved to a package name at that time), I don't think >> those concerns apply. > > I agree. One thing that comes to mind is that at the time of resolution > of the file dependency to a package name there could be many possible > matching packages, so some control over the resolution process may be > required.
To me, it would be easiest just to do something like: 1) find packages for /path/to/file 2) if more than or less than one, fail 3) if exactly one, use matching package name However, one problem with this is that it creates a situation where you are publishing a package that depends on a file in a package that hasn't been published yet. That makes me think that we need the ability to defer some operations until the server rebuilds the catalog. Something to ponder. -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
