<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgfapi-python.git/test/unit/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>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>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>
<entry>
<title>Re-enable glfs_dup() tests</title>
<updated>2016-03-15T07:11:25+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-03-15T07:11:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=8aa845cb8ebc45c76e041e5dded42ec9eaf45424'/>
<id>8aa845cb8ebc45c76e041e5dded42ec9eaf45424</id>
<content type='text'>
Change-Id: I96b6f2a501d52d66694e67990d6b65d4eb920fa2
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: I96b6f2a501d52d66694e67990d6b65d4eb920fa2
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add readinto() API</title>
<updated>2016-02-24T05:46:57+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2015-06-23T14:34:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=14c16992b563a77330478bcc6fecdb54df4300b5'/>
<id>14c16992b563a77330478bcc6fecdb54df4300b5</id>
<content type='text'>
readinto()
This method is useful when you have to read a large file over multiple
read calls. While read() allocates a buffer every time it's invoked,
readinto() copies data to an already allocated buffer passed to it.

Change-Id: Ic8a3aa0e544e09e05101c983b329c91864832e4a
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
readinto()
This method is useful when you have to read a large file over multiple
read calls. While read() allocates a buffer every time it's invoked,
readinto() copies data to an already allocated buffer passed to it.

Change-Id: Ic8a3aa0e544e09e05101c983b329c91864832e4a
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable glfs_dup tests</title>
<updated>2016-02-23T13:49:32+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2016-02-23T13:36:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=6df97fd49fa9be6394bd066c6c64fd7c06959a77'/>
<id>6df97fd49fa9be6394bd066c6c64fd7c06959a77</id>
<content type='text'>
This change also fixes a mismatch in glfs_seek() function signature.

Change-Id: I3d336a2fbfec9ba921b253f6d97616485cadec98
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 also fixes a mismatch in glfs_seek() function signature.

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