Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187653

Re: Many executables across Debian's archives share basenames

From Zenaan Harkness <zenaan@freedbms.net>
Newsgroups linux.debian.user
Subject Re: Many executables across Debian's archives share basenames
Date 2017-10-06 23:20 +0200
Message-ID <uxIch-6GS-3@gated-at.bofh.it> (permalink)
References <uxkWl-7OJ-1@gated-at.bofh.it> <uxl62-7UJ-5@gated-at.bofh.it> <uxmEN-F3-5@gated-at.bofh.it> <uxuM1-6bZ-3@gated-at.bofh.it> <uxAop-1Ez-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 06, 2017 at 08:56:08AM -0400, Greg Wooledge wrote:
> On Fri, Oct 06, 2017 at 08:52:49AM +0200, tomas@tuxteam.de wrote:
> > Now "import" is quite another kettle of fish: it's part of the
> > ImageMagick suite (not much to do with X, actually), which has the
> > (questionable) tradition of calling its things "display", "convert",
> > "identify", "compare"... or even "conjure"). Now ImageMagick is so
> > useful that people seem to tolerate it, but a prefix (e.g. "im-")
> > or a super-command ("im") would be more modern, yes.
> 
> ImageMagick only gets away with it because of its age and ubiquity.
> It's grandfathered in.

Ah yes, I mixed that up - it's ImageMagick, not X.

ImageMagick needs a patch to fix this!  There is a new, not
particularly shiny but rather effective hierarchical naming Buddha
path which must be followed for our collective command namespace
sanity.

Could even be done by wrapper script of course... hmmm


On Fri, Oct 06, 2017 at 04:30:19PM +0200, tomas@tuxteam.de wrote:
> On Fri, Oct 06, 2017 at 06:06:33PM +0400, Jerome BENOIT wrote:
> > Hello,
> >⋅
> > On 06/10/17 17:24, Stefan Monnier wrote:
>⋅
> [...]
>⋅
> > We can also add the prefix im- to each executable.
> > For instance, the tools coming with the nauty package are
> > prefixed with nauty-
> > to avoid name collision.
>
> Yes, but all this schemes would kill existing scripts (that's why I
> mentioned pitchforks ;-)
>
> Stefan's approach would have at least the advantage that one could
> skirt the problem by augmenting $PATH (unless the scripts call the
> ImageMagick binaries with full path).
>
> I don't think a distro would want to do that. I'd think these
> horses left the barn long time ago.

Bah ... just have a package install option "namespace" and those who
don't want it don't choose it.

There comes a time in every distro's life when it must grab itself by
its bootlaces, lift itself into the sky of namespace serenity and
float off into nirvana with just a little monkey magic.

A patch a day keeps the pitchforks at bay :)


At least now that I know it's im, and not x, I can give it my royal
boot yo!

 <‼‼MWWAAAHAHAHHAHAHAHAHAAAAAAAAAAAA‼‼>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Many executables across Debian's archives share basenames harry666t@gmail.com (Kamil Cholewiński) - 2017-10-05 22:30 +0200
  Re: Many executables across Debian's archives share basenames Don Armstrong <don@debian.org> - 2017-10-05 22:40 +0200
    Re: Many executables across Debian's archives share basenames Zenaan Harkness <zenaan@freedbms.net> - 2017-10-06 00:20 +0200
      Re: Many executables across Debian's archives share basenames <tomas@tuxteam.de> - 2017-10-06 09:00 +0200
        Re: Many executables across Debian's archives share basenames Greg Wooledge <wooledg@eeg.ccf.org> - 2017-10-06 15:00 +0200
          Re: Many executables across Debian's archives share basenames Stefan Monnier <monnier@iro.umontreal.ca> - 2017-10-06 15:30 +0200
            Re: Many executables across Debian's archives share basenames <tomas@tuxteam.de> - 2017-10-06 15:50 +0200
              Re: Many executables across Debian's archives share basenames Jonathan Dowland <jmtd@debian.org> - 2017-10-13 14:00 +0200
                Re: Many executables across Debian's archives share basenames <tomas@tuxteam.de> - 2017-10-13 14:40 +0200
            Re: Many executables across Debian's archives share basenames Jerome BENOIT <calculus@rezozer.net> - 2017-10-06 16:30 +0200
              Re: Many executables across Debian's archives share basenames <tomas@tuxteam.de> - 2017-10-06 16:40 +0200
          Re: Many executables across Debian's archives share basenames Zenaan Harkness <zenaan@freedbms.net> - 2017-10-06 23:20 +0200
      Re: Many executables across Debian's archives share basenames Jonathan Dowland <jmtd@debian.org> - 2017-10-13 14:00 +0200

csiph-web