Mailinglist Archive: opensuse-buildservice (213 mails)

< Previous Next >
[opensuse-buildservice] osc put the md5 rather the rev when creating a request
  • From: Petit Eric <surfzoid@xxxxxxxxx>
  • Date: Fri, 12 Jun 2009 23:29:17 +0200
  • Message-id: <84776a970906121429i5ede2854u1e572afdc16a30a6@xxxxxxxxxxxxxx>
Hi
the folowing command provide the folowing output for the folowing result :
osc -H submitreq create -m "test for MonoOSC" home:surfzoid MonoOSC
home:surfzoid:Mono-1.2.6-MDV2008.1


-- GET
https://api.opensuse.org/source/home:surfzoid:Mono-1.2.6-MDV2008.1/MonoOSC/_meta
send: 'GET /source/home:surfzoid:Mono-1.2.6-MDV2008.1/MonoOSC/_meta
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
api.opensuse.org\r\nCookie: IPCZQX018ef15359=00008601921183f5b099ac4c;
ZNPCQ002-api=V001d93b35d9\r\nConnection: close\r\nUser-Agent:
osc/0.110\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Opensuse-Apiversion: 0.1.2
header: X-Runtime: 0.00851
header: ETag: "262a0fd84706be6b7b76a80c22078ea9"
header: Cache-Control: private, max-age=0, must-revalidate
header: Date: Fri, 12 Jun 2009 21:11:35 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: text/xml; charset=utf-8
header: Connection: close
header: Content-Length: 412
header: Via: 1.1 ICS_SERVER (iChain 2.3.410)


-- GET
https://api.opensuse.org/search/request?match=submit/target/@project='home%3Asurfzoid%3AMono-1.2.6-MDV2008.1'%20and%20submit/target/@package='MonoOSC'
send: "GET
/search/request?match=submit/target/@project='home%3Asurfzoid%3AMono-1.2.6-MDV2008.1'%20and%20submit/target/@package='MonoOSC'
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
api.opensuse.org\r\nCookie: IPCZQX018ef15359=00008601921183f5b099ac4c;
ZNPCQ002-api=V001d93b35d9\r\nConnection: close\r\nUser-Agent:
osc/0.110\r\n\r\n"
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Opensuse-Apiversion: 0.1.2
header: X-Runtime: 0.03664
header: ETag: "0404c6feeef3eb60c7860f3ec7b29c2f"
header: Content-Transfer-Encoding: binary
header: Cache-Control: private
header: Content-Disposition: inline
header: Date: Fri, 12 Jun 2009 21:11:36 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: text/xml
header: Connection: close
header: Content-Length: 1182
header: Via: 1.1 ICS_SERVER (iChain 2.3.410)


-- GET https://api.opensuse.org/source/home:surfzoid/MonoOSC
send: 'GET /source/home:surfzoid/MonoOSC HTTP/1.1\r\nAccept-Encoding:
identity\r\nHost: api.opensuse.org\r\nCookie:
IPCZQX018ef15359=00008601921183f5b099ac4c;
ZNPCQ002-api=V001d93b35d9\r\nConnection: close\r\nUser-Agent:
osc/0.110\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Opensuse-Apiversion: 0.1.2
header: X-Runtime: 0.03636
header: ETag: "44478b8af46a724c892cbefba8ba4ca9"
header: Content-Transfer-Encoding: binary
header: Cache-Control: private
header: Content-Disposition: inline
header: Date: Fri, 12 Jun 2009 21:11:37 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: text/xml
header: Connection: close
header: Content-Length: 1029
header: Via: 1.1 ICS_SERVER (iChain 2.3.410)


-- POST https://api.opensuse.org/request?cmd=create
send: 'POST /request?cmd=create HTTP/1.1\r\nAccept-Encoding:
identity\r\nContent-Length: 315\r\nHost:
api.opensuse.org\r\nUser-Agent: osc/0.110\r\nConnection:
close\r\nCookie: IPCZQX018ef15359=00008601921183f5b099ac4c;
ZNPCQ002-api=V001d93b35d9\r\nContent-Type:
application/x-www-form-urlencoded\r\n\r\n'
send: '<request type="submit">\n <submit>\n <source
project="home:surfzoid" package="MonoOSC"
rev="9f87de8777a8bd07f706a97cdabfb4cc"/>\n <target
project="home:surfzoid:Mono-1.2.6-MDV2008.1" package="MonoOSC" />\n
</submit>\n <state name="new"/>\n <description>test for
MonoOSC</description>\n</request>\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Opensuse-Apiversion: 0.1.2
header: X-Runtime: 0.67838
header: ETag: "0c4fd8df1ae9fdd5420d16a16906d3a3"
header: Content-Transfer-Encoding: binary
header: Cache-Control: private
header: Content-Disposition: inline
header: Date: Fri, 12 Jun 2009 21:11:38 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: text/xml
header: Connection: close
header: Content-Length: 354
header: Via: 1.1 ICS_SERVER (iChain 2.3.410)
created request id 12022
[eric@SurfzoidPC ~]$


give the result :

<request id="12022" type="submit">
<submit>
<source project="home:surfzoid" package="MonoOSC"
rev="9f87de8777a8bd07f706a97cdabfb4cc" />
<target project="home:surfzoid:Mono-1.2.6-MDV2008.1" package="MonoOSC" />
</submit>
<state name="deleted" who="surfzoid" when="2009-06-12T23:14:48">
<comment></comment>
</state>
<history name="new" who="surfzoid" when="2009-06-12T23:13:25" />
<history name="accepted" who="surfzoid" when="2009-06-12T23:13:42">
<comment></comment>
</history>
<history name="declined" who="surfzoid" when="2009-06-12T23:14:15">
<comment></comment>
</history>
<history name="accepted" who="surfzoid" when="2009-06-12T23:14:33">
<comment></comment>
</history>
<description>test for MonoOSC</description>
</request>

but https://api.opensuse.org/source/home:surfzoid/MonoOSC say :
<directory name="MonoOSC" rev="386" vrev="2"
srcmd5="9f87de8777a8bd07f706a97cdabfb4cc">
<entry name="ListOfFiles.txt" md5="524417dd76f8c23b590d63130a3e459a"
size="1435" mtime="1223419909"/>
<entry name="MonoOSC-1.0.1.9.tar.bz2"
md5="12537b81dddc469dc0e6302867d1476d" size="1344430"
mtime="1244462798"/>
<entry name="MonoOSC.spec" md5="9e74075fefb776da56def1c48bc83ff3"
size="4896" mtime="1244462764"/>
<entry name="debian.changelog" md5="308e9a3eeceae9756e20a390fc0ed6a0"
size="128" mtime="1233663882"/>
<entry name="debian.control" md5="e925f6a869cbf16b50769fb067de9477"
size="489" mtime="1233337509"/>
<entry name="debian.rules" md5="af2e6aa2964faaf442bbca4787ea5bbc"
size="1716" mtime="1231628669"/>
<entry name="monoosc.dsc" md5="9a0c747ea0cc9b7885eb94328512e886"
size="325" mtime="1233663863"/>
<entry name="postinst" md5="0ac38115f0455cb41f938f3014893e86"
size="61" mtime="1232757216"/>
<entry name="wizard.xml" md5="9c8716f4a9322738f80049238835b456"
size="680" mtime="1218191865"/>
</directory>







--

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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups