Mailinglist Archive: opensuse-buildservice (366 mails)
| < Previous | Next > |
[opensuse-buildservice] Search with API
- From: Leo Eraly <leo@xxxxxxxxxxx>
- Date: Thu, 02 Aug 2007 21:43:52 +0200
- Message-id: <1186083832.15707.18.camel@xxxxxxxxxxxxxxxxxx>
Hi,
I'm writing a small application to search for SLE packages in the OBS.
I was wondering if it is possible with the search function to give a
query to search for all packages which are build for SLE-10 or to search
for all packages that contain description apache && build for SLE-10?
Right now I first do a query [contains(@name, '$search_term') to see if
the name matches and in a second step I check if this package is build
for a SLE repository.
Is this possible in one query? I'm not that familiar with xpath and the
apidoc is rather limited about this.
Thx in advance.
Leo
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
I'm writing a small application to search for SLE packages in the OBS.
I was wondering if it is possible with the search function to give a
query to search for all packages which are build for SLE-10 or to search
for all packages that contain description apache && build for SLE-10?
Right now I first do a query [contains(@name, '$search_term') to see if
the name matches and in a second step I check if this package is build
for a SLE repository.
Is this possible in one query? I'm not that familiar with xpath and the
apidoc is rather limited about this.
Thx in advance.
Leo
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |