[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Features.

On Wed, Aug 23, 2000 at 05:07:25AM +0200, Hubert Feyrer wrote:
> > etc .. I know there are other things in the queue that would simlify some
> > of the pkg_* tools .. like libpax allowing for no temporary extraction area
> > and such .. again, not sure of the status.

> Won't this prevent rollback functionality if it's found that the pkg
> cannot be installed at a late stage?

Right now, rollback is mostly necessary because the package is installed
directly without checking for problems first. Checking that the packing-list
won't cause trouble means rollback won't be necessary in many cases...
considering that @exec/@unexec pairs mean rollback isn't safe in many cases,
avoiding rollback alltogether looks like a good idea...

I don't have working code yet, but my plans include trying to figure out
a somewhat larger set of packing-list features, so that exec/unexec and
install/deinstall scripts won't be needed as much, because exec/unexec
install/deinstall mean you can't answer a few useful questions by just
looking at the packing-list with an automated tool:
- what files does a package install/create/modify ?
- can you rollback from any point during the package installation ?
	Marc Espie		
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'

To unsubscribe: send mail to <majordomo@unixathome.org>
with "unsubscribe bsdports" in the body of the message