Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Novell ID's for OSC Plugins
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Thu, 29 Nov 2007 14:37:13 +0100
  • Message-id: <20071129133713.GA3673@xxxxxxxxxxxxxxxxxxx>
On 2007-11-29 13:24:12 +0100, Dr. Peter Poeml wrote:

how about discussing this on the public opensuse-buildservice list?

I'm sending my reply there.

On Thu, Nov 29, 2007 at 01:12:33PM +0100, Adrian Schröter wrote:
Regarding the current status of the diff functionality, what you asked for,

POST /source/<project>/<package>?cmd=diff
project - Project name
package - Package name
Create a source diff
rev: revision of new package, optional oproject: old project, optional
opackage: old package, optional orev: old revision, optional
Result: diff as text/plain

So you can do this via the api:

curl -X POST -H "Content-Length: 0" -0 -n \


An osc equivalent of this command would be
osc req -m POST

What does the "/source/project/build?cmd=diff" command do? I just tried it but
I get:

<?xml version="1.0" encoding="UTF-8"?>
<status code="cmd_execution_no_permission">
<summary>no permission to execute command 'diff'</summary>

I couldn't find anything about it in the apidocs.

to diff the new "build" package in openSUSE:Tools project against the
in openSUSE:Factory .

osc has IMHO not yet a nice interface for this (something like cvs rdiff).
Right Peter ?


osc has no support for requesting a diff between *two* arbitrary
packages. So far, "osc diff" can create diffs of different revisions of
*one* package.

At the moment osc supports only doing a diff between the working copy and
a specified revision. But adding support for comparing two different
revisions (e.g. "osc diff -r1:r3") shouldn't be too difficult as this can
be done by the api.

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

< Previous Next >