On Thu, May 29, 2008 at 11:36 PM, Stephen Hahn <[EMAIL PROTECTED]> wrote: >> >> OK, So I create an ant package. Doesn't matter what ant might be. >> >> pkg://peter.tribble/ant >> >> and you decide to take that exact same package, unchanged, and >> republish it as >> >> pkg://stephen.hahn/vendor/peter.tribble/ant >> >> why would you do that? My interpretation of "republishing" is that >> this really is the same package. In other words, this isn't claiming >> equivalence, it's claiming absolute identicality. > > Yes.
In which case the package name should be unchanged. >> So what is the point of republishing a package like this? If it's the >> same, then why not simply use the original? > > An easy example is if peter.tribble doesn't want to run his own > repository. A second example is if the legal terms peter.tribble > operates under don't allow the serving of packages to a subset of > people that stephen.hahn can serve to. But we're talking about package names. The name of the package shouldn't change just because it was obtained from a different server. The problem you have with this scheme is that pkg://stephen.hahn/vendor/peter.tribble/ant can no longer be interpreted to mean that stephen.hahn is the authority for this package - that's still peter.tribble; instead, this is a URL that represents a download location rather than a package name. >> What's the distinction between mirroring and republishing? > > Mirroring means providing a complete copy of an authority's > repository; republishing allows punching out a small set of packages. No, you can mirror one, some, or all of a repository's packages. Let us assume that installing OpenSolaris requires me to run a local repository (I don't want hundreds of machines pulling the same files across our WAN link). That repository just contains those packages I need - I certainly wouldn't want to have to maintain a mirror of all the other bits. (Now would I wish to have to republish anything.) -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
