Mailinglist Archive: opensuse-buildservice (171 mails)

< Previous Next >
[opensuse-buildservice] _buildinfo inconsistency
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Tue, 08 Sep 2009 16:01:07 +0200
  • Message-id: <4AA663A3.2080205@xxxxxxx>
Hi,

$ osc api /build/home:michal-m/openSUSE_11.0/x86_64/nafe/_buildinfo >t1
$ osc api -m POST -d 'Name: test' \
/build/home:michal-m/openSUSE_11.0/x86_64/nafe/_buildinfo >t2
$ diff -u t[12]
--- t1 2009-09-08 15:56:54.000000000 +0200
+++ t2 2009-09-08 15:56:57.000000000 +0200
@@ -1,13 +1,5 @@
<buildinfo project="home:michal-m" repository="openSUSE_11.0"
package="nafe" downloadurl="http://download.opensuse.org/repositories";>
<arch>x86_64</arch>
- <srcmd5>4f263493abe82e1f59603b5a5642b4a0</srcmd5>
- <verifymd5>4f263493abe82e1f59603b5a5642b4a0</verifymd5>
- <rev>2</rev>
- <specfile>nafe.spec</specfile>
- <file>nafe.spec</file>
- <versrel>0.1-2</versrel>
- <bcnt>2</bcnt>
- <release>2.2</release>
<debuginfo>0</debuginfo>
<bdep name="aaa_base" preinstall="1" runscripts="1" notmeta="1"
version="11.0" release="79.1" arch="x86_64" project="openSUSE:11.0"
repository="standard" />
<bdep name="acl" preinstall="1" notmeta="1" version="2.2.45"
release="40.1" arch="x86_64" project="openSUSE:11.0"
repository="standard" />

Because of the missing <release>2.2</release> element, osc doesn't
substitute release numbers when building locally. Should osc work around
this (get the buildinfo a second time to find out the release) or should
the backend be fixed (bs_repserver, function getbuildinfo(), that
doesn't fetch the required pieces when called from getbuildinfo_post())?

Michal
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups