Mailinglist Archive: opensuse-buildservice (74 mails)

< Previous Next >
Re: [opensuse-buildservice] API query to return all _real_ source packages
Adrian Schröter schrieb:
On Freitag, 10. Mai 2019, 00:38:13 CEST Jimmy Berry wrote:
On Thursday, May 9, 2019 5:20:55 PM CDT Jimmy Berry wrote:
In conclusion, even with a rather complex client-side xpath query it is
not
possible to get the list of "real packages" without making lots of
followup
queries. Is there a proper way to query the list or can such a method be
added?

Essentially what would be great is the the following.

/source/<project>?maintenance=0&multibuild=0&multispec=0

or

/source/<project>?real=1

The definition of real being packages to which one might submit an update
for either my way of maintenance or direct submit request.

I admit that I still struggle a bit of the definition of "real packag es"
here...

Let's ask a different question and use a naive approach to answer it
for illustration:
Which packages were released as online update for 15.1 already?

$ osc ls openSUSE:Leap:15.1:Update
00Meta
bzip2
bzip2.10237
evolution
evolution.10239
graphviz
graphviz-addons
graphviz-addons.10241
graphviz.10241
libxslt
libxslt-python
libxslt-python.10243
libxslt.10243
openssl-1_0_0
openssl-1_0_0.10244
patchinfo.10237
patchinfo.10239
patchinfo.10241
patchinfo.10243
patchinfo.10244
patchinfo.10245
patchinfo.10246
patchinfo.10247
patchinfo.32bit.8555
patchinfo.8555
patchinfo.affects-package-manager.8555
patchinfo.broken.8555
patchinfo.feature.8555
patchinfo.interactive.8555
patchinfo.optional.8555
patchinfo.reboot.8555
patchinfo.relogin-suggested.8555
patchinfo.security.8555
postfix
postfix.10245
sensors
sensors.10246
speech-dispatcher
speech-dispatcher.10247
update-test-trivial
update-test-trivial.8555


What we expected to see:

$ osc ls openSUSE:Leap:15.1:Update
00Meta
bzip2
evolution
graphviz
libxslt
openssl-1_0_0
postfix
sensors
speech-dispatcher
update-test-trivial

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Mary Higgins, Sri Rasiah,
HRB 21284 (AG Nürnberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups