[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] p2ql wiki page
|
On 2010-12-14 23:54, David Orme wrote:
BTW, is there a REPL anywhere for p2ql? We wrote a crude one to play with it and learn/understand it, but something
like that would be really helpful.
Chris Aniszczyk experimented with this and came up with some OSGi commands for p2ql queries that I added to the
p2.console bundle. With that active you should be able to execute them from the OSGi console. Here's an excerpt from the
help command.
provlquery <repository URI | *> <expression> [ true | false ] - Lists the IUs that match the query expression in
the given repo. * matches all. The expression is expected to be a boolean match expression unless the third argument is
true, in which case the expression is a full query
provlpquery <profileid | this> <expression> [ true | false ] - Lists the IUs that match the query expression in
the given profile. The expression is expected to be a boolean match expression unless the third argument is true, in
which case the expression is a full query
Regards,
Thomas Hallgren