Hi,

On Sun, Oct 25, 2009 at 05:23:46PM +0100, Guillem Jover wrote:

> > As discussed during DebConf, I agree with the goal but I'm not entirely
> > happy with the proposed use of “x-”, as the dash breaks current
> > assumptions of what's what depending on the position relative to it.

> What I've been thinking about is to use a different character, for
> example ~, so we'd have “~arch” denoting an unofficial architecture,
> or “~foo-bar” which would not break the - notation.

I've tried with a tilde both as prefix and as suffix, and both are a
mess to get working properly through the entire toolchain:

 - (suffix) Architecture specific debhelper files are interpreted as
   backup files by dh_clean and subsequently deleted
 - (prefix) If the argument to -a is separated with a space, the shell
   could interpret it as a home directory
 - dpkg-buildpackage refuses the architecture name while parsing
   dpkg-architecture output
 - dpkg-cross generates an invalid package name when it copies the
   architecture name into the generated package's name

The latter two are fixable, but mean that more tools are affected; the
former two I believe to be real showstoppers.

I think the "x-" notation is the cleanest one still; the other options I
can see are "unofficial-" (but third party vendors might not like to
have the word "unofficial" show up in every package name), "vendor-"
(somewhat nice, as you can follow it up with a vendor name), a percent
sign (still requires massive changes, but at least no showstoppers
here), or an underscore (probably breaks other stuff as it is used as a
field separator in several places, but at least there is precedent for a
trailing underscore as a marker in dpkg).

   Simon



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to