public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New tool: config-automerge
@ 2004-09-11 13:22 Stuart Herbert
  2004-09-11 13:58 ` Jason Stubbs
  0 siblings, 1 reply; 7+ messages in thread
From: Stuart Herbert @ 2004-09-11 13:22 UTC (permalink / raw
  To: gentoo-dev

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

Hiya,

This script will read a list of directories from /etc/portage/automerge.dirs, 
and then auto-merge any CONFIG_PROTECTed files underneath those directories.

 http://dev.gentoo.org/~stuart/tools/

I use it for automerging things like the X11 keyboard definitions.

It would be easy enough to merge this functionality into a future release of 
etc-update; or (as I do locally) have etc-update automatically call 
config-automerge whenever its run.

Feedback welcome.

Best regards,
Stu
-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer                                       http://www.gentoo.org/
                                                   http://stu.gnqs.org/diary/

GnuPG key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--

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

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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-11 13:22 [gentoo-dev] New tool: config-automerge Stuart Herbert
@ 2004-09-11 13:58 ` Jason Stubbs
  2004-09-11 14:03   ` Stuart Herbert
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Stubbs @ 2004-09-11 13:58 UTC (permalink / raw
  To: gentoo-dev

On Saturday 11 September 2004 22:22, Stuart Herbert wrote:
> Hiya,
>
> This script will read a list of directories from
> /etc/portage/automerge.dirs, and then auto-merge any CONFIG_PROTECTed files
> underneath those directories.
>
>  http://dev.gentoo.org/~stuart/tools/
>
> I use it for automerging things like the X11 keyboard definitions.
>
> It would be easy enough to merge this functionality into a future release
> of etc-update; or (as I do locally) have etc-update automatically call
> config-automerge whenever its run.
>
> Feedback welcome.

What's wrong with CONFIG_PROTECT_MASK?

Regards,
Jason Stubbs

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-11 13:58 ` Jason Stubbs
@ 2004-09-11 14:03   ` Stuart Herbert
  2004-09-13 17:36     ` David Bryson
  0 siblings, 1 reply; 7+ messages in thread
From: Stuart Herbert @ 2004-09-11 14:03 UTC (permalink / raw
  To: gentoo-dev

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

On Saturday 11 September 2004 14:58, Jason Stubbs wrote:
> What's wrong with CONFIG_PROTECT_MASK?

Heh.  Wasn't aware of that ;-)

I prefer having the /etc/portage/automerge.dirs config file anyhow.  
Individual entries can be commented by whichever admin added them, making it 
a little easier to maintain.

Best regards,
Stu
-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer                                       http://www.gentoo.org/
                                                   http://stu.gnqs.org/diary/

GnuPG key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--

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

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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-11 14:03   ` Stuart Herbert
@ 2004-09-13 17:36     ` David Bryson
  2004-09-13 17:46       ` Xavier Neys
  2004-09-13 18:39       ` Ned Ludd
  0 siblings, 2 replies; 7+ messages in thread
From: David Bryson @ 2004-09-13 17:36 UTC (permalink / raw
  To: Stuart Herbert; +Cc: gentoo-dev

On Sat, Sep 11, 2004 at 03:03:37PM +0100, Stuart Herbert wrote:
> On Saturday 11 September 2004 14:58, Jason Stubbs wrote:
> > What's wrong with CONFIG_PROTECT_MASK?
> 
> Heh.  Wasn't aware of that ;-)
> 
> I prefer having the /etc/portage/automerge.dirs config file anyhow.  
> Individual entries can be commented by whichever admin added them, making it 
> a little easier to maintain.
> 

is there anywhere that any of the functionality of /etc/portage is documented
?  All I ever hear are wisps of black magic and mystery about
/etc/portage/package.mask and other strange things like this comment here.

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-13 17:36     ` David Bryson
@ 2004-09-13 17:46       ` Xavier Neys
  2004-09-13 18:39       ` Ned Ludd
  1 sibling, 0 replies; 7+ messages in thread
From: Xavier Neys @ 2004-09-13 17:46 UTC (permalink / raw
  To: gentoo-dev

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

David Bryson wrote:
> On Sat, Sep 11, 2004 at 03:03:37PM +0100, Stuart Herbert wrote:
> 
>>On Saturday 11 September 2004 14:58, Jason Stubbs wrote:
>>
>>>What's wrong with CONFIG_PROTECT_MASK?
>>
>>Heh.  Wasn't aware of that ;-)
>>
>>I prefer having the /etc/portage/automerge.dirs config file anyhow.  
>>Individual entries can be commented by whichever admin added them, making it 
>>a little easier to maintain.
>>
> 
> 
> is there anywhere that any of the functionality of /etc/portage is documented
> ?  All I ever hear are wisps of black magic and mystery about
> /etc/portage/package.mask and other strange things like this comment here.

Try http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=0 for a 
start and man portage for more info.

Hth
-- 
/  Xavier Neys
\_ Gentoo Documentation Project
/  French & Internationalisation Lead
\  http://www.gentoo.org/doc/en
/\

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

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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-13 17:36     ` David Bryson
  2004-09-13 17:46       ` Xavier Neys
@ 2004-09-13 18:39       ` Ned Ludd
  2004-09-14 17:12         ` David Bryson
  1 sibling, 1 reply; 7+ messages in thread
From: Ned Ludd @ 2004-09-13 18:39 UTC (permalink / raw
  To: David Bryson; +Cc: gentoo-dev

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

On Mon, 2004-09-13 at 13:36, David Bryson wrote:
> On Sat, Sep 11, 2004 at 03:03:37PM +0100, Stuart Herbert wrote:
> > On Saturday 11 September 2004 14:58, Jason Stubbs wrote:
> > > What's wrong with CONFIG_PROTECT_MASK?
> > 
> > Heh.  Wasn't aware of that ;-)
> > 
> > I prefer having the /etc/portage/automerge.dirs config file anyhow.  
> > Individual entries can be commented by whichever admin added them, making it 
> > a little easier to maintain.
> > 
> 
> is there anywhere that any of the functionality of /etc/portage is documented
> ?  All I ever hear are wisps of black magic and mystery about
> /etc/portage/package.mask and other strange things like this comment here.

It's also documented rather well in the portage man page.

> 
> --
> gentoo-dev@gentoo.org mailing list
-- 
Ned Ludd <solar@gentoo.org>
Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] New tool: config-automerge
  2004-09-13 18:39       ` Ned Ludd
@ 2004-09-14 17:12         ` David Bryson
  0 siblings, 0 replies; 7+ messages in thread
From: David Bryson @ 2004-09-14 17:12 UTC (permalink / raw
  To: gentoo-dev

On Mon, Sep 13, 2004 at 02:39:55PM -0400, Ned Ludd wrote:
> > is there anywhere that any of the functionality of /etc/portage is documented
> > ?  All I ever hear are wisps of black magic and mystery about
> > /etc/portage/package.mask and other strange things like this comment here.
> 
> It's also documented rather well in the portage man page.
> 

sneaky hiding that in the man page.  Back many moons ago when I
started using gentoo such clear and extensive documentation was not
present.  I'm glad to see things have improved.

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2004-09-14 17:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-11 13:22 [gentoo-dev] New tool: config-automerge Stuart Herbert
2004-09-11 13:58 ` Jason Stubbs
2004-09-11 14:03   ` Stuart Herbert
2004-09-13 17:36     ` David Bryson
2004-09-13 17:46       ` Xavier Neys
2004-09-13 18:39       ` Ned Ludd
2004-09-14 17:12         ` David Bryson

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