Skip to content

Commit

Permalink
project renamed and moved
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchome committed Aug 14, 2012
1 parent 489d40b commit 029e770
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
18 changes: 9 additions & 9 deletions README.markdown
Expand Up @@ -11,17 +11,17 @@ You can try it, but it is not for production use. We'd like to hear any comments
Various written documenation is located at doc directory.

### Generated code documenation
[Fresh generated documenation] (http://rubydoc.info/github/yast/yast--)
[Fresh generated documenation] (http://rubydoc.info/github/openSUSE/gloves)

### How to try it from git
install rubygem dependencies from the OpenSUSE build system's Ruby Extensions repository
install rubygem dependencies from the OpenSUSE build system Ruby Extensions repositories

sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_12.1/devel:languages:ruby:extensions.repo
sudo zypper in rubygem-ruby-augeas augeas-lenses rubygem-open4 rubygem-packaging_rake_tasks rubygem-ruby-dbus
sudo zypper ar http://download.opensuse.org/repositories/YaST:/Head:/YaST++/openSUSE_12.2
sudo zypper in rubygem-ruby-augeas augeas-lenses rubygem-packaging_rake_tasks

sudo rake install
cd yast++lib-kerberos-client
ruby examples/kerberos_conf
cd gloves-country
ruby examples/timezone_conf


#### How to obtain permission for common user:
Expand All @@ -39,7 +39,7 @@ TODO create pattern

###Directory structure
* config_agent-* - contains packages with config agents
* doc - overall yast++ documentation
* doc - overall documentation
* libconfigagent - infrastructure and generators for config agents
* yast - contains modified yast modules to use yast++
* yast++lib* - contains high level configuration library
* yast - contains modified YaST modules using Gloves
* gloves-* - contains high level configuration library
24 changes: 12 additions & 12 deletions doc/tutorial.txt
@@ -1,21 +1,21 @@
yast++ Tutorial!
Gloves Tutorial!
================

First of all you need checkout the sources and install needed the ruby gems:
# git clone git@github.com:yast/yast--.git
# git clone git://github.com/openSUSE/gloves.git

Follow the README file, doc/architecture.txt document and install needed dependencies:
# sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_12.1/devel:languages:ruby:extensions.repo
# sudo zypper in rubygem-ruby-augeas rubygem-open4 rubygem-packaging_rake_tasks rubygem-ruby-dbus
# sudo zypper ar http://download.opensuse.org/repositories/YaST:/Head:/YaST++/openSUSE_12.2
# sudo zypper in rubygem-ruby-augeas rubygem-packaging_rake_tasks

Run rake install from the yast-- directory:
Run rake install from the gloves directory:
# sudo rake install

First Step: Run an example:
# ./yast++lib-country/examples/keyboard_conf
# ./gloves-country/examples/keyboard_conf

Next Step: Own yast++ module:
It's time to write your own yast++ module now. We'll start with the config_agent, the low level part:
Next Step: Own gloves module:
It's time to write your own gloves module now. We'll start with the config_agent, the low level part:
# mkdir config_agent-windowmanager
# cd config_agent-windowmanager

Expand All @@ -29,12 +29,12 @@ Make sure not to return nil values as they are not supported by dbus and will re
like "Message did not receive a reply (timeout by message bus) (DBus::Error)"

Next part is the ylib:
# mkdir yast++lib-windowmanager
# cd yast++lib-windowmanager
# mkdir ./lib/y_lib
# mkdir gloves-windowmanager
# cd gloves-windowmanager
# mkdir ./lib/glove

Create your code, use another module for copy&paste:
# vi ./lib/y_lib/windowmanager.rb
# vi ./lib/glove/windowmanager.rb

And finally the last part: An example application
copy&paste is your friend :-)
Expand Down

0 comments on commit 029e770

Please sign in to comment.