[opensuse-buildservice] Getting devel project for a list of packages
Hi, I'd like to get the devel project for all packages in openSUSE:Factory. So I started doing a 'for all package in openSUSE:Factory, look at meta' loop, but it took 16 minutes to reach dbus-1. Obviously slow, and probably not a good thing to do. Is there a good way to have this information? (the end goal is to make sure that we have all the packages we should in GNOME:Factory, and also to make sure we have only the packages we should there) Vincent -- Les gens heureux ne sont pas pressés. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Vincent Untz schrieb:
Hi,
I'd like to get the devel project for all packages in openSUSE:Factory. So I started doing a 'for all package in openSUSE:Factory, look at meta' loop, but it took 16 minutes to reach dbus-1. Obviously slow, and probably not a good thing to do.
Is there a good way to have this information?
Use the search interface: https://api.opensuse.org/search/package?match=@project='openSUSE:Factory' will get you all package metadata of openSUSE:Factory in a single xml file. Then you can use whatever method you like to extract the data you need.
(the end goal is to make sure that we have all the packages we should in GNOME:Factory, and also to make sure we have only the packages we should there)
Vincent
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Le mardi 16 septembre 2008, à 03:20 +0200, Andreas Bauer a écrit :
Vincent Untz schrieb:
Hi,
I'd like to get the devel project for all packages in openSUSE:Factory. So I started doing a 'for all package in openSUSE:Factory, look at meta' loop, but it took 16 minutes to reach dbus-1. Obviously slow, and probably not a good thing to do.
Is there a good way to have this information?
Use the search interface:
https://api.opensuse.org/search/package?match=@project='openSUSE:Factory'
will get you all package metadata of openSUSE:Factory in a single xml file. Then you can use whatever method you like to extract the data you need.
Awesome, it's really better :-) Thanks a lot! Vincent -- Les gens heureux ne sont pas pressés. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Andreas Bauer
-
Vincent Untz