Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90695 - Gentoo-created/gentoo related scripts should have a consistent naming scheme.
Summary: Gentoo-created/gentoo related scripts should have a consistent naming scheme.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.gentoo.org/proj/en/glep/gl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 03:42 UTC by Mason
Modified: 2005-05-01 09:46 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mason 2005-04-28 03:42:57 UTC
rc-update & env-update vs update-modules & update-eix vs dispatch-conf, etc


The difference is annoying and makes it difficult to find scripts unless you already know the names.

Reproducible: Always
Steps to Reproduce:
ls
Actual Results:  
rc-update & env-update vs update-modules & update-eix

Expected Results:  
update-rc & update-env & update-modules & update-eix & update-conf

It would be nice if they all started with "update-" so bash could tab-complete
on "update" and show you ALL the available scripts that gentoo users may be
interested in.

Perhaps all other scripts should start with "e" like emerge, so that all those
scripts could also be tab-completed.


If there IS any naming conventions document to be found, perhaps putting it in a
more visible location would be helpful.
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-04-28 04:06:56 UTC
eix is an external project, not part of Gentoo base system, so ask eix developers to change their script name.

PS. it used to be 'eix -u' ;)
Comment 2 Ciaran McCreesh 2005-04-28 07:23:24 UTC
This is GLEP 24.
Comment 3 Mason 2005-04-28 12:52:47 UTC
Seriously people, it's not rocket science.  just come up with hard naming conventions.  Yes, you can't force the eix people to change or whatever, but at least you'll have a standard they chould follow if they so desired.
Comment 4 Emil Beinroth 2005-04-28 13:38:39 UTC
May sound silly ..
I choose the name "update-eix" because I wanted "ei<tab>" to complete to "eix " rather than "eix".
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-04-28 13:49:45 UTC
I preferred 'eix -u' instead of 'update-eix'.
Comment 6 Emil Beinroth 2005-04-28 14:24:32 UTC
Having two separate binaries for two not trivial tasks is imho cleaner and increases maintainability.
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-01 09:46:39 UTC
Refer to the glep that ciaran mentioned.