<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgfapi-python.git/glusterfs, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/'/>
<entry>
<title>Rename module name from glusterfs to gluster</title>
<updated>2015-04-25T07:54:33+00:00</updated>
<author>
<name>Humble Chirammal</name>
<email>hchiramm@redhat.com</email>
</author>
<published>2015-02-17T11:56:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=75bb7da7094e0344fc7be93408ff6d6ead855253'/>
<id>75bb7da7094e0344fc7be93408ff6d6ead855253</id>
<content type='text'>
The goal is to consolidate all gluster related python packages
under single namespace "gluster".

From client's perspective, it was:
    from glusterfs import gfapi
Henceforth, it wil be:
    from gluster import gfapi

Change-Id: If2509f570563ae7660892963607c9474313f803c
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The goal is to consolidate all gluster related python packages
under single namespace "gluster".

From client's perspective, it was:
    from glusterfs import gfapi
Henceforth, it wil be:
    from gluster import gfapi

Change-Id: If2509f570563ae7660892963607c9474313f803c
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Adding libgfapi reference for mapping."</title>
<updated>2015-02-23T15:29:22+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2015-02-23T15:29:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=c4bf5426a6ddf645edebeb1a9c2ae6939ecab66d'/>
<id>c4bf5426a6ddf645edebeb1a9c2ae6939ecab66d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "adding functions setfsuid and setfsgid"</title>
<updated>2015-02-23T15:29:01+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2015-02-23T15:29:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=0973939a7a7edf4ae9464a1214cc239ed9f4ba29'/>
<id>0973939a7a7edf4ae9464a1214cc239ed9f4ba29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding libgfapi reference for mapping.</title>
<updated>2015-02-23T06:44:08+00:00</updated>
<author>
<name>Humble Chirammal</name>
<email>hchiramm@redhat.com</email>
</author>
<published>2015-02-20T12:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=0b21e0b12718ca000e062b72afe62c31ce1b2825'/>
<id>0b21e0b12718ca000e062b72afe62c31ce1b2825</id>
<content type='text'>
Change-Id: Iaf2ae5a07e3ccb9919f6020f42962b4441557596
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iaf2ae5a07e3ccb9919f6020f42962b4441557596
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>adding functions setfsuid and setfsgid</title>
<updated>2015-02-20T18:49:06+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2015-02-19T19:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=b5a327eb9c0c1ec3f77a36676d6cc9878353ec1b'/>
<id>b5a327eb9c0c1ec3f77a36676d6cc9878353ec1b</id>
<content type='text'>
Did not add functional tests at the moment. This function requires
superuser privilege to execute

Change-Id: I35c0a6b3eba60586da64ccfb4dc818d403542f41
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Did not add functional tests at the moment. This function requires
superuser privilege to execute

Change-Id: I35c0a6b3eba60586da64ccfb4dc818d403542f41
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added option to read whole file</title>
<updated>2015-02-20T17:53:06+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2014-04-12T16:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=88bc71ff92026d889125bc0c4b14b450e41e62c4'/>
<id>88bc71ff92026d889125bc0c4b14b450e41e62c4</id>
<content type='text'>
Added option to read whole file if caller send -1
as the buflen to read function.

Also added a copy of getsize to File class, now called
fgetsize, which returns the size of the file as
reported by fstat

Removed flags paramater from read function as it is never
used by libgfapi.

Change-Id: Ia1c04ef9717d9ca098e1961300d6ee216381c989
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added option to read whole file if caller send -1
as the buflen to read function.

Also added a copy of getsize to File class, now called
fgetsize, which returns the size of the file as
reported by fstat

Removed flags paramater from read function as it is never
used by libgfapi.

Change-Id: Ia1c04ef9717d9ca098e1961300d6ee216381c989
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>adding chmod and fchmod</title>
<updated>2015-02-19T22:00:11+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2015-02-19T22:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=fc318e921b073cdbe9fbe62b8c893634b057f0e8'/>
<id>fc318e921b073cdbe9fbe62b8c893634b057f0e8</id>
<content type='text'>
Change-Id: Iba5f4e72a257adeb8ec78b267dfdef26a1ec66f1
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iba5f4e72a257adeb8ec78b267dfdef26a1ec66f1
Signed-off-by: Thiago da Silva &lt;thiago@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide default mode for Volume.mkdir()</title>
<updated>2014-09-04T12:13:26+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2014-09-04T11:02:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=dda911d7f139d32c1c9a4bdca8d4aaf5acf479ae'/>
<id>dda911d7f139d32c1c9a4bdca8d4aaf5acf479ae</id>
<content type='text'>
Calling mkdir without mode used to fail with following error:

&gt;&gt;&gt; vol.mkdir('/c2')
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  TypeError: mkdir() takes exactly 3 arguments (2 given)

Python's os.mkdir() defined default mode:
https://docs.python.org/2/library/os.html#os.mkdir

Also, changed mode_t is of type unsigned short (ctypes.c_ushort).

Change-Id: I95e47a8173d90e2a162cfeb9af002ea0c20fc2ff
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling mkdir without mode used to fail with following error:

&gt;&gt;&gt; vol.mkdir('/c2')
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  TypeError: mkdir() takes exactly 3 arguments (2 given)

Python's os.mkdir() defined default mode:
https://docs.python.org/2/library/os.html#os.mkdir

Also, changed mode_t is of type unsigned short (ctypes.c_ushort).

Change-Id: I95e47a8173d90e2a162cfeb9af002ea0c20fc2ff
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding function prototypes with this patch.</title>
<updated>2014-07-02T12:24:02+00:00</updated>
<author>
<name>Humble Chirammal</name>
<email>hchiramm@redhat.com</email>
</author>
<published>2014-05-20T06:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=ccd43c43ae79920422248e5413151de7c0ab08a3'/>
<id>ccd43c43ae79920422248e5413151de7c0ab08a3</id>
<content type='text'>
This helps ctypes know the calling conventions it should use to communicate
with the binary interface of libgfapi and which types it should allocate and
cast. Without it, ctypes fails/crashes when not running on the main thread.

Change-Id: I73480229f451167377ed4d1534b08b66c689cc4f
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps ctypes know the calling conventions it should use to communicate
with the binary interface of libgfapi and which types it should allocate and
cast. Without it, ctypes fails/crashes when not running on the main thread.

Change-Id: I73480229f451167377ed4d1534b08b66c689cc4f
Signed-off-by: Humble Chirammal &lt;hchiramm@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix functional tests</title>
<updated>2014-05-20T01:34:48+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2014-04-10T11:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=8acb5a7585a8e155cf0c9d0a60d76e75cdd725f7'/>
<id>8acb5a7585a8e155cf0c9d0a60d76e75cdd725f7</id>
<content type='text'>
* The order of elements in list returned by listdir() can vary and may
  not be sorted. This caused assertEqual in "test_listdir" to fail.
* Also, some systems may have xattrs belonging to selinux. So, a
  listxattr can list them too.
* Allow hostname/ip and volume name to be configured easily by setting
  it in test.conf. This enables functional tests to use a non-local volume.
* Cleanup volume before and after running functional tests.
* Added MANIFEST.in and LICENSE file

Change-Id: Icfa6eb60e8d8e7ed4d6ab8190a2a2c80688999a3
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* The order of elements in list returned by listdir() can vary and may
  not be sorted. This caused assertEqual in "test_listdir" to fail.
* Also, some systems may have xattrs belonging to selinux. So, a
  listxattr can list them too.
* Allow hostname/ip and volume name to be configured easily by setting
  it in test.conf. This enables functional tests to use a non-local volume.
* Cleanup volume before and after running functional tests.
* Added MANIFEST.in and LICENSE file

Change-Id: Icfa6eb60e8d8e7ed4d6ab8190a2a2c80688999a3
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
