On 03/26/2016 07:39 AM, Ludovic Courtès wrote:
Personally, I would like to view the “wizard” as a helper, and not as
something that hides everything and turns people into “end users.”
I don’t know how this could translate in the design of the tool.
Perhaps showing the ‘operating-system’ declaration as you suggest is one
thing, and making it easy to view the section of the manual that
corresponds to a particular item, or to jump to the code that defines a
specific service (say), would be helpful too.
Yes as much as it is an installer it should also be an introduction.
Something that not only lets a user easily input their options but also
shows them how their settings will be put into config.scm, I'm trying to
come up with some clever ideas of how to do this in a graceful way.
Thinking about this has lead me to think more about Danny
Milosavljevic's suggestion
Yeah, personally I'd like to have an emacs form which just displays config.scm
(and stores it as a normal file) and has some inline documentation on what is
what and maybe a treeview instead of visible S-Expression parens - and a
validation process whether the stuff makes sense. When you exit, it just
instantiates the system.
The partitioning & file system type should also be specified in a declarative
way in the config [and arguably it already is].
Basically not a lot different from now but just more user-friendly and catching
more mistakes before instantiation.
ncurses actually isn't as flexible - although it has the benefit that the
average user is familiar with how it looks.
Basically I was thinking of doing that with an ncurses UI that shows the
user their config.scm with some documentation and then walks users
through changing each option. But maybe an emacs installer makes more
sense as this is the type of interface emacs does very well.
The reason I had avoided proposing an emacs installer previously is I
worry about confusion from users who are unfamiliar with emacs and how
to use it. Should we be concerned with that when so many of Guix's great
features that can be accessed through emacs. Perhaps there could be a
simple introduction to emacs in the installer as well? On the other hand
if a user has no experience with emacs throwing that at them along with
config.scm could be overwhelming.
Anyways just some thoughts I had, any more feedback would be greatly
appreciated.
Thanks
Thomas Ingram