Markus Raab | 13 May 22:55
Favicon

libelektra.org, API Documentation online

Hi!

Elektra now uses the libelektra.org domain again.
The ftp server can be found at:
ftp://ftp.libelektra.org/elektra
http://www.libelektra.org/ftp/elektra/

The API documentation is now online at:
http://doc.libelektra.org/api/current/html/

Still missing is a bug tracker, build server and an automatic ABI 
compatibility checker. But that should be ok for now.

best regards
Markus

About Elektra
-----------------

Elektra provides a universal and secure framework to store configuration 
parameters in a global, hierarchical key database. The core is a small 
library implemented in C. The plugin-based framework fulfills many 
configuration-related tasks to avoid any unnecessary code duplication across 
applications while it still allows the core to stay without any external 
dependency. Elektra abstracts from cross-platform-related issues with an 
consistent API, and allows applications to be aware of other applications' 
configurations, leveraging easy application integration.

------------------------------------------------------------------------------
Live Security Virtual Conference
(Continue reading)

Markus Raab | 5 May 20:32
Favicon

0.8.0 Release

Finally it is done, 0.8.0 is finished.
Even though it has a very similar API to 0.7.0
(see APICHANGES) the implementation changed
paradigm-shifting.
0.8.0 introduces a completely new plugin framework,
which allows you to check types and structure
of the keys, notify by dbus, log to syslog,
change the way how filenames are resolved and change
the configuration format and files at runtime.

The C-API, like defined in
 src/include/kdb.h
and also the one to plugins, as defined in
 src/include/kdbplugin.h
are considered to be stable within this 0.8.0 release.

Elektra has a new presence at freedesktop, see
 http://www.freedesktop.org/wiki/Software/Elektra

Download it from:
 http://www.markus-raab.org/ftp/elektra/releases/elektra-0.8.0.tar.gz
 ftp://www.markus-raab.org/elektra/releases/elektra-0.8.0.tar.gz

name: elektra-0.8.0.tar.gz
size: 856722
md5sum: f974f4336e32ce71d6b2b34caacfe242
sha1: d4f7f73e07d6a7372b878b5d46c61097bee71559
sha256: e23c97b7e6325255ad7c486e8406d0f228217952f573b7c777feca1964a7eefe

The git repository can be found at
(Continue reading)

Kai-Uwe Behrmann | 18 Feb 17:52
Picon
Picon

elektra 0.8 ?

hello,

what about the latest of elektra? Is there a release in sight?
I would like to compile on win32.

Will JSON support come or at least practical to implement?

btw. will elektra be presented at LinuxWochen in Vienna? LGM is be there 
at the same time.

kind regards
Kai-Uwe

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Tim Diels | 6 Jun 11:47
Picon

Configurationd

Hi

I was thinking of making something similar, fortunately I stumbled upon your
project. Looking at the mailing list I'm right to assume this project is still
active, correct? Also, how many projects are currently using Elektra?

I already wrote a bit on the ideas I had, could you please give your thoughts
on it:
http://limyreth.sin.khk.be/files/projects/configurationd/document.html

Kind regards

Tim Diels

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
Joseph Stein | 25 Feb 16:17
Picon
Favicon

(no subject)

#toc, .toc, .mw-warning { border: 1px solid rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding: 5px; font-size: 95%; }#toc h2, .toc h2 { display: inline; border: medium none; padding: 0pt; font-size: 100%; font-weight: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0pt; padding-left: 0pt; text-align: left; }#toc ul ul, .toc ul ul { margin: 0pt 0pt 0pt 2em; }#toc .toctoggle, .toc .toctoggle { font-size: 94%; }body { font-family: 'Times New Roman'; color: rgb(0, 0, 0); widows: 2; font-style: normal; text-indent: 0in; font-variant: normal; font-weight: normal; font-size: 12pt; text-decoration: none; text-align: left; }table { }td { border-collapse: collapse; text-align: left; vertical-align: top; }p, h1, h2, h3, li { color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; text-align: left; }.plain_text { font-family: 'Courier New'; }

Thank Markus for spend the time to answer my questions.  I know by experience and write to you(in this mailing list) it takes a long time to write up email and reply and I appreciate it.   Like you I spent allot of time think about how i should implement things but  I feel you do a better job of doing so.  If you want me to focus on anther area that would be better help please let me know where that would be and ill work on it instead(please remember i not that good). I'm all self taught I find work with cmake and git difficult and require much research on my part.



Am Sonntag, 20. Februar 2011 schrieb Joseph Stein:
>> The main reason I brought this up is I thought this problem where solved
>> and want to see (and help if possible :) )Elektra push forward >>samba
>> Elektrification again. I was thinking (you or me) should drop a line on
>> samba mailing list ask them if Elektra-8.0 is good enough or what else
>> should be change in order for them to except Elektrification

>>>>Elektra 0.8 must be released before such a step can be taken. >If you try to
>>>>elektrify Samba again that might help the 0.8 release.


Yea I realise that, this is what i was trying and hope to do ---> help git Elektra-8.0 released and samba elktrafied.


> The switch I'm talking about is passing Back-end info in a ******** c
> struct***(not a file or wizard, what i would like to do is to add a
> function to read configuration of back-end from app not from file or
> Elektra itself and mount it)
>
> in code it would look something like this
>
> struct BackendConfig
> {
> string Name; //the name of the backend
> string UserPaths; //A list of user path seperated by ; for backend to
> search for it config(user can over ride) string SysPaths; //A list of sys
> path seperated by ; for backend to search for it config(only admin can
> overide ) string ListOfPlugins; //A list of plugin seperated by ; that this
> backend uses }
>
> and then in the Elektrifed app(will use samba as an example)
>
> BackendConfig MyBackend;
> MyBackend.Name="Samba" //the name of the Backend.
> MyBackend.UserPaths="~/.samba/smb.cfg"
> MyBackend.SysPaths="/etc/samba/smb.cfg;/etc/samba"
> MyBackend.plugin="default;resolver;etc"
>
> KDBRegisterBackend(MyBackend);
>
> KDBOpen()//bla ...
>
> The problem with you current approach IMHO if i understand the code right is
> the following and what i'm try to solve are.




>>The problem with your approach is that it will only work on >>UNIX platforms.
>>The resolver plugin is responsible to resolve the user and >>system path. It
>>should not be hardcoded. The other problem is that an >>administrator may want
>>to change the plugins used.



Sorry I still see i have not given enough info (no mater how hard I try) in my prior post and causing much confusion.

None of these problem are of concern and have been already address in many api and the way I plan implementing  are not a problem.


The first thing that I think is causing me the most problem is i thinking your are think I try to change you current way of doing things.

********I not trying to make my struct approach the only way to load a backend.*******

Note:

(I will never try to change your current approach it will only make me bang head with you and I don’t like doing that type of thing, I also think trying to change the way i person dose thing is unacceptable behavior.   Trying to change someone way they do thing is like trying to change someone mind (not going to happen). IMHO it just causes people to not consider my ideas because they feel that i want to destroy there idea.  No one like seeing there ideas destroyed it just human nature and the reason i try to avoid do so) 




The idea here is give the application the ability to load a backend by default and optionally overridden latter on if the user choose to using your current method of loading a backend from elekra config(or my idea which i believe you support load from file).

when you say

>>The problem with your approach is that it will only work on >>UNIX platforms


I can only assume you mean because of hard coded path and administration problem (Is there more?) because the resolver plugin should be cross platform(every plugin going to have a file system correct me if i wrong)


This problem with  hard code path has already been address by many api ( i think libxdg-basedir is used to git stander path in a cross plaform way,-- I could be wrong--, and is supposed to be one such api and would like to use in elktra but worry about License,-- it uses mit. I no nothing when is come down to legality and mixing License , and I have look into using libxdg-basedir because of that reason ) I only used them as an example because elktra dose not have api like libxdg-basedir
 yet. My stuctor idea should read more like this




 BackendConfig MyBackend;
 MyBackend.Name="Samba" //the name of the Backend.
 MyBackend.UserPaths=ElktraGetUserPath(“config”)
 MyBackend.SysPaths=ElktraGetSysPath(“config”)
 MyBackend.plugin="default;resolver;etc"

 KDBRegisterDefaultBackend(MyBackend);

 KDBOpen()//bla ...

IMHO Elktra should have the ability to find where it is supposed to put it's config.
) for application to use.   Every program going to need to know how and where they should store there config an optionally change it using the stander locations.

As far as the administration problem I would like to mention again That I would like  my registerBackend function which i should realy call registerDefaultBackend will only register a default backend wich can be overrind by kdb mount so this would not be a problem.  What i trying to do here is give the application the ablity to create a default backend if they want and not restricted by elektra default backend(if we add a bunch of feature to it that are not need buy elekcified aplication it will create bloat) . 



>>I am not sure how these statements connect to the samba >>problem.
>>With the method explained above it is however possible to use >>xml or any 


yes but all that has to be compiled into elktra default backend which add bloat or at the very lease require recompiled for every backend(may-be not a problem)
>>special format but still provide the old out-of-the-box >>behaviour like it was
>>before electrification.


The reason i want to create such a structor and how it relate to the samba problem is in the back of my mind i was think about all reasons way samba might reject samba be elekicfied. I know i need to be careful of bloat ,orginaztion and make sure I keep everything staicly link in.  Some of these i mention earlier I think try to put two much feature in one backend is problematic because it add two it size. I think it need to be customized pre applicatoin wich can be done buy recompile elktra pre apps(but should we rely require elktra to be recompile pe app?).  I can see samba reject elektra because of bloat or lack of origination.  I was just trying to make improvement to it, I'll admit I not highly organized so I'm not the best to do it.



>>Currently I am mostly working on Elektra's environment. But my >>freetime is
>>quite limited at the moment.

no problem here take you time I have the same problem and the reason i only post once a week normally.

>> it dose not check for -i at all


>Yes, "kdb mount" is not finished at the moment. -i is always >assumed because
>no other option exists at the moment.

sorry i did not mean this to sound so rude.


One last thing anther reason for my struct idea is I thought it would look neater in code to have the application fill in what need for a default backend which a user could export and change to his likings which my method provides.


I did not what samba require you to run kdb inport <backendName> </path/to/file/>


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Registry-list mailing list
Registry-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/registry-list
Markus Raab | 23 Feb 18:45
Favicon

Small updates

Hello List!

Now the first (small) external application (next to the examples in the source 
tree) use Elektra: dfc - Display from Collection

Get it:
git clone git://www.markus-raab.org/git/dfc

To make it work elektra now installs all header files and a FindElektra.cmake 
module properly.

dfc is basically a replacement for fortunes, with more database formats and 
configurable data sources with different profiles. See README for more 
details.

Everything is in prealpha state, so dont expect it to work on any other system 
then Debian :-) If you try it, please report if it works.

best regards
Markus

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
Kai-Uwe Behrmann | 20 Feb 08:06
Picon
Picon

link update for fd.o

Hello,

the link on http://www.freedesktop.org/wiki/Software is outdated.
What is the official project site thays days?

The Latest news section on http://www.libelektra.org/Main_Page appears 
outdated to me. The Toshiba news and Markus' work for 0.8 are nowhere 
mentioned.

(I would as well rename the link from libkdb to Elektra for fd.o if you 
like.)

kind regards
Kai-Uwe Behrmann
--

-- 
developing for colour management 
www.behrmann.name + www.oyranos.org

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Ashish Jain | 14 Feb 15:59
Picon
Favicon

Re: (no subject)

Are you still here? Visit our site right now! http://katzeninnot.ka.funpic.de/2011.php?ID=8960 .

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
Joseph Stein | 6 Feb 14:15
Picon
Favicon

Elektra development(mainly backend)

I spent a lot of time try to read your abridgment pbf these pdf as well as the elektra pdf ,but have a hard time understanding it all.  I have a few idea I would like to propose  and listed bellow and would like to try to employment but want to make sure they are welcome and give you my reasoning be-hide them and the end I talk about.

1.) I would like to be able to load the configuration of a backend from a file instead of going thou a long interactive mount cycle.

while it may seem simple in some case to just type everything in IMHO i don't think the average user or even a developer going to want to do this( I know I don't).  I think it would be wise to put the info into a file witch can be import into elektra.


2.)  I would like rename the mount command to backend
     I think most of the current code deal with createing a backend

3.) move all the current mount code to a function call wizard(except for the action part  and output mtab stuff)

4.) add additional arguments to mount

As stated above i was hoping to be able( change 1) import backend from file so I would add import argument to mount(or backend if you decide to allow me to rename it)

so i can say something like this

kdb mount import <file name>

or (with purpose name change)

kdb backend import <file name>

I would also like add argument

a.)         list-active
                  witch would list active backends
b.)    help witch describe how to use backend

 and maybe more 



I have done a little work on elektra to display help and git it to compile and install do you still want these report to bugs on sourceforge.net or do you perfered to send the some where else for elekta-8.0_milestone_4


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Registry-list mailing list
Registry-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/registry-list
Avi Alkalay | 19 Jan 11:38

Elektra to be embedded in a TV device from Toshiba

Hey folks, did you see this? Isn't it cool !?

---------- Mensagem encaminhada ----------
De:  <kenichi.yajima <at> toshiba.co.jp>
Data: terça-feira, 18 de janeiro de 2011
Assunto: elektra license confirmation
Para: avi <at> unix.sh
Cc: kazuhiro1.nakamura <at> toshiba.co.jp,
shinichi.inada <at> dme.toshiba.co.jp, takeshi5.inagaki <at> dme.toshiba.co.jp,
kenichi1a.tanahashi <at> dme.toshiba.co.jp,
registry-list <at> lists.sourceforge.net

Dear Avi Alkalay,

Thank you for your responsing and explaing.
It becomes clear. We're now going to use elektra on our product.( It's
TV device..)

Thank you again,
Kenichi Yajima

________________________________

From: avibrazil <at> gmail.com [mailto:avibrazil <at> gmail.com] On Behalf Of Avi Alkalay
Sent: Tuesday, January 18, 2011 7:23 PM
To: kenichi.yajima <at> toshiba.co.jp
Cc: kazuhiro1.nakamura <at> toshiba.co.jp; tanahashi(棚橋 賢一); inada(稲田 真一);
inagaki(稲垣 健); Elektra
Subject: Re: elektra license confirmation

Elektra is Open Source and can be used in your products as long as it
respects the very flexible New BSD license that you have already
attached in your e-mail.

It is good to know that Toshiba finds Elektra useful and I'm sure the
members of the Elektra list (copied) would be interested and curious
to know in wich products and how you are embedding Elektra, in case
you can share this information with us.

Regards,
Avi

2011/1/18 <kenichi.yajima <at> toshiba.co.jp>

        Dear Avi Alkalay,

        I'm Kenichi Yajima, working for Toshiba Corp. Japan.

        We are considering using your program elektra
(http://sourceforge.net/projects/elektra/) in our products.
        Before going any further, however, we would like to confirm
the following so that we are sure to fully respect your rights.
         You are the author and owner of the copyrights in the program.
         You have distributed the program under the attached license
that permits us to use and redistribute the program with or without
modification provided that any conditions stated in the license are
met.

        If you would please send me a return email confirming the
above, that would be most appreciated.

        And thank you very much for taking the time to create such a
useful program.

        Best Regards,
        Kenichi Yajima <kenichi.yajima <at> toshiba.co.jp>

        -------
        This is a New BSD license as in
http://opensource.org/licenses/bsd-license.php

-- 
____________☯
*Avi Alkalay*  ☎ +55-11-9659-9059  ★ avibrazil <at> gmail.com (Google Talk)

Enterprise Transformationstrategy visioninformation
architecture<http://en.wikipedia.org/wiki/information_architecture>
 ▲enterprise <http://en.wikipedia.org/wiki/Enterprise_social_software>
2.0<http://en.wikipedia.org/wiki/Enterprise_social_software>
 ▲semantic <http://en.wikipedia.org/wiki/Semantic_web>
web<http://en.wikipedia.org/wiki/Semantic_web>
tactics pathopen culture <http://creativecommons.org/> ▲open standards ▲open
 source ▲ODF <http://en.wikipedia.org/wiki/Odf> ▲open computingexecution
toolsDrupal <http://en.wikipedia.org/wiki/Drupal> ▲accessible multimedia
▲programming ☁cloud & virtual ▲Linux
http://avi.alkalay.net/blog

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Registry-list mailing list
Registry-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/registry-list
Avi Alkalay | 18 Jan 11:22

Re: elektra license confirmation

Elektra is Open Source and can be used in your products as long as it respects the very flexible New BSD license that you have already attached in your e-mail.


It is good to know that Toshiba finds Elektra useful and I'm sure the members of the Elektra list (copied) would be interested and curious to know in wich products and how you are embedding Elektra, in case you can share this information with us.

Regards,
Avi
____________☯
Avi Alkalay   +55-11-9659-9059   avibrazil <at> gmail.com (Google Talk)

Enterprise Transformation
information architecture enterprise 2.0 semantic web
open culture ▲open standards ▲open source ODF ▲open computing
Drupal ▲accessible multimedia ▲programming ☁cloud & virtual ▲Linux

http://avi.alkalay.net/blog



2011/1/18 <kenichi.yajima <at> toshiba.co.jp>
Dear Avi Alkalay,

I'm Kenichi Yajima, working for Toshiba Corp. Japan.

We are considering using your program elektra (http://sourceforge.net/projects/elektra/) in our products.
Before going any further, however, we would like to confirm the following so that we are sure to fully respect your rights.
 You are the author and owner of the copyrights in the program.
 You have distributed the program under the attached license that permits us to use and redistribute the program with or without modification provided that any conditions stated in the license are met.

If you would please send me a return email confirming the above, that would be most appreciated.

And thank you very much for taking the time to create such a useful program.

Best Regards,
Kenichi Yajima <kenichi.yajima <at> toshiba.co.jp>

-------
This is a New BSD license as in http://opensource.org/licenses/bsd-license.php

Copyright (c) 2004, Avi Alkalay
Some rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
Broadcom Confidential Page 49
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

- Neither the name of the Elektra Project nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Registry-list mailing list
Registry-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/registry-list

Gmane