[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

New support in emsource for 2.0.2



I'm extending /usr/share/emdebian-tools/emxcontrol and adding it as an
optional check to be added to 'emsource -c'.

The purpose is that, once autobuilders are operational again, any
process that is needed to update the rest of the package can also be
used to automatically update the xcontrol file (which must already
exist) from the debian/control file in the source package.

$ emsource -x -v -c $package

Using the new -x option, once the xcontrol file exists in the cleaned
source, it is checked against the debian/control file from the Debian
source package.

Various warnings can then be seen if the xcontrol file is out of date.

Updating the xcontrol file is then done using:

$ /usr/share/emdebian-tools/emxcontrol 1 > new; mv new debian/xcontrol

(Yes, emxcontrol needs to use a temporary file which is then moved into
place once emxcontrol has finished.)

The updated xcontrol file is then committed as a patch alongside any
other changes we need.

All fields in all stanzas can be updated *except* Build-Depends* which
is checked for simple omissions but needs to be updated manually to
cope with dependency changes. Cross-Compiling: yes is also added to the
source package automatically.

emxcontrol will also keep up with any changes we make in
debian/xcontrol to manage functional changes.

This should make it possible to keep the xcontrol file in good shape
without too many manual changes.

Simon - is there any chance of a new release of xcontrol to fix the
outstanding bugs so that xcontrol support can take the next step?

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpbHjKK8UJIz.pgp
Description: PGP signature


Reply to: