On 02/25/13 10:12, 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.
We don't change version matching behaviour based on input; the matching
behaviour is consistent with pkgrepo, pkg, pkgmerge and other places for
better or worse.
Currently, the way the matching code is written, it's not possible to
alter that particular matching behaviour based on pattern. The same
behaviour is (intentionally) enforced for all patterns.
So the current behaviour is not a bug -- it's intentionally been that
way for many years. That isn't saying that we shouldn't change it, just
that it was intentional at the time.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss