<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgfapi-python.git/gluster, branch v1.0</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/'/>
<entry>
<title>Move source files into gfapi/ dir</title>
<updated>2016-08-10T12:50:57+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-08-10T09:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=655b0d2793386d2059b9c682e931035a83619917'/>
<id>655b0d2793386d2059b9c682e931035a83619917</id>
<content type='text'>
Currently, many source files are directly placed under gluster/ dir:
gluster/exceptions.py
gluster/gfapi.py
gluster/utils.py

When multiple packages (RPMs) are sharing the same gluster namespace,
these source files will conflict if there are source files with same
names provided by other projects.

Fix: Move all source files in gluster/* to gluster/gfapi/*
Note that this patch does not break how existing users import gfapi.

Change-Id: Idf9d07eefafe8333215d6c61201c97c982565ba9
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, many source files are directly placed under gluster/ dir:
gluster/exceptions.py
gluster/gfapi.py
gluster/utils.py

When multiple packages (RPMs) are sharing the same gluster namespace,
these source files will conflict if there are source files with same
names provided by other projects.

Fix: Move all source files in gluster/* to gluster/gfapi/*
Note that this patch does not break how existing users import gfapi.

Change-Id: Idf9d07eefafe8333215d6c61201c97c982565ba9
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify packaging</title>
<updated>2016-08-09T09:07:15+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-08-09T08:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=d4b8804abb876bda9803cee61c6c4298b475e6be'/>
<id>d4b8804abb876bda9803cee61c6c4298b475e6be</id>
<content type='text'>
* Rename .unittests.sh to .unitests
* Fix entries in MANIFEST.in file
* Mover version declaration to gfapi.py

TODO: Fix the spec file. That'll be sent as a separate change.

Change-Id: I0cba8964c1ecc337128c8edc9f301fc1d023bd28
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename .unittests.sh to .unitests
* Fix entries in MANIFEST.in file
* Mover version declaration to gfapi.py

TODO: Fix the spec file. That'll be sent as a separate change.

Change-Id: I0cba8964c1ecc337128c8edc9f301fc1d023bd28
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement copytree() and enhance walk(), rmtree()</title>
<updated>2016-08-03T05:42:46+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-06-17T14:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=37ce11939885ac812403edddbae24d80c603ee31'/>
<id>37ce11939885ac812403edddbae24d80c603ee31</id>
<content type='text'>
This change:
* Implements copytree() API which is very similar to the one provided
  by shutils built-in module in Python.
* Enhances walk() and rmtree() implementation to leverage scandir()
  optimization.

Change-Id: Iac5aef1a5c558fdeceac4e5128339141a3ebd4d1
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change:
* Implements copytree() API which is very similar to the one provided
  by shutils built-in module in Python.
* Enhances walk() and rmtree() implementation to leverage scandir()
  optimization.

Change-Id: Iac5aef1a5c558fdeceac4e5128339141a3ebd4d1
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose glfs_readdirplus_r</title>
<updated>2016-06-29T18:42:07+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-06-13T10:25:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=b46451d02d2660cdf46338b2e535467bf39e5164'/>
<id>b46451d02d2660cdf46338b2e535467bf39e5164</id>
<content type='text'>
This patch does the following:
* Implements Volume.listdir_with_stat() API which internally invokes
  glfs_readdirplus_r to return directory entries along with stat for
  each entry.
* Implements Volume.scandir() which is similar to os.scandir() present
  in Python 3.5
* Makes Dir class iterable.
* Enables Dir class to raise OSError when glfs_readdir* calls fail.
  Previously, these failures were silently being ignored and treated as
  a case of EOF.

Change-Id: Id918c39a7ef3882553e9bcd3fbf9455ee1c25a83
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch does the following:
* Implements Volume.listdir_with_stat() API which internally invokes
  glfs_readdirplus_r to return directory entries along with stat for
  each entry.
* Implements Volume.scandir() which is similar to os.scandir() present
  in Python 3.5
* Makes Dir class iterable.
* Enables Dir class to raise OSError when glfs_readdir* calls fail.
  Previously, these failures were silently being ignored and treated as
  a case of EOF.

Change-Id: Id918c39a7ef3882553e9bcd3fbf9455ee1c25a83
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix license discrepancies</title>
<updated>2016-06-17T09:39:56+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-06-17T09:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=835f87bb0dd3c068896f52bfef98a88b16fa13a5'/>
<id>835f87bb0dd3c068896f52bfef98a88b16fa13a5</id>
<content type='text'>
The repo had mixed references to both Apache BSD license and GPL
licenses. This change removes references to Apache license.

The license of this project is now same as that of GlusterFS.

Change-Id: I39b72f59d14af304729560dd1d59fe307cd1ac1d
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The repo had mixed references to both Apache BSD license and GPL
licenses. This change removes references to Apache license.

The license of this project is now same as that of GlusterFS.

Change-Id: I39b72f59d14af304729560dd1d59fe307cd1ac1d
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement shutil.copy* methods and os.link()</title>
<updated>2016-06-15T10:30:08+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-31T13:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=601884e6e861813e14f9064e2f135eb857d59b17'/>
<id>601884e6e861813e14f9064e2f135eb857d59b17</id>
<content type='text'>
Change-Id: I2de796e7d53732c5a967c6194a43378171fcb3d6
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2de796e7d53732c5a967c6194a43378171fcb3d6
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add validation decorators</title>
<updated>2016-06-15T09:32:18+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-30T09:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=b111d50347076336b3e655178d967f8e5c8c9913'/>
<id>b111d50347076336b3e655178d967f8e5c8c9913</id>
<content type='text'>
As glfs and glfd are pointers to memory locations, passing invalid
values of glfs and glfd to the libgfapi C library can result in
segfault. This patch introduces decorators that validate glfs
and glfd before calling correspoding C APIs.

Change-Id: I4e86bd8e436e23cd41f75f428d246939c820bb9c
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As glfs and glfd are pointers to memory locations, passing invalid
values of glfs and glfd to the libgfapi C library can result in
segfault. This patch introduces decorators that validate glfs
and glfd before calling correspoding C APIs.

Change-Id: I4e86bd8e436e23cd41f75f428d246939c820bb9c
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revamp and complete API documentation</title>
<updated>2016-06-09T11:03:13+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-06-09T09:49:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=f7f2dafb1e3d09017de6968a2a553d3e8b6c765c'/>
<id>f7f2dafb1e3d09017de6968a2a553d3e8b6c765c</id>
<content type='text'>
Created .rst files that sphinx can use to auto-generate entire
API documentation from doc strings present in code. This can be easily
rendered and hosted on ReadTheDocs website.

Change-Id: If1a569bdeaaba21919ac77ba8bd4967dfec22603
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Created .rst files that sphinx can use to auto-generate entire
API documentation from doc strings present in code. This can be easily
rendered and hosted on ReadTheDocs website.

Change-Id: If1a569bdeaaba21919ac77ba8bd4967dfec22603
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement os.utime() like API and zerofill</title>
<updated>2016-06-01T07:12:25+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-05-30T12:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=972c24f8b11d5a3e7e6fc341453d9733b2bb47b5'/>
<id>972c24f8b11d5a3e7e6fc341453d9733b2bb47b5</id>
<content type='text'>
This patch:
* Implements Volume.utime() which is very similar to os.utime() present
  in Python. https://docs.python.org/2/library/os.html#os.utime
* Implements File.zerofill() which exposes glfs_zerofill.
* Fixes function prototype of fallocate and discard. Adds functional
  tests for the same.

Change-Id: Icb8d3a571998c31d6bf9b139ca253af59f6fc3f4
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch:
* Implements Volume.utime() which is very similar to os.utime() present
  in Python. https://docs.python.org/2/library/os.html#os.utime
* Implements File.zerofill() which exposes glfs_zerofill.
* Fixes function prototype of fallocate and discard. Adds functional
  tests for the same.

Change-Id: Icb8d3a571998c31d6bf9b139ca253af59f6fc3f4
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Re-enable glfs_dup() tests"</title>
<updated>2016-03-18T10:42:48+00:00</updated>
<author>
<name>Humble Devassy Chirammal</name>
<email>humble.devassy@gmail.com</email>
</author>
<published>2016-03-18T10:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=123c2b7dc51d012f6d2924f680eeec748187a300'/>
<id>123c2b7dc51d012f6d2924f680eeec748187a300</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
