Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory (http://www.linux-archive.org/gentoo-development/276861-gentoo-x86-commit-x11-plugins-desklet-mouse-new-directory.html)

Joe Sapp 11-08-2009 12:35 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
Samuli Suominen wrote:
> Joe Sapp (nixphoeni) wrote:
>> nixphoeni 09/10/27 11:21:25
>>
>> Log: Directory /var/cvsroot/gentoo-x86/x11-plugins/desklet-Mouse added to
>> the repository
>>
>
> Since when did we start adding "big letters" to other than perl
> -categories?
>
> *Very* ugly.

Sorry about that, I thought it was a valid package name. I did it because it
better reflects the upstream naming schemes. I suppose I could stop and move
the few I've done so far back to all lowercase if there's enough consensus.

Joe

Mike Frysinger 11-08-2009 01:40 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
On Sunday 08 November 2009 08:35:10 Joe Sapp wrote:
> Samuli Suominen wrote:
> > Joe Sapp (nixphoeni) wrote:
> >> nixphoeni 09/10/27 11:21:25
> >>
> >> Log: Directory /var/cvsroot/gentoo-x86/x11-plugins/desklet-Mouse added
> >> to the repository
> >
> > Since when did we start adding "big letters" to other than perl
> > -categories?
> >
> > *Very* ugly.
>
> Sorry about that, I thought it was a valid package name. I did it because
> it better reflects the upstream naming schemes. I suppose I could stop
> and move the few I've done so far back to all lowercase if there's enough
> consensus.

it is a valid package name. if it makes your life easier, you're allowed to
use the name. some people prefer to normalize everything lowercase -- if
they're maintaining the package, they're free to do that.
-mike

Peter Volkov 11-08-2009 02:25 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
В Вск, 08/11/2009 в 09:40 -0500, Mike Frysinger пишет:
> On Sunday 08 November 2009 08:35:10 Joe Sapp wrote:
> > Samuli Suominen wrote:
> > > Joe Sapp (nixphoeni) wrote:
> > >> nixphoeni 09/10/27 11:21:25
> > >>
> > >> Log: Directory /var/cvsroot/gentoo-x86/x11-plugins/desklet-Mouse added
> > >> to the repository
> > >
> > > Since when did we start adding "big letters" to other than perl
> > > -categories?
> > >
> > > *Very* ugly.
> >
> > Sorry about that, I thought it was a valid package name. I did it because
> > it better reflects the upstream naming schemes. I suppose I could stop
> > and move the few I've done so far back to all lowercase if there's enough
> > consensus.
>
> it is a valid package name. if it makes your life easier, you're allowed to
> use the name. some people prefer to normalize everything lowercase -- if
> they're maintaining the package, they're free to do that.

Until it was decided differently, no, it's not:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#doc_chap3

"The first subsection, pkg, is the package name, which should only
contain lowercase letters, the digits 0-9, and any number of single
hyphen (-), underscore (_) or plus (+) characters."

--
Peter.

Mike Frysinger 11-08-2009 02:51 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
On Sunday 08 November 2009 10:25:56 Peter Volkov wrote:
> В Вск, 08/11/2009 в 09:40 -0500, Mike Frysinger пишет:
> > On Sunday 08 November 2009 08:35:10 Joe Sapp wrote:
> > > Samuli Suominen wrote:
> > > > Joe Sapp (nixphoeni) wrote:
> > > >> nixphoeni 09/10/27 11:21:25
> > > >>
> > > >> Log: Directory /var/cvsroot/gentoo-x86/x11-plugins/desklet-Mouse
> > > >> added to the repository
> > > >
> > > > Since when did we start adding "big letters" to other than perl
> > > > -categories?
> > > >
> > > > *Very* ugly.
> > >
> > > Sorry about that, I thought it was a valid package name. I did it
> > > because it better reflects the upstream naming schemes. I suppose I
> > > could stop and move the few I've done so far back to all lowercase if
> > > there's enough consensus.
> >
> > it is a valid package name. if it makes your life easier, you're allowed
> > to use the name. some people prefer to normalize everything lowercase --
> > if they're maintaining the package, they're free to do that.
>
> Until it was decided differently, no, it's not:
> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#do
> c_chap3
>
> "The first subsection, pkg, is the package name, which should only
> contain lowercase letters, the digits 0-9, and any number of single
> hyphen (-), underscore (_) or plus (+) characters."

try quoting from the PMS which has been council approved
-mike

Petteri Räty 11-08-2009 03:31 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
Mike Frysinger wrote:
> On Sunday 08 November 2009 10:25:56 Peter Volkov wrote:
>> В Вск, 08/11/2009 в 09:40 -0500, Mike Frysinger пишет:
>>> On Sunday 08 November 2009 08:35:10 Joe Sapp wrote:
>>>> Samuli Suominen wrote:
>>>>> Joe Sapp (nixphoeni) wrote:
>>>>>> nixphoeni 09/10/27 11:21:25
>>>>>>
>>>>>> Log: Directory /var/cvsroot/gentoo-x86/x11-plugins/desklet-Mouse
>>>>>> added to the repository
>>>>> Since when did we start adding "big letters" to other than perl
>>>>> -categories?
>>>>>
>>>>> *Very* ugly.
>>>> Sorry about that, I thought it was a valid package name. I did it
>>>> because it better reflects the upstream naming schemes. I suppose I
>>>> could stop and move the few I've done so far back to all lowercase if
>>>> there's enough consensus.
>>> it is a valid package name. if it makes your life easier, you're allowed
>>> to use the name. some people prefer to normalize everything lowercase --
>>> if they're maintaining the package, they're free to do that.
>> Until it was decided differently, no, it's not:
>> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#do
>> c_chap3
>>
>> "The first subsection, pkg, is the package name, which should only
>> contain lowercase letters, the digits 0-9, and any number of single
>> hyphen (-), underscore (_) or plus (+) characters."
>
> try quoting from the PMS which has been council approved
> -mike

For EAPI 0 there's only an approved draft but nothing final. But even as
a draft it's more accurate than devrel handbook that in all reality
should loose all the technical stuff in favor of devmanual.

Regards,
Petteri

Ulrich Mueller 11-08-2009 03:42 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
>>>>> On Sun, 8 Nov 2009, Mike Frysinger wrote:

>> "The first subsection, pkg, is the package name, which should only
>> contain lowercase letters, the digits 0-9, and any number of single
>> hyphen (-), underscore (_) or plus (+) characters."

> try quoting from the PMS which has been council approved

That's not a contradiction.

There are several places where the devmanual is more restrictive than
PMS. Of course the package manager must accept capital letters in
names. That doesn't necessarily imply that they should be used all
over the tree.

Ulrich

Mike Frysinger 11-08-2009 03:50 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
On Sunday 08 November 2009 11:42:31 Ulrich Mueller wrote:
> >>>>> On Sun, 8 Nov 2009, Mike Frysinger wrote:
> >> "The first subsection, pkg, is the package name, which should only
> >> contain lowercase letters, the digits 0-9, and any number of single
> >> hyphen (-), underscore (_) or plus (+) characters."
> >
> > try quoting from the PMS which has been council approved
>
> That's not a contradiction.
>
> There are several places where the devmanual is more restrictive than
> PMS.

and in this case, the devmanual is irrelevant and should be deleted

> Of course the package manager must accept capital letters in
> names.

right, because we've always had mixed case in the tree and anything that
parses the tree/ebuilds must support both if it has any chance of working.
this isnt going to change.

> That doesn't necessarily imply that they should be used all
> over the tree.

if it makes maintaining a package easier (as appears to be the case for Joe),
then there's no technical reason whatsoever to tell him otherwise. if you
dislike mixed case, then dont use it. but Joe is free to do so.
-mike

Ulrich Mueller 11-08-2009 04:15 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
>>>>> On Sun, 8 Nov 2009, Mike Frysinger wrote:

> [...] we've always had mixed case in the tree and anything that
> parses the tree/ebuilds must support both if it has any chance of
> working. this isnt going to change.

I think everyone agrees on this one.

>> That doesn't necessarily imply that they should be used all over
>> the tree.

> if it makes maintaining a package easier (as appears to be the case
> for Joe), then there's no technical reason whatsoever to tell him
> otherwise. if you dislike mixed case, then dont use it. but Joe is
> free to do so.

Shouldn't the rationale be to make it easy for users, not for
maintainers?

Ulrich

Mike Frysinger 11-08-2009 04:35 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
On Sunday 08 November 2009 12:15:44 Ulrich Mueller wrote:
> >>>>> On Sun, 8 Nov 2009, Mike Frysinger wrote:
> >> That doesn't necessarily imply that they should be used all over
> >> the tree.
> >
> > if it makes maintaining a package easier (as appears to be the case
> > for Joe), then there's no technical reason whatsoever to tell him
> > otherwise. if you dislike mixed case, then dont use it. but Joe is
> > free to do so.
>
> Shouldn't the rationale be to make it easy for users, not for
> maintainers?

of course -- fix the package manager to do a case insensitive search when
someone says `emerge foo` but the package is actually "Foo".
-mike

Joe Sapp 11-08-2009 05:06 PM

gentoo-x86 commit in x11-plugins/desklet-Mouse: - New directory
 
Mike Frysinger wrote:
> if it makes maintaining a package easier (as appears to be the case for Joe),
> then there's no technical reason whatsoever to tell him otherwise. if you
> dislike mixed case, then dont use it. but Joe is free to do so.

For what it's worth, this is exactly the reason. The eclass can use a trivial
bash substitution to access the package name (for SRC_URI, for example)
instead of requiring each ebuild to set a variable specifying how the
information in the ebuild name should be capitalized.

Joe


All times are GMT. The time now is 01:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.