* [gentoo-dev] eselect 1.0 is out
@ 2006-02-09 23:01 Ciaran McCreesh
2006-02-11 23:38 ` Eldad Zack
0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2006-02-09 23:01 UTC (permalink / raw
To: gentoo-dev; +Cc: eselect
[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]
Version 1.0 of eselect, the modular configuration framework, is now
out. All changes since 1.0_rc2 have been bugfixes.
We haven't split out some of the "shipped with eselect but not core
functionality" modules in this release, since I didn't want to break
anything horribly -- that will probably be done for 1.1. However, we're
providing a stable API now, so the "keep modules somewhere where the
eselect people can find them and fix them for you" request is lifted.
And since so few people seem to know this, despite it being a design
feature that goes back to the very first random prototype hack: you
don't have to run eselect module-name <args>. Many modules install a
module-name-config or an update-module-name or somesuch symlink, and
this is automatically recognised and converted internally.
[ No, I'm not the guy in charge of eselect. That's Aaron, but he's busy
and I needed eselect-1.0 before I could get GLEP 42 finalised. You
can look forward to eselect 1.0.1 when he returns and finds all the
stuff that I forgot to fix. ]
--
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] eselect 1.0 is out
2006-02-09 23:01 [gentoo-dev] eselect 1.0 is out Ciaran McCreesh
@ 2006-02-11 23:38 ` Eldad Zack
2006-02-12 0:09 ` Ciaran McCreesh
0 siblings, 1 reply; 5+ messages in thread
From: Eldad Zack @ 2006-02-11 23:38 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 1435 bytes --]
On Friday 10 February 2006 01:01, Ciaran McCreesh wrote:
> Version 1.0 of eselect, the modular configuration framework, is now
> out. All changes since 1.0_rc2 have been bugfixes.
>
> We haven't split out some of the "shipped with eselect but not core
> functionality" modules in this release, since I didn't want to break
> anything horribly -- that will probably be done for 1.1. However, we're
> providing a stable API now, so the "keep modules somewhere where the
> eselect people can find them and fix them for you" request is lifted.
>
> And since so few people seem to know this, despite it being a design
> feature that goes back to the very first random prototype hack: you
> don't have to run eselect module-name <args>. Many modules install a
> module-name-config or an update-module-name or somesuch symlink, and
> this is automatically recognised and converted internally.
>
> [ No, I'm not the guy in charge of eselect. That's Aaron, but he's busy
> and I needed eselect-1.0 before I could get GLEP 42 finalised. You
> can look forward to eselect 1.0.1 when he returns and finds all the
> stuff that I forgot to fix. ]
Is this a quirk or intentional:
# eselect kernel show
Current kernel symlink:
linux-2.6.14.3/
(notice the trailing slash there)
I've attached a quick and silly hack to clean it up.
--
Eldad Zack <eldad@gentoo.org>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93
[-- Attachment #1.2: eselect-kernel-show-trailing-slash.diff --]
[-- Type: text/x-diff, Size: 422 bytes --]
--- kernel.eselect.orig 2006-02-12 01:30:54.000000000 +0200
+++ kernel.eselect 2006-02-12 01:36:03.000000000 +0200
@@ -46,7 +46,7 @@
do_show() {
write_list_start "Current kernel symlink:"
if [[ -L "${ROOT}/usr/src/linux" ]] ; then
- write_kv_list_entry "$(readlink ${ROOT}/usr/src/linux )" ""
+ write_kv_list_entry "$(dirname $(readlink ${ROOT}/usr/src/linux ) )" ""
else
write_kv_list_entry "(unset)" ""
fi
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] eselect 1.0 is out
2006-02-11 23:38 ` Eldad Zack
@ 2006-02-12 0:09 ` Ciaran McCreesh
2006-02-12 0:27 ` Eldad Zack
0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2006-02-12 0:09 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
On Sun, 12 Feb 2006 01:38:53 +0200 Eldad Zack <eldad@gentoo.org> wrote:
| Is this a quirk or intentional:
|
| # eselect kernel show
| Current kernel symlink:
| linux-2.6.14.3/
|
| (notice the trailing slash there)
Mmm. What's your readlink?
--
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] eselect 1.0 is out
2006-02-12 0:09 ` Ciaran McCreesh
@ 2006-02-12 0:27 ` Eldad Zack
2006-02-12 0:47 ` Ciaran McCreesh
0 siblings, 1 reply; 5+ messages in thread
From: Eldad Zack @ 2006-02-12 0:27 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
On Sunday 12 February 2006 02:09, Ciaran McCreesh wrote:
> On Sun, 12 Feb 2006 01:38:53 +0200 Eldad Zack <eldad@gentoo.org> wrote:
> | Is this a quirk or intentional:
> |
> | # eselect kernel show
> | Current kernel symlink:
> | linux-2.6.14.3/
> |
> | (notice the trailing slash there)
>
> Mmm. What's your readlink?
sys-apps/coreutils 5.2.1-r7
--
Eldad Zack <eldad@gentoo.org>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] eselect 1.0 is out
2006-02-12 0:27 ` Eldad Zack
@ 2006-02-12 0:47 ` Ciaran McCreesh
0 siblings, 0 replies; 5+ messages in thread
From: Ciaran McCreesh @ 2006-02-12 0:47 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
On Sun, 12 Feb 2006 02:27:33 +0200 Eldad Zack <eldad@gentoo.org> wrote:
| > Mmm. What's your readlink?
|
| sys-apps/coreutils 5.2.1-r7
Looks like it depends upon how ln -s was invoked as to what readlink
gives. Guess we'll have to work around that in a couple of places...
--
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-12 0:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 23:01 [gentoo-dev] eselect 1.0 is out Ciaran McCreesh
2006-02-11 23:38 ` Eldad Zack
2006-02-12 0:09 ` Ciaran McCreesh
2006-02-12 0:27 ` Eldad Zack
2006-02-12 0:47 ` Ciaran McCreesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox