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-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Gen Zhang <genneth@...>
Subject: Re: Maybe a new etc-update is needed? Was: problem after emerge --update world
Date: Mon, 25 Jul 2005 21:08:21 +0100
On Sun, 2005-07-24 at 16:48 +0100, Steffen Jobbagy-Felso wrote:
> This may sound harsh, but don't use automerge. Portage/etc-update cannot
> possibly know about every config change you (or the ebuilds) can make. I assume
> etc-update (rightly) doesn't even attempt this and merges based on string
> analysis without thought as to what the settings actually mean, leading to breakage.
> 
> If you never touched a file it's probably save to just overwrite the existing
> one. You always have the backup in case it wasn't save ;)
> That's how I do it anyways.

Ditto for here. However, I was thinking of implementing something more
intelligent, based around a 3-way merge. It's just a quick and dirty
script that scans for updates, ala etc-update, then calls out to
something a little more appropriate, like meld or xxdiff. It would keep
a copy of the 'vanilla' config files in /.etc (or something), and
attempt 3-way merges, assuming that /.etc/config is the common ancestor
of /etc/config and /etc/.config000 (I forget exactly how portage names
them); after a successful merge it would move the new vanilla file
to /.etc.

I hope that makes sense.

Any comments?

Regards,
Gen Zhang

Attachment:
signature.asc (This is a digitally signed message part)
Replies:
Re: Maybe a new etc-update is needed? Was: problem after emerge --update world
-- David Fellows
References:
problem after emerge --update world
-- Mark
Re: problem after emerge --update world
-- Steffen Jobbagy-Felso
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: problem after emerge --update world
Next by thread:
Re: Maybe a new etc-update is needed? Was: problem after emerge --update world
Previous by date:
Re: Thunderbird - firefox links not opening
Next by date:
Re: x86_64 optimization patches for glibc.


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

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