Re: [gentoo-dev] Dieing inside subshells will soon work
On Wednesday 03 January 2007 01:26, Doug Goldstein wrote: Can someone open a window and let out some of Ciaran's ego? then you'll let in the bees ;( -mike pgpv9jFvDLn0G.pgp Description: PGP signature
Re: [gentoo-dev] Dieing inside subshells will soon work
Mike Frysinger kirjoitti: On Monday 01 January 2007 15:12, Petteri Räty wrote: It already works in ~arch so will hit stable too sometime in the future. until it completely works (versus just mostly works), why mention this ? it'd be better to continue on with the 'dont use subshells' especially since it hasnt really been limiting us in terms of ebuild development -mike Well I was under the impression from zmedico that it completely works. The message was more meant as maybe some stuff will pop up that was always dieing before but was not noticed. Regards, Petteri signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Dieing inside subshells will soon work
On Tue, 02 Jan 2007 18:28:05 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | Well I was under the impression from zmedico that it completely works. zmedico has too much faith in my powers. I'd like to remind him that I'm only Jesus, not the big guy himself. -- Ciaran McCreesh Mail: ciaranm at ciaranm.org Web : http://ciaranm.org/ Paludis is faster : http://ciaranm.org/show_post.pl?post_id=61 signature.asc Description: PGP signature
Re: [gentoo-dev] Dieing inside subshells will soon work
On Tuesday 02 January 2007 11:36, Ciaran McCreesh wrote: On Tue, 02 Jan 2007 18:28:05 +0200 Petteri Räty [EMAIL PROTECTED] | Well I was under the impression from zmedico that it completely works. zmedico has too much faith in my powers. I'd like to remind him that I'm only Jesus, not the big guy himself. as long as you can turn water into fun, that's good enough for me -mike pgpbxK1LWp7zY.pgp Description: PGP signature
Re: [gentoo-dev] Dieing inside subshells will soon work
Ciaran McCreesh wrote: On Tue, 02 Jan 2007 18:28:05 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | Well I was under the impression from zmedico that it completely works. zmedico has too much faith in my powers. I'd like to remind him that I'm only Jesus, not the big guy himself. Is it me or is it getting a little stuffy in here? Can someone open a window and let out some of Ciaran's ego? -- Doug Goldstein [EMAIL PROTECTED] http://dev.gentoo.org/~cardoe/ -- gentoo-dev@gentoo.org mailing list
Re: [gentoo-dev] Dieing inside subshells will soon work
On Mon, 01 Jan 2007 22:12:09 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | It already works in ~arch so will hit stable too sometime in the | future. Better to say, you might soon be able to get away with it, but don't rely upon it actually working... -- Ciaran McCreesh Mail: ciaranm at ciaranm.org Web : http://ciaranm.org/ Paludis is faster : http://ciaranm.org/show_post.pl?post_id=61 signature.asc Description: PGP signature
Re: [gentoo-dev] Dieing inside subshells will soon work
Ciaran McCreesh kirjoitti: On Mon, 01 Jan 2007 22:12:09 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | It already works in ~arch so will hit stable too sometime in the | future. Better to say, you might soon be able to get away with it, but don't rely upon it actually working... Well one valid usage I can think of are eclass functions that are called are called like FOO=$(eclassfunc). Regards, Petteri signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Dieing inside subshells will soon work
On Mon, 01 Jan 2007 22:28:10 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | Ciaran McCreesh kirjoitti: | On Mon, 01 Jan 2007 22:12:09 +0200 Petteri Räty | [EMAIL PROTECTED] wrote: | | It already works in ~arch so will hit stable too sometime in the | | future. | | Better to say, you might soon be able to get away with it, but don't | rely upon it actually working... | | Well one valid usage I can think of are eclass functions that are | called are called like FOO=$(eclassfunc). Which is all nice and pretty, when it works, yes. But whilst my die trick is a lot smarter than Aron's, it's still not entirely reliable. In particular, if you do $(foo || die ; bar ), there's a race condition which means bar might be executed anyway, and if you do enough arcane shell voodoo then the die might still end up being lost completely (we had this with eselect at one point...). So basically, don't rely upon it working. It means you're much less likely to be screwed over if you *do* accidentally do a subshell die, but it doesn't mean that subshell die works. -- Ciaran McCreesh Mail: ciaranm at ciaranm.org Web : http://ciaranm.org/ Paludis is faster : http://ciaranm.org/show_post.pl?post_id=61 signature.asc Description: PGP signature
Re: [gentoo-dev] Dieing inside subshells will soon work
Ciaran McCreesh kirjoitti: On Mon, 01 Jan 2007 22:28:10 +0200 Petteri Räty [EMAIL PROTECTED] wrote: | Ciaran McCreesh kirjoitti: | On Mon, 01 Jan 2007 22:12:09 +0200 Petteri Räty | [EMAIL PROTECTED] wrote: | | It already works in ~arch so will hit stable too sometime in the | | future. | | Better to say, you might soon be able to get away with it, but don't | rely upon it actually working... | | Well one valid usage I can think of are eclass functions that are | called are called like FOO=$(eclassfunc). Which is all nice and pretty, when it works, yes. But whilst my die trick is a lot smarter than Aron's, it's still not entirely reliable. In particular, if you do $(foo || die ; bar ), there's a race condition which means bar might be executed anyway, and if you do enough arcane shell voodoo then the die might still end up being lost completely (we had this with eselect at one point...). So basically, don't rely upon it working. It means you're much less likely to be screwed over if you *do* accidentally do a subshell die, but it doesn't mean that subshell die works. Well at least seeing the stack trace should alarm some bells. If you have a suggestion on how to to call an eclass function and having die working, please share it with the rest of us. Regards, Petteri signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Dieing inside subshells will soon work
On Monday 01 January 2007 15:12, Petteri Räty wrote: It already works in ~arch so will hit stable too sometime in the future. until it completely works (versus just mostly works), why mention this ? it'd be better to continue on with the 'dont use subshells' especially since it hasnt really been limiting us in terms of ebuild development -mike pgpAjwZj3BQWR.pgp Description: PGP signature