Gentoo Archives: gentoo-installer

From: Nathaniel McCallum <npmccallum@g.o>
To: gentoo-installer@l.g.o
Subject: Re: [gentoo-installer] New class diagram and use case
Date: Tue, 03 Feb 2004 20:09:46
Message-Id: 1075838979.12132.2.camel@luther.natemccallum.com
In Reply to: Re: [gentoo-installer] New class diagram and use case by Paul de Vrieze
1 On Tue, 2004-02-03 at 14:12, Paul de Vrieze wrote:
2 > I don't see what you mean with GLIInstallProfile, but there are basically two
3 > cases:
4 > - single xml file
5 > - multiple xml files (possibly a way to put multiple ones into one file)
6 >
7 > In the case where there is a single xml file it is necessary that the backend
8 > is able to allready perform tasks at the moment that a complete task has been
9 > received (but following tasks not yet). As DOM works in a parse completely
10 > first way it is inappropriate (unless there is a dom that doesn't work that
11 > way).
12 >
13 > Say that the interface between the backend and the frontend is a pipe. In that
14 > case a way to control the backend would be by sending an xml file over.
15 >
16 > How would that work together with an interactive frontend. The backend would
17 > try to read the pipe. At the moment that a task has been closed it will
18 > execute the task. If there is a task in the pipe's buffer at that moment it
19 > will execute the next task etc. If there is no task in the buffer, the pipe
20 > will block and the backend will automatically pause until the frontend tells
21 > it to do more.
22 >
23 > For the backend it would not matter whether all the tasks are comming from a
24 > file, at once from the frontend or gradually by the frontend.
25 >
26 > I don't care that much how or if you implement this in the frontend, but
27 > implementing it in the backend (where it is simpler anyway) would make it
28 > easy to add interactivity in a later stage.
29 The backend doesn't actually do anything until all options have been
30 chosen. ALL installation activity waits until AFTER the user would
31 click "finish" (just an example). Nothing should be done until the user
32 has made all choices. Once the user has made all choices, it will pass
33 the xml file to the backend and perform the whole installation. This is
34 really the desireable operation.
35
36 Nathaniel

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-installer] New class diagram and use case Paul de Vrieze <pauldv@g.o>