Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [RFC] Guessing a package by short name
Date: Thu, 15 Mar 2007 03:17:48
Message-Id: 45F8BAAA.1010504@gentoo.org
In Reply to: [gentoo-portage-dev] [RFC] Guessing a package by short name by Daniel Barkalow
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Daniel Barkalow wrote:
5 > I think emerge should be able to do better with guessing what I mean by
6 > "sudo". How about, if:
7 >
8 > 1) "ask" or "pretend" is on, and
9 > 2) exactly one package with a given short name is in world or is installed
10 >
11 > it will print a message explaining the ambiguity, but will proceed with
12 > the package from world. (1 means that the user has a chance to confirm the
13 > choice before anything actually happens; 2 means portage has some guess as
14 > to which is desired.)
15
16 I like the general idea. I'm not sure if the "ask" or "pretend"
17 requirement is really necessary. Why not just make the assumption
18 that the user expects smart category expansion in any case?
19
20 Zac
21
22 -----BEGIN PGP SIGNATURE-----
23 Version: GnuPG v2.0.3 (GNU/Linux)
24
25 iD8DBQFF+Lqp/ejvha5XGaMRAuYyAJ4gFGpZaAZ/I/C5OHLpvlJlYTWC7gCgoF8Q
26 NMiJliqObQw4fWHnzZ86DTg=
27 =jQdP
28 -----END PGP SIGNATURE-----
29 --
30 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] [RFC] Guessing a package by short name Alec Warner <antarus@g.o>