Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-09 Thread Doug Goldstein
Doug Goldstein wrote:
> Mike Frysinger wrote:
>> On Monday 09 April 2007, Petteri Räty wrote:
>>> Marcelo Góes kirjoitti:
 I just did a quick grep of the tree and found 129 ebuilds that
 use doenvd and 134 that use insinto /etc/env.d.
>>> There are probably also lot of things using insinto /etc/init.d and
>>> /etc/conf.d too that should be fixed.
>> yep ... reason the {do,new}{init,conf}d functions were implemented
>> -mike
> 
> Stupid question... what's the diff between doconfd and newconfd?
> 

Ha.. I remember now... Thanks robbat2 for kicking me in the head to jog
my memory...

-- 
Doug Goldstein <[EMAIL PROTECTED]>
http://dev.gentoo.org/~cardoe/



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-09 Thread Doug Goldstein
Mike Frysinger wrote:
> On Monday 09 April 2007, Petteri Räty wrote:
>> Marcelo Góes kirjoitti:
>>> I just did a quick grep of the tree and found 129 ebuilds that
>>> use doenvd and 134 that use insinto /etc/env.d.
>> There are probably also lot of things using insinto /etc/init.d and
>> /etc/conf.d too that should be fixed.
> 
> yep ... reason the {do,new}{init,conf}d functions were implemented
> -mike

Stupid question... what's the diff between doconfd and newconfd?

-- 
Doug Goldstein <[EMAIL PROTECTED]>
http://dev.gentoo.org/~cardoe/



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-09 Thread Mike Frysinger
On Monday 09 April 2007, Petteri Räty wrote:
> Marcelo Góes kirjoitti:
> > I just did a quick grep of the tree and found 129 ebuilds that
> > use doenvd and 134 that use insinto /etc/env.d.
>
> There are probably also lot of things using insinto /etc/init.d and
> /etc/conf.d too that should be fixed.

yep ... reason the {do,new}{init,conf}d functions were implemented
-mike


pgpzn870B2ACD.pgp
Description: PGP signature


Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-09 Thread Christian Heim
On Monday 09 April 2007 05:39:29 Mike Frysinger wrote:
> On Sunday 08 April 2007, Marcelo Góes wrote:
> > As far as I can see, doenvd is more correct because it is
>
> doenvd was written specifically to replace `insinto /etc/env.d`
>
> > Does it make sense to allow both styles?
>
> not really
>
> > Is it worth it to convert everything to doenvd?
>
> yes please
> -mike

See bug 173884 for further reference.

-- 
Christian Heim 
GPG key ID: 9A9F68E6
Fingerprint: AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6


pgp6ORHt77vD2.pgp
Description: PGP signature


Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-09 Thread Petteri Räty
Marcelo Góes kirjoitti:
> Hello,
> 
> I just did a quick grep of the tree and found 129 ebuilds that
> use doenvd and 134 that use insinto /etc/env.d.
> 

There are probably also lot of things using insinto /etc/init.d and
/etc/conf.d too that should be fixed.

Regards,
Petter



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-08 Thread Mike Frysinger
On Sunday 08 April 2007, Marcelo Góes wrote:
> As far as I can see, doenvd is more correct because it is

doenvd was written specifically to replace `insinto /etc/env.d`

> Does it make sense to allow both styles?

not really

> Is it worth it to convert everything to doenvd?

yes please
-mike


pgp0P1jQP6Vxu.pgp
Description: PGP signature


[gentoo-dev] doenvd vs. insinto /etc/env.d

2007-04-08 Thread Marcelo Góes

Hello,

I just did a quick grep of the tree and found 129 ebuilds that
use doenvd and 134 that use insinto /etc/env.d.

As far as I can see, doenvd is more correct because it is
1) cleaner and easier to read
2) more portable (for systems that use something other than
/etc/env.d, for example)

Does it make sense to allow both styles?
Is it worth it to convert everything to doenvd?

Cheers,
Marcelo

--
Marcelo Góes
--
gentoo-dev@gentoo.org mailing list