unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: 05/15: gnu: wesnoth: Rename package to the-battle-for-wesnoth.
Date: Wed, 27 Mar 2019 17:25:26 +0100	[thread overview]
Message-ID: <87bm1wxp1l.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87pnqcbbaz.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3923 bytes --]

Ludovic Courtès <ludo@gnu.org> writes:

>> If the majority of distributions decides on a poor name, we don't have
>> to repeat the same mistake ;)
>
> I agree, but there’s also a tension between that and not violating the
> “principle of least surprise”.  Sometimes the latter outweighs the
> former.

I agree and I'm pro the principle of least surprise.  I believe the full
package names do go in that direction.

>>> Those names are also used upstream in some cases: the tarball for
>>> wesnoth is called “westnoth*.tar.gz”, for example, and the GitHub
>>> project of L’Abbaye des morts is “abbayedesmorts” (no ‘l’).  Like our
>>> naming guidelines say (info "(guix) Package Naming"), we should try to
>>> stick to the upstream name.
>>>
>>> Thoughts?
>>
>> I think it's important to ask "why should we name a package this way."
>> What's the rationale behind a package name?
>
> I agree with what you’re saying but (1) we’re talking about package
> name, which are different from fully spelled out “fancy names” (like
> “L’Abbaye des morts”).
>
> For package names, our policy is to follow upstream’s own package name.
> For The Battle of Westnoth, it’s “westnoth”.

Our  current policy is to follow upstream _project names_, which is often
different from the package name.

From the manual:

--8<---------------cut here---------------start------------->8---
   Both are usually the same and correspond to the lowercase conversion
of the project name chosen upstream, with underscores replaced with
hyphens.  For instance, GNUnet is available as ‘gnunet’, and SDL_net as
‘sdl-net’.
--8<---------------cut here---------------end--------------->8---

If you want to follow upstream _package_ names, then we should fix the
manual I think.

> By doing that, we make the user’s lives easier in that they may already
> be familiar with this short name.  If, instead, we try to roll our own
> that neither distros nor upstream uses, then we’re not helping people.

Isn't it the other way around?

I think that we would be rolling our own package name by using short names.

Using the official full project name is an attempt to prevent the
spreading of self-rolled names, in my opinion.

> Completion helps, I agree, but not everyone uses Helm either.  If you’re
> in Bash and type “guix package -i w<TAB>” and don’t see “westnoth”,
> you’re unhappy, and user unhappiness is bad.  :-)

But that's true the other way around too: A user could expect
"battle-for-wesnoth" and with

  guix package -i b<TAB>

and be disappointed.

I believe there is a confusion around orthogonal problems:

- Naming: it's about identifying package objects.  This is at the
  semantic level, nothing practical here.  This is user facing.

- Search / completion interface (bash completion and the like).  The
  problem is with Bash, not with names.  Bash completion equally fails
  at completing short names if the prefix is wrong (sl bring up a steam
  locomotive on some systems :p).  This is true for all sort of
  "prefix-based" completion systems.

We have ungoogled-chromium after all, not something many people on the planet
would expect!  :p
But I like it and I think it's a good name :)

> In a GUI things may be different because the package name doesn’t matter
> that much.

Bash completion is a UI ;)

The reason this whole thread started is because the original poster
failed to find some games among our package because of arguably not so
trivial names.  It has happened before that a package got packaged twice
because of different naming.  I believe we should strive at removing any
ambiguity in package names.

Our package names have the status of global
variables: they are the names which, I think, matter the most.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2019-03-27 16:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190326131842.7363.84034@vcs0.savannah.gnu.org>
     [not found] ` <20190326131845.1B177209E3@vcs0.savannah.gnu.org>
2019-03-26 14:54   ` 06/15: gnu: wesnoth-server: Rename package to the-battle-for-wesnoth-server Tobias Geerinckx-Rice
2019-03-26 14:20     ` Pierre Neidhardt
2019-03-26 15:18     ` Ricardo Wurmus
2019-03-26 15:32       ` Pierre Neidhardt
2019-03-26 17:53         ` Andreas Enge
2019-03-26 18:25           ` Pierre Neidhardt
2019-03-27 11:11           ` Ludovic Courtès
2019-03-27 11:36             ` Pierre Neidhardt
     [not found] ` <20190326131844.C73EC209E3@vcs0.savannah.gnu.org>
2019-03-27 11:07   ` 05/15: gnu: wesnoth: Rename package to the-battle-for-wesnoth Ludovic Courtès
2019-03-27 11:46     ` Pierre Neidhardt
2019-03-27 13:20       ` swedebugia
2019-03-27 15:00         ` Ricardo Wurmus
2019-03-27 16:42           ` Pierre Neidhardt
2019-03-28  7:59             ` Ricardo Wurmus
2019-03-28  8:09               ` Pierre Neidhardt
2019-03-29 13:27           ` swedebugia
2019-03-27 15:15         ` Ludovic Courtès
2019-03-27 18:34         ` Tobias Geerinckx-Rice
2019-03-27 18:26           ` Pierre Neidhardt
2019-03-27 18:44             ` Daniel Jiang
2019-03-27 21:15             ` Tobias Geerinckx-Rice
2019-03-28  8:17               ` Pierre Neidhardt
2019-03-29 14:02                 ` Tobias Geerinckx-Rice
2019-03-29 15:16                   ` Andreas Enge
2019-03-29 16:42                     ` Naming, hacking, and policies Ludovic Courtès
2019-03-29 19:23                       ` Ricardo Wurmus
2019-03-31 16:33                         ` Ludovic Courtès
2019-03-30 13:54                       ` sirgazil
2019-03-31 16:37                         ` Ludovic Courtès
2019-03-31 18:03                           ` sirgazil
2019-03-31 20:31                             ` Ludovic Courtès
2019-03-31 22:59                               ` sirgazil
2019-04-01  0:07                               ` Tobias Geerinckx-Rice
2019-03-29 19:57                     ` 05/15: gnu: wesnoth: Rename package to the-battle-for-wesnoth swedebugia
2019-03-27 15:13       ` Ludovic Courtès
2019-03-27 16:25         ` Pierre Neidhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bm1wxp1l.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).