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

Re: Bug#194515: ITP: debdivert -- Debian packaging aid to create patch packages



David B Harris <david@eelf.ddts.net> wrote:
> On 24 May 2003 15:40:08 +0900
> Masato Taruishi <taru@debian.org> wrote:
>> Ah, the main point of this package is to create a local ad-hoc package
>> which can coexist with its official package. Escpecially, I can manage
>> my temporary on-going improvement to some debian package as a debian
>> package. I didn't think to waste official debian packages because we
>> shouldn't upload this kind of patch packages to the official but merge
>> the patch to the official packages if we want to share them on public.

> The main question is "what on god's green earth does this do that
> dpkg-divert doesn't do?"

> Looking at the package description, it implies that it will in fact do a
> lot less than dpkg-divert unless you tell it otherwise.

Reread it, please.

| create diversion-enabled packages, that is, these original files
| which are changed by your tuned packages will be diverted before
| installing yours and will be recovered after removing yours
| automatically.

Afaict, this should enable you to
* apt-get source foo
* apply debdivert
* build package
* dpkg -i foo_1.0-debdivert_i386.deb
with a foo_debdivert that can coexist with foo and has all the
necessary calls to dpkg-divert needed for co-existence in its
maintainterscripts.

I still don't get why you wouldn't simply generate a modified version
and install it _instead_ of the original package, unless foo also
include a switch-debdivert-foo package that enables to choose to
switch to officila package faster than 'dpkg -i official.deb'
                    cu andreas



Reply to: