On 02/26/13 10:04 AM, Shawn Walker wrote:
On 02/25/13 12:26, Tim Foster wrote:
Solaris is the main user of the packaging system so far, but skewing the
defaults to suit that one consumer seems wrong to me.
I believe optimising our tools for the most common use case is the right
thing to do.
There's no concern about performance here as pkgrecv will still only
copy packages that don't already exist to the destination repository.
pkgrecv performance will be unaffected, but that doesn't mean it doesn't
impact performance elsewhere: local repositories will take up more disk
space, moving them around will be harder, backups will run for longer, etc.
I don't currently believe that's a significant concern.
Alright, so we disagree.
Yes, for Solaris repositories we must pull everything, but that's only
because there isn't sufficient package metadata to allow us to
meaningfully ask for the bits we care about [ cf. dead horse ]
With this change, the CLI seems strange:
# pkgrecv pkg:/middleware/foobar
gets me every single version and timestamp of that huge unbundled
product, but
# pkg install pkg:/middleware/foobar
only installs the latest version (admittedly, pkgrepo list
pkg:/middleware/foobar does show all versions, so we're inconsistent)
I'm not going to keep arguing: if I'm the only one thinking this is the
wrong approach, instead of, as I suggested, aliasing '-m all-timestamps'
to '--mirror', then go ahead with the change.
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss