#889533 fixes; RM of "clojure" package in favoured of versioned names?

Sean Whitton spwhitton at spwhitton.name
Mon Mar 19 21:56:10 UTC 2018


On Mon, Mar 19 2018, Elana Hashman wrote:

> On Sun, Mar 18, 2018 at 03:10:23PM -0700, Sean Whitton wrote:
>> I'm just an observer, but don't we want it to be possible for Debian
>> users to `apt-get install clojure`?  And leiningen should probably
>> `Depends: clojure` because it will work with any installed version.
> Prior to the stretch release, no "clojure" package existed. Every
> release of the Clojure language was versioned (clojure1.4, clojure1.6,
> etc.). So this would be nice, but I don't think it's strictly
> necessary.
> Since leiningen is an uberjar, the version of Clojure it compiled
> against (1.8) is built in directly, so one can still install it
> simultaneously with any version of Clojure, but that's not really a
> dependency relationship... we may want to add a Recommends, now that
> I'm thinking of it.

What I had in mind was that if I have leiningen, I will probably want to
use it to build my clojure project, so I'll want clojure installed.

Do you mean that it should be Recommends: because lein can download
another copy of clojure into your $HOME?

>> So maybe each of the clojure1.X packages should `Provides: clojure`.
>> (That will allow leiningen to depend, though I'm not completely sure
>> that it will let users `apt-get install clojure`.)
> This would make clojure a purely virtual package, which I think would
> require us to get on the virtual packages list?[*]

Speaking as a Policy Editor: you do not need to get on that list because
all packages Providing 'clojure' are maintained within a single team.

> I'd worry this would create a bunch of extra work and potential
> confusion for users (ex: they initially install 1.9 via `apt install
> clojure` but the applications they want to run need 1.8).

Fair enough.  It's really up to the judgement of those working with
clojure on a day-to-day basis as to what would be most useful.

Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-clojure-maintainers/attachments/20180319/945b24d4/attachment.sig>

More information about the Pkg-clojure-maintainers mailing list