[opensuse-buildservice] Knowing if build is enabled for a package
Hi, I'm trying to know on the client side if the build is enabled for a package (for a specific repo/arch). My first guess is to use 'osc meta pkg $project $package', but if the package uses the default settings of the project, then I have no information. First question: would it make sense to show the inherited settings in the metadata here? So I look at 'osc meta prj $project' and I only have those lines which look kind of relevant (although they're probably just here to list the architectures supported for the given repository in this project): <arch>i586</arch> <arch>x86_64</arch> But no mention if the build is enabled or disabled. Any pointer of what I should do? Thanks, 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
2008/10/20 Vincent Untz <vuntz@opensuse.org>:
Hi,
I'm trying to know on the client side if the build is enabled for a package (for a specific repo/arch).
My first guess is to use 'osc meta pkg $project $package', but if the package uses the default settings of the project, then I have no information. First question: would it make sense to show the inherited settings in the metadata here?
So I look at 'osc meta prj $project' and I only have those lines which look kind of relevant (although they're probably just here to list the architectures supported for the given repository in this project): <arch>i586</arch> <arch>x86_64</arch> But no mention if the build is enabled or disabled.
Any pointer of what I should do? Yu can show it graphicaly with MonoOSC + mono >= 2.0 (Svn branche (stable)) https://sourceforge.net/projects/monoosc/ SVN is better but yu can find "oldest" rpm in OBS https://sourceforge.net/dbimage.php?id=182525 (screeshot with globy enable/disable, but also aviable per pkg)
Thanks,
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
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Vincent Untz napsal(a):
Hi,
I'm trying to know on the client side if the build is enabled for a package (for a specific repo/arch).
My first guess is to use 'osc meta pkg $project $package', but if the package uses the default settings of the project, then I have no information. First question: would it make sense to show the inherited settings in the metadata here?
Hmm, I don't know. osc meta shows and allows you to edit the raw metadata as stored on the api server. But an option to show the 'computed' package metadata would be interesting...
So I look at 'osc meta prj $project' and I only have those lines which look kind of relevant (although they're probably just here to list the architectures supported for the given repository in this project): <arch>i586</arch> <arch>x86_64</arch> But no mention if the build is enabled or disabled.
The default is to enable build. Michal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Michal Marek
-
Petit Eric
-
Vincent Untz