gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Proposal for 3.5: Make adding custom translators eas


From: Anand Babu Periasamy
Subject: Re: [Gluster-devel] Proposal for 3.5: Make adding custom translators easy
Date: Wed, 14 Aug 2013 21:51:44 -0700

Here are some more points to consider:

  * gluster-devel package should include all the necessary header and
library files to compile a standalone glusterfs translator.
  * /usr/share/doc/gluster-devel/examples/translators/hello-world
should contain skeleton translator code (well commented), README.txt
and build files.  This code becomes the starting point to implement a
new translator. Make few changes and you should be able to build,
install, test and package your translator. It is ideal to implement
this via script. Similar to autoproject, "translator-gen NAME"  should
produce all the necessary skeleton translator code and associated
files.  This avoids erroneous find-replace steps.

  * "Getting Started" documentation, API documentation (including
libglusterfs APIs)
  * Modular GlusterFS CLI API. Today it is hard-coded.
  * Modular volume spec file: each translator should distribute its
own volume spec snippet and a rule to load (say client only or server
    only, possible injection points).
  * Modular documentation API: each translator should describe what it
does, what options its supports, default values and meaningful range
    of values. This doc should be query'ble via gluster CLI

I really hope this initiative gets prioritized for 3.5. We need to
make it easy for community to contribute translators easily.
-ab

On Wed, Aug 14, 2013 at 11:48 AM, Justin Clift <address@hidden> wrote:
> On 12/08/2013, at 6:52 PM, Justin Clift wrote:
> <snip>
>> For 3.5, I'd like to propose we add a way for people to easily
>> add custom translators they've written. (using C, or Glupy,
>> or whatever)
>
>
> Added this initial proposal to the 3.5 planning page:
>
>   
> http://www.gluster.org/community/documentation/index.php/Easy_addition_of_custom_translators
>
> :)
>
> + Justin
>
> --
> Open Source and Standards @ Red Hat
>
> twitter.com/realjustinclift
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gluster-devel



-- 
-ab

Imagination is more important than knowledge --Albert Einstein



reply via email to

[Prev in Thread] Current Thread [Next in Thread]