Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
[opensuse-buildservice] Re: Novell ID's for OSC Plugins
  • From: "Dr. Peter Poeml" <poeml@xxxxxxx>
  • Date: Thu, 29 Nov 2007 13:24:12 +0100
  • Message-id: <20071129122412.GT30003@xxxxxxx>

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

to diff the new "build" package in openSUSE:Tools project against the version
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.

It should be possible to implement an osc subcommand for this with a few

To integrate the functionality into the existing osc diff subcommand
might be a little more work (it needs some consideration to come up with
a sane user interface).

"WARNING: This bug is visible to non-employees. Please be respectful!"

SUSE LINUX Products GmbH
Research & Development
< Previous Next >