public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sven Vermeulen <swift@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] Undo feature in portage-ng ?
Date: Wed, 9 Jun 2004 09:33:41 +0200	[thread overview]
Message-ID: <20040609073341.GA8620@gentoo.org> (raw)
In-Reply-To: <46105.130.88.96.65.1086733329.squirrel@130.88.96.65>

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

On Tue, Jun 08, 2004 at 11:22:09PM +0100, Md Mooktakim Ahmed wrote:
> Or maybe a snapshot feature for /etc (using CVS type technology) so that 
> go-back feature is available.
> The snapshot should be done at every installation of a package.

Shouldn't be that difficult to implement, not even with the current Portage.
But first get acquainted with RCS (emerge app-text/rcs) which is useful for
text files (such as configuration files).

What you can do as well is to have FEATURES="buildpkg" enabled and take a
snapshot of your Portage tree before you update it. Then update the Portage
tree and your system. If things fail, reinstate the snapshot and update your
system once again. IIRC, Portage should automatically 'downgrade' your
system to the previous state. By using the binaries created before
downgrading doesn't take that much time.

One small hickup though: configuration files! So it's still wise to keep the
important ones in RCS.

Wkr,
      Sven Vermeulen

-- 
 Bent Hindrup Andersen, Danish MEP, about the Software Patent Directive:
    The approach of the Commission and Council in this directive is shocking. 
    They are making full use of all the possibilities of evading democracy that 
    the current Community Law provides.     <http://lwn.net/Articles/84009/>

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

  reply	other threads:[~2004-06-09  7:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 20:27 [gentoo-portage-dev] Undo feature in portage-ng ? humbaba
2004-06-02 21:10 ` hmhansolo gentoo
2004-06-08 22:13   ` humbaba
2004-06-08 22:22     ` Md Mooktakim Ahmed
2004-06-09  7:33       ` Sven Vermeulen [this message]
2004-06-09  0:04     ` Nicolás Echániz
2004-06-09  0:51       ` Joseph Booker
2004-06-03  2:22 ` Hasan Khalil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040609073341.GA8620@gentoo.org \
    --to=swift@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox