Erik Trauschke wrote:

> The more confusing issue is why I stumbled across this bug and decided to
> give it a go. If you run the following:
> 
> pkgrecv -s source -d dest pkg@1.0 pkg@2.0 pkg@3.0
> 
> you'd expect it would sync all three packages since you explicitly specified
> them. But pkgrecv will only sync pkg@3.0. If you want to sync all three
> you'd have to specify -m all-timestamps (or in this case all-versions would
> be sufficient)

That seems like a separate bug, where we should be paying more explicit
attention to what we were told, and make sure to pass that on into the guts
of the program, rather than eliding the specific versions.

I'm not weighing in on the default for -m, since you could still get this
weird behavior if you said "pkgrecv -m latest pkg@1 pkg@2 pkg@3" -- though
adding "latest" seems useful all by itself.

Danek
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to