Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Friendly error on user supplied invalid atoms
Date: Sat, 01 Oct 2005 15:29:45
Message-Id: 200510020029.32622.jstubbs@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] Friendly error on user supplied invalid atoms by Jason Stubbs
1 On Wednesday 28 September 2005 00:33, Jason Stubbs wrote:
2 > On Wednesday 28 September 2005 00:22, Jason Stubbs wrote:
3 > > Don't mind if the message is changed at all - this one kind of reminds me
4 > > of a pre-recorded telephone operator - so if anyone has any
5 > > suggestions...
6 >
7 > After a small amount of discussion:
8 >
9 > !!! '%s' is not a valid package atom.
10 > !!! Please check ebuild(5) for full details.
11 > !!! (Did you specify a version but forget to prefix with '='?)
12
13 Using portage.isvalidatom() is a little too strict. Any atom with no category
14 is marked as invalid. _rc1 has a quick workaround but this patch restores the
15 full range of atoms classes that was available previously.

Attachments

File name MIME type
allow-no-category-atoms.patch text/x-diff