This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Setup command-line interface
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: "Cygwin-Apps" <cygwin-apps at sources dot redhat dot com>
- Date: Thu, 9 Jan 2003 00:25:39 -0600
- Subject: Setup command-line interface
I'm a changelog away from finally submitting my variable-size page patch (so
give me a few months ;-)), but I just thought I'd bring up an overall design
issue. It looks like someone's added some infrastructure for the command-line
interface to the GUI interface code (eg WM_APP_UNATTENDED_FINISH). I submit
that we very much do *not* want to go that way long-term; we should continue to
disentangle the setup business logic from the setup UI as I've tried to do at
least to some extent with the GUI. To wit, some crappy ASCII art:
--------- ----------------------------
| GUI | | Command-line interface |
--------- ----------------------------
| |
| |
------------------------
|
|
---------------------------
| Setup Library (no UI) |
---------------------------
|
|
---------------------------
| File system, inet, etc |
---------------------------
(Pfhht, Visio Schmisio)
Now I know currently the UI and what I'm calling the "Setup Library" are pretty
intertwined, but this is not incurable. What I'm afraid of here is "creeping
inelegance": entangling another interface into the existing interface which is
already too tightly coupled to... you get the idea.
Agree/Disagree/Flame?
--
Gary R. Van Sickle
Brewer. Patriot.