<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>openSUSE Lizards &#187; Stefan Schubert</title>
	<atom:link href="http://lizards.opensuse.org/author/schubi2/feed/" rel="self" type="application/rss+xml" />
	<link>http://lizards.opensuse.org</link>
	<description>Blogs and Ramblings of the openSUSE Members</description>
	<lastBuildDate>Mon, 07 Dec 2009 18:10:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New YaST-Web released 1.0.1</title>
		<link>http://lizards.opensuse.org/2009/04/01/new-yast-web-released-101/</link>
		<comments>http://lizards.opensuse.org/2009/04/01/new-yast-web-released-101/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:09:27 +0000</pubDate>
		<dc:creator>Stefan Schubert</dc:creator>
				<category><![CDATA[Systems Management]]></category>
		<category><![CDATA[YaST]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=656</guid>
		<description><![CDATA[We have released a new version of Web-YaST with following changes:

Added translation support on the client side.


Added ruby-gettext


Split off ruby-rpam and ruby-polkit in single packages.


Switch off IPv6 in lighttpd cause it has produced some undefined errors. (esp. on  64bit)


Added package dependencies concerning rails. The last few weeks have shown that RAILS versions are not [...]]]></description>
			<content:encoded><![CDATA[<p>We have released a new version of Web-YaST with following changes:</p>
<ul>
<li>Added translation support on the client side.</li>
</ul>
<ul>
<li>Added ruby-gettext</li>
</ul>
<ul>
<li>Split off ruby-rpam and ruby-polkit in single packages.</li>
</ul>
<ul>
<li>Switch off IPv6 in lighttpd cause it has produced some undefined errors. (esp. on  64bit)</li>
</ul>
<ul>
<li>Added package dependencies concerning rails. The last few weeks have shown that RAILS versions are not really compatible. So many problems have  been happened due different RAILS versions on the systems where YaST-Web has been  installed. Please use RAILS 2.1</li>
</ul>
<ul>
<li>Cleanup code.</li>
</ul>
<p>The newest packages can be found here:<br />
<a class="moz-txt-link-freetext" href="https://build.opensuse.org/project/show?project=home:schubi2">https://build.opensuse.org/project/show?project=home:schubi2</a></p>
<p>Or</p>
<p><a class="moz-txt-link-freetext" href="https://build.opensuse.org/project/show?project=YaST:Web">https://build.opensuse.org/project/show?project=YaST:Web</a></p>
<p>It would be nice to get some feedback. Bugzilla would be a nice option  <img src='http://lizards.opensuse.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thank you !</p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2009/04/01/new-yast-web-released-101/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>YaST WEB</title>
		<link>http://lizards.opensuse.org/2009/02/03/yast-web/</link>
		<comments>http://lizards.opensuse.org/2009/02/03/yast-web/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 09:16:16 +0000</pubDate>
		<dc:creator>Stefan Schubert</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Distribution]]></category>
		<category><![CDATA[Software Management]]></category>
		<category><![CDATA[YaST]]></category>
		<category><![CDATA[openSUSE 11.2]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=396</guid>
		<description><![CDATA[Aim
First of all we want to provide an general web based interface with the
functionality which is already provided by the YaST command line interface.
This API is based on the REST (Representational state transfer) architecture. This is a
simple interface which transmits domain-specific data over HTTP.
Please have a look to
http://en.wikipedia.org/wiki/Representational_State_Transfer
for more information about REST.
The second aim is [...]]]></description>
			<content:encoded><![CDATA[<h2><strong>Aim</strong></h2>
<p>First of all we want to provide an general web based interface with the<br />
functionality which is already provided by the YaST command line interface.</p>
<p>This API is based on the REST (Representational state transfer) architecture. This is a<br />
simple interface which transmits domain-specific data over HTTP.<br />
Please have a look to</p>
<p><a href="http://http://en.wikipedia.org/wiki/Representational_State_Transfer">http://en.wikipedia.org/wiki/Representational_State_Transfer</a></p>
<p>for more information about REST.</p>
<p>The second aim is to provide a YaST Web UI which can be used by every<br />
web browser.</p>
<p>The current state of the project is an existing YaST-Webservice on the<br />
host side which provides the REST based interface.<br />
On the client side we have the concerning YaST-Webclient which can be<br />
used be any web browser.</p>
<p>YaST-Webservice and YaST-Webclient are running as a webserver<br />
(currently lighttpd) on different or even the same computer.</p>
<p>So the aim is to configure a host via the internet in a simple and<br />
safety way.</p>
<h2><strong>How does it work ?</strong></h2>
<p><img src="http://lizards.opensuse.org/wp-content/uploads/2009/02/yastwebservice.png" alt="YaST Web" width="810" height="1146" /></p>
<p>The YaST Webclient communicate via HTTP(s) with the YaST Webservice. The<br />
user has to authenticate ( username, password ) to the host via PAM<br />
(Pluggable Authentication Modules) which is available on every linux system.</p>
<p>The YaST Webclient sends requests ( e.g. create a user, install patch) to<br />
the YaST Webservice. This service checks if the user has the right to<br />
execute this request via PolicyKit. For each kind of request there is<br />
PolicyKit rule defined. These rights has to be granted to the concerning user.</p>
<p>After permission check the request will be send via DBUS to the SCR agent of<br />
YaST. The return value will be given back to YaST-Webclient in XML or JSON<br />
format.</p>
<p>Patches will be handled by PackageKit. These requests will also be sent from<br />
the YaST Webservice to PackageKit via DBUS.</p>
<h2><strong>How to get it ?</strong></h2>
<p>Have a look the openSUSE buildservice project</p>
<p><a href="https://build.opensuse.org/project/show?project=home%3Aschubi2">YaST Webservice (home:schubi2)</a></p>
<p>There are all needed packages for version openSuSE 11.1 and above.</p>
<p>As some additional packages (e.g. lighttpd) are needed which are not on openSuSE 11.1 you should add a<br />
repositories ( e.g. factory ) in order to provide these packages.<br />
The simplest way for installation would be to use zypper:</p>
<p>zypper in yast2-core-2*.rpm<br />
zypper in ruby-dbus-*.rpm<br />
zypper in yast2-webservice-*.rpm<br />
zypper in yast2-webclient-*.rpm</p>
<h2><strong>How to use the YaST-Webservice</strong></h2>
<p>After you have installed these packages you can start the YaST-Webservice-Server with</p>
<p>rcyastws start</p>
<p>The server is running as &#8220;localhost:8080&#8243; with which you can connect with a web browser:</p>
<p>http://localhost:8080</p>
<p><img style="1px solid black;" src="http://lizards.opensuse.org/wp-content/uploads/2009/02/webui4.jpg" alt="YaST-Webservice" width="1065" height="616" /></p>
<p>This &#8220;pure&#8221; web page shows the available modules which can be used via the REST interface.</p>
<p>This REST API is described under</p>
<p>http://localhost:8080/doc_interface.html</p>
<p>Additional configuration stuff like</p>
<p>- setup Hostname and Port<br />
- setup HTTPS connection<br />
- granting permissions for an single user<br />
- AVAHI support</p>
<p>can be found here:<br />
http://localhost:8080/doc_config.html</p>
<h2><strong>How to use the YaST-Webclient</strong></h2>
<p>After you have started the YaST-Webservice-Server you also can start the YaST-Webclient:</p>
<p>rcyastwc start</p>
<p>Now you can use any browser and connect with http://&lt;name of your computer&gt; to your<br />
computer.<br />
The default rights of the YaST Webservice are set to root only. So you can login with the root password<br />
of that machine.</p>
<p>Following features are implemented:</p>
<p>- setting languages<br />
- setting system time<br />
- setting user permissions<br />
- installing patches<br />
- managing local users<br />
- export user SSH-keys<br />
- starting,stopping,status,&#8230; of services<br />
- configuration of ntp server</p>
<p>Have a look to the following screen shot it order to give an overview how it looks like:</p>
<p><img src="http://lizards.opensuse.org/wp-content/uploads/2009/02/webui1.jpg" alt="System Services" width="1081" height="714" /></p>
<p><img src="http://lizards.opensuse.org/wp-content/uploads/2009/02/webui3.jpg" alt="Available Patches" width="1080" height="831" /></p>
<p><img src="http://lizards.opensuse.org/wp-content/uploads/2009/02/webui2.jpg" alt="User Permissions" width="1093" height="689" /></p>
<p><strong>Known Bugs</strong><br />
-The first call of an menue entry will be slow cause an additional process will be started.<br />
The second one should be much more faster <img src='http://lizards.opensuse.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
-Permissions will sometime not be shown correctly (just click &#8220;search&#8221; again) Bug 470645</p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2009/02/03/yast-web/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Showing package dependencies</title>
		<link>http://lizards.opensuse.org/2008/06/27/showing-package-dependencies/</link>
		<comments>http://lizards.opensuse.org/2008/06/27/showing-package-dependencies/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 14:10:02 +0000</pubDate>
		<dc:creator>Stefan Schubert</dc:creator>
				<category><![CDATA[Software Management]]></category>

		<guid isPermaLink="false">http://lizards.opensuse.org/?p=82</guid>
		<description><![CDATA[In order to give an answer about &#8220;Why this package will be installed and who needs it?&#8221; I have added a new Dialog in the QT single package selector:

Select one item (pattern, package) in the single selection frame, use the right mouse button and select &#8220;Show solver information&#8221;. A solverrun will be made for this [...]]]></description>
			<content:encoded><![CDATA[<p>In order to give an answer about &#8220;Why this package will be installed and who needs it?&#8221; I have added a new Dialog in the QT single package selector:</p>
<p><a href="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog.jpg"><img class="alignnone size-medium wp-image-86" src="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog-300x193.jpg" alt="" width="300" height="193" /></a></p>
<p>Select one item (pattern, package) in the single selection frame, use the right mouse button and select &#8220;Show solver information&#8221;. A solverrun will be made for this item and the result will be shown with this dialog.</p>
<ul>
<li>Black arrow : This item will be required by&#8230;.</li>
<li>Green arrow: This item will be recommended by&#8230;</li>
<li>Green boxes: This package is already installed</li>
<li>Grey boxes: This package will be installed</li>
<li>Blue boxes: Patterns</li>
</ul>
<p>You can navigate through the tree via the overview frame:</p>
<p><a href="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog81.jpg"><img class="alignnone size-medium wp-image-88" src="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog81-206x300.jpg" alt="" width="206" height="300" /></a></p>
<p>After you have selected one item in the tree you can see more information about:</p>
<p><a href="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog2.jpg"><img class="alignnone size-medium wp-image-89" src="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog2-300x67.jpg" alt="" width="300" height="67" /></a></p>
<p>e.G. this item will install two further patterns due to the shown dependencies.</p>
<p>In order to decrease the complexity of the tree you can blind out:</p>
<ul>
<li>already installed packages</li>
<li>recommended packages/patterns</li>
</ul>
<p>So you will get a shrinked tree:</p>
<p><a href="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog6.jpg"><img class="alignnone size-medium wp-image-90" src="http://lizards.opensuse.org/wp-content/uploads/2008/06/dialog6-291x300.jpg" alt="" width="291" height="300" /></a></p>
<p><strong>Technical Background:</strong></p>
<p>This is a simple Qt Dialog widget which can be used in other programs too. ( Package libqdialogsolver1)</p>
<p>YaST uses this widget as a YaST plugin. So if this package is not available you will get a popup in single selection <em>only.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://lizards.opensuse.org/2008/06/27/showing-package-dependencies/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
