Mailinglist Archive: yast-devel (177 mails)
| < Previous | Next > |
Re: [yast-devel] A Plan for YaST: Project Amaranth
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Thu, 10 Feb 2011 11:28:08 +0100
- Message-id: <20110210102808.GB31458@heron.suse.de>
* Jiri Srain <jsrain@xxxxxxx> [Feb 10. 2011 08:59]:
Thinking about it, I would propose to drop the WebYaST REST API as it
is currently.
It is too low-level and should be replaced by a richer / more
functional approach. It exposes YaSTs SCR layer, while it should
expose the YaST 'module' layer.
The SCR layer handles 'disks', 'shell commands' and 'config files'.
Installing a new disk requires detection ('disk'), partitioning
('shell'), formatting ('shell'), mount point creation ('shell'),
mounting ('shell') and editing the fstab ('config').
On the module layer, installing a new disk would be a single REST call.
The example might not be typical, but you get the idea.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
I'd target higher here: D-Bus based interface can be only local, for WebYaST
we have the REST API on top of D-Bus anyway, so why not use it?
Thinking about it, I would propose to drop the WebYaST REST API as it
is currently.
It is too low-level and should be replaced by a richer / more
functional approach. It exposes YaSTs SCR layer, while it should
expose the YaST 'module' layer.
The SCR layer handles 'disks', 'shell commands' and 'config files'.
Installing a new disk requires detection ('disk'), partitioning
('shell'), formatting ('shell'), mount point creation ('shell'),
mounting ('shell') and editing the fstab ('config').
On the module layer, installing a new disk would be a single REST call.
The example might not be typical, but you get the idea.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |