[Gluster-devel] Proposal for 3.5: Make adding custom translators easy
Anand Babu Periasamy
abperiasamy at gmail.com
Thu Aug 15 04:51:44 UTC 2013
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 <jclift at redhat.com> 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
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
--
-ab
Imagination is more important than knowledge --Albert Einstein
More information about the Gluster-devel
mailing list