Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
Re: [opensuse-buildservice] Wanna play with OBS attribute system?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 19 Nov 2009 07:40:30 +0100
  • Message-id: <200911190740.30570.adrian@xxxxxxx>
Am Mittwoch, 18. November 2009 19:04:55 schrieb Thomas Schmidt:
On 02.11.2009 14:19, Adrian Schröter wrote:

the lasted svn trunk is running on I am really keen to
hear feedback of more people playing with this.

Latest osc svn trunk is available in openSUSE:Tools:Unstable project and
you can find some description notes here:

Using osc 0.123svn I have some problems searching for attributes:

The example:
osc search --attribute openSUSE:Playground
has to be changed to
osc search -a openSUSE:Playground

-a ATTRIBUTE, --limit-to-attribute=ATTRIBUTE

are the current switches. maybe the later one is too long and I should rename
it to --attribute ?

but there seems to be a bug in osc, so I have to use:
osc search -a openSUSE:Playground ""

Yes, indeed a bug.

to get a result. I am missing an option to search for an attribute
with a certain (regexp?) value.

That is also missing. Actually there is already a ruby function in the api,
which is doing this, but I am unsure how to make this available via xpath
query. You may can give me a hint here...



Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >