Sébastien Villemot <sebast...@debian.org> writes:

> Looking at debian-emacs-policy from emacsen-common 2.0.3, I see
> that it recommends that addons add a Conflicts: emacsen-common << 2.0.0.
>
> First, I am not sure that a versioned conflicts is the right solution, a
> Breaks may be more appropriate (see
> http://lintian.debian.org/tags/conflicts-with-version.html ).

If someone can be sure that Breaks would be OK, then I'd be happy to
change the policy, but I suspect Breaks may be fine here (and perhaps
necessary -- though I'd have to think everything through carefully
again).

The intention of requiring Breaks was to make sure that no older
emacsen-common (pre-2.0-overhaul) can ever be installed on a system at
the same time as any add-on that's been migrated to work with
emacsen-common 2.*.

> Second, even though such a Conflicts/Breaks will certainly help, I am
> not totally sure that it will actually force the configuration of
> emacsen-common/wheezy before any add-on.

Exactly -- it shouldn't -- note that in the new policy, add-on packages
are no longer required to depend on *anything* relating to emacs.  See
section 5.C:

  C) Add-on packages need not declare a dependency on emacsen-common,
     nor on any emacs flavors, but they must (of course) declare
     dependencies on any other relevant packages, including relevant
     add-on packages, or tools needed by the install/remove scripts.

     The emacsen-common infrastructure will ensure that the
     install/remove script invocations are ordered to respect
     inter-add-on package dependencies.

One major goal of the 2.0 overhaul was to make it so that there was less
pressure to create tiny foo-el packages.  Of course you *can* still
create them, but it's now a fairly open choice. i.e. the emacs
related-bits could go in gettext, or in gettext-el -- maintainer's
choice, with no additional dependency requirements either way (aside
from the Breaks).

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to