FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 07-11-2012, 07:23 AM
Raphael Hertzog
 
Default BinNMU changelog handling for Multi-Arch: same packages

Hi Guillem,

On Wed, 20 Jun 2012, Guillem Jover wrote:
> I'll be doing a first push today. The remaning things I'll be finishing
> up next are at least the strings cleanup left out from the 1.16.4
> release, the cross-multiarch patches, part of the changelog binNMU
> solution, and some other multiarch related improvements.

So it looks like that the "part of the changelog binNMU solution"
was just the possibility to tag a changelog entry "binary-only"
with a keyword.

But that doesn't solve the release team's problem of having to schedule
bin-nmus for all arches for Multi-Arch: same.

I know that in the long term you're in favor of moving the changelog in
the package metadata and I agree with this plan. But IMO we must find
an interim solution in the mean time.

Here's a suggestion. Please share your thoughts:

1/ we modify dh_installchangelog to strip the binary-only changelog entry
for Multi-Arch: same packages

Some rough shell code to show the logic:

if dpkg-parsechangelog | grep -q "^Binary-Only: yes"; then
perl -i -ne '$found++ if /^S/; print if $found >= 2;' $changelog
fi

2/ we modify dpkg to allow co-installation of M-A: same packages which share the
same source version regardless of the binary version

3/ we modify sbuild to add the required "binary-only=yes" in the binNMU
changelog entries. Here's a sample header line:

ftplib (3.1-1-9+b1) unstable; urgency=low, binary-only=yes


Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120711072305.GG7822@rivendell.home.ouaza.com">ht tp://lists.debian.org/20120711072305.GG7822@rivendell.home.ouaza.com
 

Thread Tools




All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org