On Wed, May 14, 2008 at 6:47 PM, Jordan Brown <[EMAIL PROTECTED]> wrote: > Shawn Walker wrote: >> >> In other words, there's no reason why a mini-repository can't contain >> a single package. >> >> There's a few things that distributing a repository instead of a >> package solves in my mind: >> >> * Finding satisfiable dependencies > > Are repositories required to be internally complete, including all of their > dependencies? > > If so, does this mean that if I want to e-mail you my cool little Java > program (in proper package form, of course), I have to include a JRE?
That is definitely not my intent. My intent is that ips would pull from any other repositories (authorities?) that it already knows about and install those dependencies from there. >> To me, that is a marked advantage over the current process today where >> a user downloads several packages files into a directory like this: >> >> neatprogram.pkg, baz.pkg, bar.pkg, foo.pkg >> >> Then they're left to figure out how to get that to install. > > Note that SVR4 stream format can include many packages in one file, so the > right way to install it might well be "pkgadd -d myapp.pkg all". While I didn't actually know that, it illustrates my purpose rather nicely :-) Specifically, one of the things I hope to do is support a repository tarball as such: pkg -d repo.tgz install neatprogram >> With many systems, they also have very limited query or other >> capabilities until they install the package. > > SVR4 and RPM both offer pretty good facilities for examining uninstalled > packages. SVR4's is better than RPM's, but RPM, at least earlier versions, were especially bad about having a limited query interface. At last check, if I had four packages in a directory: foo.rpm bar.rpm baz.rpm quux.rpm ...and I wanted to know which one would provide /usr/bin/neatprogram, I would have to query each rpm individually to find that out. With the mini-repository idea, you could do: pkg -d repo.tgz search /usr/bin/neatprogram ...and be told that the baz package has the file you're looking for. That's my intent anyway. Cheers, -- Shawn Walker "To err is human -- and to blame it on a computer is even more so." - Robert Orben _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
