public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] doenvd vs. insinto /etc/env.d
@ 2007-04-09  3:07 Marcelo Góes
  2007-04-09  3:39 ` Mike Frysinger
  2007-04-09 11:06 ` Petteri Räty
  0 siblings, 2 replies; 9+ messages in thread
From: Marcelo Góes @ 2007-04-09  3:07 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-09  3:07 [gentoo-dev] doenvd vs. insinto /etc/env.d Marcelo Góes
@ 2007-04-09  3:39 ` Mike Frysinger
  2007-04-09 11:51   ` Christian Heim
  2007-04-09 11:06 ` Petteri Räty
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2007-04-09  3:39 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-09  3:07 [gentoo-dev] doenvd vs. insinto /etc/env.d Marcelo Góes
  2007-04-09  3:39 ` Mike Frysinger
@ 2007-04-09 11:06 ` Petteri Räty
  2007-04-09 15:37   ` Mike Frysinger
  1 sibling, 1 reply; 9+ messages in thread
From: Petteri Räty @ 2007-04-09 11:06 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-09  3:39 ` Mike Frysinger
@ 2007-04-09 11:51   ` Christian Heim
  0 siblings, 0 replies; 9+ messages in thread
From: Christian Heim @ 2007-04-09 11:51 UTC (permalink / raw
  To: gentoo-dev; +Cc: Mike Frysinger

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

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 <phreak at gentoo.org>
GPG key ID: 9A9F68E6
Fingerprint: AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-09 11:06 ` Petteri Räty
@ 2007-04-09 15:37   ` Mike Frysinger
  2007-04-10  0:21     ` Doug Goldstein
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2007-04-09 15:37 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-09 15:37   ` Mike Frysinger
@ 2007-04-10  0:21     ` Doug Goldstein
  2007-04-10  0:31       ` Doug Goldstein
  0 siblings, 1 reply; 9+ messages in thread
From: Doug Goldstein @ 2007-04-10  0:21 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

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 <cardoe@gentoo.org>
http://dev.gentoo.org/~cardoe/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] doenvd vs. insinto /etc/env.d
  2007-04-10  0:21     ` Doug Goldstein
@ 2007-04-10  0:31       ` Doug Goldstein
  2007-04-10 22:02         ` [gentoo-dev] " Steve Long
  0 siblings, 1 reply; 9+ messages in thread
From: Doug Goldstein @ 2007-04-10  0:31 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

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 <cardoe@gentoo.org>
http://dev.gentoo.org/~cardoe/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-dev]  Re: doenvd vs. insinto /etc/env.d
  2007-04-10  0:31       ` Doug Goldstein
@ 2007-04-10 22:02         ` Steve Long
  2007-04-10 22:08           ` Petteri Räty
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Long @ 2007-04-10 22:02 UTC (permalink / raw
  To: gentoo-dev

Doug Goldstein wrote:
>> 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...
> 
Care to share? ;)

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev]  Re: doenvd vs. insinto /etc/env.d
  2007-04-10 22:02         ` [gentoo-dev] " Steve Long
@ 2007-04-10 22:08           ` Petteri Räty
  0 siblings, 0 replies; 9+ messages in thread
From: Petteri Räty @ 2007-04-10 22:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Steve Long kirjoitti:
> Doug Goldstein wrote:
>>> 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...
>>
> Care to share? ;)
> 

man 5 ebuild. Use #gentoo-dev-help next time.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-10 22:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09  3:07 [gentoo-dev] doenvd vs. insinto /etc/env.d Marcelo Góes
2007-04-09  3:39 ` Mike Frysinger
2007-04-09 11:51   ` Christian Heim
2007-04-09 11:06 ` Petteri Räty
2007-04-09 15:37   ` Mike Frysinger
2007-04-10  0:21     ` Doug Goldstein
2007-04-10  0:31       ` Doug Goldstein
2007-04-10 22:02         ` [gentoo-dev] " Steve Long
2007-04-10 22:08           ` Petteri Räty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox