[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] CLI tool to execute a p2 query?
- From: Chris Aniszczyk <caniszczyk@xxxxxxxxx>
- Date: Wed, 16 Feb 2011 16:04:06 -0600
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GG7JuqjP+kTVEPbHVLVzayoLml8XcgDS9Zq/jvKtSBjpsXyWWw3+/fnw0vYuVZ7T5i hSOPpX6NKc+ChKSU4/9L0fXjrQ4omEXk0CDUwbmU+AUp1gD0EmZBnPTpzCjpsR1XpNWY CsgH1Hyvn7JtmJuHhyujRARqiPS2CJS23PAgU=
On Wed, Feb 16, 2011 at 3:35 PM, Brian de Alwis <briandealwis@xxxxxxxxx> wrote:
> I was just re-provisioning a workspace to work on e4 and needed to add the Eclipse test harness bundles (org.eclipse.core.tests.harness). ÂI couldn't figure out which feature includes them, and eventually gave up and just checked them out from source. ÂAnd I'm now looking for a feature containing a different bundle.
> I'm sure I can build a p2 query to figure this out, given enough time. ÂBut I wondered if there's an p2 cli app that already does this, or that I can use to execute the query? Â(p2grep?)
I wrote a p2 console command awhile ago that you may find useful...
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.
+1 860 839 2465