Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: Brian Harring <bdharring@...>
From: Jon Portnoy <avenj@g.o>
Subject: Re: etc-update
Date: Sun, 13 Apr 2003 12:07:28 -0400
"Interactively merge changes" does exactly that (uses diff/patch)

On Sun, Apr 13, 2003 at 04:57:20AM -0500, Brian Harring wrote:
> While I'm on an emailing spree, anyone got any ideas on how to make etc-update 
> a bit less painful?
> It seems like a lot of the times where etc-update requires user intervention 
> it's fairly minor- case in point, make.conf, when the default/base-layout 
> make.conf gets updated.  It seems like it usually chokes on configured 
> options, features or gentoo_mirrors as an example.
> What if we were to either A) maintain a listing of default conf files (when 
> modifying/adding a conf file, make.conf again, store it somewhere), or B) 
> pull the conf from the distfile in some way?  The reason I ask is it strikes 
> me if etc-update where able to compare the old default conf against the 
> current conf it might be able to create a diff it could use to patch against 
> the new one.  A bit wordy, but basically I'm wondering if we could isolate 
> the changes a user has made, and attempt to merge those changes into the new 
> conf file via a diff.
> The problem I see with this would be that where (say GENTOO_MIRRORS) gets 
> updated to some new default setting, the generated diff wouldn't be able to 
> match against the new conf.
> Thoughts?
> ~harring
> bdharring@...
> --
> gentoo-dev@g.o mailing list

Jon Portnoy

gentoo-dev@g.o mailing list

-- Brian Harring
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Next by thread:
Re: [gentoo-security] unsuscribe
Previous by date:
Re: Performance once again..
Next by date:
Re: distfile diff's

Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.