From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: RFC: Debian Policy for Ada, Fourth Edition for Debian 6.0 "Squeeze"
Date: Mon, 19 Oct 2009 06:28:47 -0700 (PDT)
Date: 2009-10-19T06:28:47-07:00 [thread overview]
Message-ID: <aab421f0-0b92-422d-9e09-e69012f60ca7@j4g2000yqa.googlegroups.com> (raw)
In-Reply-To: 4adc5783$0$6556$9b4e6d93@newsspool4.arcor-online.net
Georg Bauhaus wrote:
> Ludovic Brenta schrieb:
> > libopentoken-dev (=3.1a+2-1+1)
>
> Any such expression of the versioning scheme would, sooner or
> later, drive package users up several walls IMHO, after tearing
> some hair out. Here is why it seems inacceptable:
I also dislike it :)
> Solution:
> Can someone important please mention the availability
> of *extended* *file* *attributes*---BTW in *both* file systems
> (including UDF) and in standard archive formats such as zip and
> tar (hence easily available to deb) !
> With extended file attributes the above information can be
> coded almost like this:
>
> > upstream_ada = 3.1a
> > upstream_non_ada = 2
> > library_ali = <empty>
> > debian_ada_patch = 1
> > debian_non_ada_patch = 1
>
> Do you see the named notation, the XML attributes, and the
> property settings? :-) Package handling tools would not
> need to have yet another ad hoc, ever changing parser for file
> name infixes. Instead, they could use the library routines for
> extended file attribute handling.
I think you'd need to take this proposal up to the maintainers of dpkg
and propose a standard set of attributes and the associated rules for
taking these attributes into account when comparing package versions.
Also, remember that there can be only one package with a given file
name; currently Debian encodes the version in the file name so that
archives can carry multiple versions of a package at the same time
(e.g. stable, testing and unstable).
Your solution seems theoretically sound to me, except for the fact
that it is only needed for Ada and a couple other languages like OCaml
that care about consistency between source and binaries across the
entire closure of a program. Asking for dpkg to support this solution,
potentially breaking backward compatibility with archives and making
in-place upgrades problematic, all for the sole benefit of these few
languages seems politically suicidal :)
So far, I still think that encoding the ".ali" version number in the
name of the -dev package (e.g. libopentoken3.1a-dev) is the least ugly
and least impractical solution.
--
Ludovic Brenta.
next prev parent reply other threads:[~2009-10-19 13:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 17:36 RFC: Debian Policy for Ada, Fourth Edition for Debian 6.0 "Squeeze" Ludovic Brenta
2009-10-19 8:03 ` Stephen Leake
2009-10-19 8:31 ` Ludovic Brenta
2009-10-19 12:11 ` Georg Bauhaus
2009-10-19 13:28 ` Ludovic Brenta [this message]
2009-10-19 15:16 ` Georg Bauhaus
2009-10-19 15:47 ` Ludovic Brenta
2009-10-20 7:57 ` Stephen Leake
2009-10-20 9:42 ` Ludovic Brenta
2009-10-26 18:54 ` ANN: " Ludovic Brenta
2009-10-26 20:21 ` Niklas Holsti
2009-10-26 22:55 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox