[opensuse-packaging] osc meta - what is the xml syntax?
All, I'm getting this error and don't know where to look for the right syntax: === Sending meta data... BuildService API error: validation_failed (400) package validation error: Element package has extra content: repository === I'm using this as a reference, but maybe I either it is out of date or I'm missing something basic: https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#Adding_multip... I created test package with this xml: <package name="plaso_test_install_package" project="home:gregfreemyer:junk"> <title></title> <description>Test package to see if plaso will install in fedora. ie. Are all the dependencies present.</description> <repository name="openSUSE_12.2"> <path project="devel:languages:python" repository="openSUSE_12.2"/> <path project="openSUSE:12.2" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> </package> Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, 27 Aug 2013 18:41:24 -0400 Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
I'm getting this error and don't know where to look for the right syntax:
=== Sending meta data... BuildService API error: validation_failed (400) package validation error: Element package has extra content: repository ===
I'm using this as a reference, but maybe I either it is out of date or I'm missing something basic: https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#Adding_multip...
I created test package with this xml:
<package name="plaso_test_install_package" project="home:gregfreemyer:junk"> <title></title> <description>Test package to see if plaso will install in fedora. ie. Are all the dependencies present.</description> <repository name="openSUSE_12.2"> <path project="devel:languages:python" repository="openSUSE_12.2"/> <path project="openSUSE:12.2" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> </package>
What you do is adding repositories to project, but project doesn't have package information. You probably run `osc meta -e pkg` and in such project you can only enable or disable build for given repository. So you should add repository to project, I think it is not possible to do it package specific. Josef
Greg -- Greg Freemyer
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Greg Freemyer
-
Josef Reidinger