On Tue, Jun 03, 2008 at 01:41:03PM -0500, Shawn Walker wrote:
> 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

or prompt.

> 3) if exactly one, use matching package name

right.

> 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.

fail.

> That makes me think that we need the ability to defer some operations
> until the server rebuilds the catalog.

ick.

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

Reply via email to