Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
[opensuse-buildservice] osc linked package expansion and patch control
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Mon, 19 Nov 2007 18:18:08 +0100
  • Message-id: <1195492688.4383.18.camel@xxxxxxxxxxxxxx>

Here is a small script, which allows to edit osc link patches using
quilt patch control system.

It is a quick hack, but it works somehow.

The integration of quilt itself is simple and consists from few lines
inside, so it should not be complicated to rewrite it to any language,
probably as a plugin for osc:
- Get original of linked source
- Apply patches using patch control system hook
- Copy changes back

Usage is simple as well:

oscquilt start
quilt new my-new.patch
quilt add *.spec
$EDITOR *.spec
# One call of quilt refresh -p0 is part of the "oscquilt stop".
cd ..
oscquilt stop

Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic
< Previous Next >
This Thread
  • No further messages