Rpa update

Maybe a backup copy of the old will help in some cases (There's a term for
this used by backup operators but I forgot :), so that if the new one fails,
system will automatically revert to old -something along the line of

rescue
  # revert to old
  puts "base malfxn: reverting to old base"

···

Mauricio Fernández [mailto:batsman.geo@yahoo.com] wrote:

mmm sounds good. The only problem is that since this will
make everybody use the latest version always, I'll really
have to make sure that rpa-base isn't broken and can still
update itself, etc :slight_smile:

IIRC such a problem happened once, around 0.2.0-28 or maybe
0.2.1-1, where rpa-base wouldn't install itself correctly
when using a non-standard $prefix. I fixed it quickly and
AFAIK nobody was bitten. Anyway, in the worst possible case,
you'd just have to install rpa-base from the .tar.gz again
(it would adopt the installed ports, etc). Not quite as
convenient as a simple rpa install rpa-base but still
acceptable. And this won't be a problem when I make rpa
install rpa-base itself atomic.

  #
end

ie if you can catch it though.. but don't know if it is possible however..

Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

kind regards -botp

I know how to make rpa install rpa-base itself atomic: I'd have
another restricted rpa-base only to recover the main one.
However being atomic doesn't help if the new rpa-base is broken and that
is detected only after the transaction is completed :slight_smile:
So I'll probably do as you say and make it keep the old version after
the transaction is finished in order to allow the user to roll back if
he notices something is very wrong.

···

On Wed, Sep 08, 2004 at 11:10:15AM +0900, "Peña, Botp" wrote:

Maybe a backup copy of the old will help in some cases (There's a term for
this used by backup operators but I forgot :), so that if the new one fails,
system will automatically revert to old -something along the line of

--
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com