Re: [PATCH 2/2] Reimplement dpkg-divert in C
- To: debian-dpkg@lists.debian.org
- Subject: Re: [PATCH 2/2] Reimplement dpkg-divert in C
- From: Guillem Jover <guillem@debian.org>
- Date: Thu, 19 Nov 2009 08:26:21 +0100
- Message-id: <[🔎] 20091119072621.GC22306@gaara.hadrons.org>
- Mail-followup-to: debian-dpkg@lists.debian.org
- In-reply-to: <87eiovsrof.fsf@frosties.localdomain>
- References: <1255462605-26799-1-git-send-email-dottedmag@dottedmag.net> <1255462605-26799-2-git-send-email-dottedmag@dottedmag.net> <1255462605-26799-3-git-send-email-dottedmag@dottedmag.net> <20091017000547.GC28270@gaara.hadrons.org> <871vkyqyu8.fsf@vertex.dottedmag.net> <87eiovsrof.fsf@frosties.localdomain>
Hi!
On Thu, 2009-10-22 at 11:29:04 +0200, Goswin von Brederlow wrote:
> Mikhail Gusarov <dottedmag@dottedmag.net> writes:
> > Is --list supposed to be only human-readable? Then we can change output
> > format a bit to make it more localizable (12 similar strings like "local
> > diversion of %s to %s by %s", "diversion of %s", "any diversion of %s by
> > %s"... are localizable, but insane).
>
> I think some maintainer scripts use --list. But I think they only care
> wether there is a diversion. Maybe a --test for testing if something
> is already diverted by a previous version and --list for users would
> be better.
dpkg-divert already has a --test option which is a dry-run. Also
there's already --listpackage and --truename to be used for such
automated checks.
regards,
guillem
Reply to: