On 02/25/13 10:12 AM, Danek Duvall wrote:
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 [email protected] [email protected] [email protected]

you'd expect it would sync all three packages since you explicitly specified
them. But pkgrecv will only sync [email protected]. 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.

In this case it's at least a bit more clear from the options you pass.
But I agree, there could be more work done here.

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

Reply via email to