<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgfapi-python.git/test, 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>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>Merge "Expose glfs_readdirplus_r"</title>
<updated>2016-07-06T01:23:07+00:00</updated>
<author>
<name>Thiago da Silva</name>
<email>thiago@redhat.com</email>
</author>
<published>2016-07-06T01:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=67088368e4d06609d22ca67fc5dd4cf507f3f273'/>
<id>67088368e4d06609d22ca67fc5dd4cf507f3f273</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix failing CentOS CI tests</title>
<updated>2016-07-01T17:41:16+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-07-01T17:31:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=dc83b6cdf65ebee8542603baba2d88aee1b28c08'/>
<id>dc83b6cdf65ebee8542603baba2d88aee1b28c08</id>
<content type='text'>
pep8 and functests were failing in CentOS CI as reported here:
http://comments.gmane.org/gmane.comp.file-systems.gluster.devel/15697

Functional tests were failing because test_copy2() was invoking copy()
method instead of copy2(). Further, tests were doing assertions on
atime which gets changed every time the file is read.

Change-Id: I692e9f44911c32c18b1f92c17b6b455ba2d196a1
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pep8 and functests were failing in CentOS CI as reported here:
http://comments.gmane.org/gmane.comp.file-systems.gluster.devel/15697

Functional tests were failing because test_copy2() was invoking copy()
method instead of copy2(). Further, tests were doing assertions on
atime which gets changed every time the file is read.

Change-Id: I692e9f44911c32c18b1f92c17b6b455ba2d196a1
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>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>
