Gentoo Archives: gentoo-installer

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-installer@l.g.o
Subject: Re: [gentoo-installer] a few different questions
Date: Tue, 03 Feb 2004 10:37:58
In Reply to: Re: [gentoo-installer] a few different questions by Eric Sammer
Hash: SHA1

On Tuesday 03 February 2004 05:13, Eric Sammer wrote:
> > Aha. I see now. No, all action is delayed until all decision making is > complete. This is for two reasons (one intended, one a nice side > effect): 1. The front end is acting as just a special kind of install > profile editor of sorts so teh backend is really the automated > deployment part with some of the features missing. This makes for very > good reuse of design / code. 2. Users like to experiment and a "Back" > button is a nice comfort to newer users. Blowing away their partition > table prior to all decisions being made might upset some folks.
One could offer an option to force the actions to be done. It would be needed when users perform manual actions (but not in all cases). Of course forcing actions will disable the back button so probably warrants a warning.
> > > Just the same as most installers work, instead of how the GLIS > > frontend and backend works. > > Actually, as far as I know, most installers delay destructive actions > even if they *say* they don't. Of course, I haven't looked at the code > for any of these products recently, but it seems logical that if you > performed a destructive operation such as altering a partition table > *and* you provided a back button... well, I just don't know how you'd > make that work in a reasonable, predictable, and safe fashion. > > > With the frontend that Scott Hadfield and I jointly > > wrote for GLIS, the frontend creates the config file which gets > > passed to the backend when the config is done. That is not > > real-time. > > Right. This will function in a similar manner. I think this is a > better design than firing off each part piecemeal.
It is the task of the frontend to either save up the actions or to send them to the backend immediately. As long as the backend can perform actions as soon as they are received (incomplete xml file) the backend can handle whatever you want. Paul - -- Paul de Vrieze Gentoo Developer Mail: pauldv@g.o Homepage: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAH3ZvbKx5DBjWFdsRAoWcAJ4xW6dh9D4w6in+flp0ws5nPkg5QwCgtQaS DZopM4VszYS5hGYQiKX4acQ= =Dn/z -----END PGP SIGNATURE----- -- gentoo-installer@g.o mailing list


Subject Author
Re: [gentoo-installer] a few different questions Eric Sammer <esammer@g.o>