<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgfapi-python.git/test/unit, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/'/>
<entry>
<title>Support setting multiple hosts (volfile servers)</title>
<updated>2018-07-31T09:56:18+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2018-07-31T09:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=1266c51e57b32fd979a61ebfc73f93964223822f'/>
<id>1266c51e57b32fd979a61ebfc73f93964223822f</id>
<content type='text'>
Fixes
https://github.com/gluster/libgfapi-python/issues/20

Change-Id: If12dfb3166d37071f8996c4d043950aeb27d0ae7
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes
https://github.com/gluster/libgfapi-python/issues/20

Change-Id: If12dfb3166d37071f8996c4d043950aeb27d0ae7
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support mknod API</title>
<updated>2018-07-27T17:53:14+00:00</updated>
<author>
<name>Michael Hanselmann</name>
<email>public@hansmi.ch</email>
</author>
<published>2018-07-27T15:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=4991e72186e64152ea32286a8e2e73ebf651f30f'/>
<id>4991e72186e64152ea32286a8e2e73ebf651f30f</id>
<content type='text'>
Gluster supports the mknod(2) API to create special files such as
character and block devices. Add it to the "gfapi.Volume" class.

Change-Id: Ie62245441997111b0cf6e44b2a14a1ad7b6d7d56
Signed-off-by: Michael Hanselmann &lt;public@hansmi.ch&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gluster supports the mknod(2) API to create special files such as
character and block devices. Add it to the "gfapi.Volume" class.

Change-Id: Ie62245441997111b0cf6e44b2a14a1ad7b6d7d56
Signed-off-by: Michael Hanselmann &lt;public@hansmi.ch&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port to Python 3.x</title>
<updated>2018-06-12T05:59:09+00:00</updated>
<author>
<name>Adam Cecile</name>
<email>adam.cecile@hitec.lu</email>
</author>
<published>2018-04-19T20:11:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=d5e4a0362a08ca3c0e7a33ea8caafccb22b906b2'/>
<id>d5e4a0362a08ca3c0e7a33ea8caafccb22b906b2</id>
<content type='text'>
Based on PR sent by Adam Cécile (eLvErDe on GitHub):
https://github.com/gluster/libgfapi-python/pull/21

Additional changes to original PR:
* Make it pep8 compliant
* Fix comment in getcwd()
* Add functest36 env to tox.ini

Change-Id: I45c4056333c12a82814cf8adcfa87e6687365366
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on PR sent by Adam Cécile (eLvErDe on GitHub):
https://github.com/gluster/libgfapi-python/pull/21

Additional changes to original PR:
* Make it pep8 compliant
* Fix comment in getcwd()
* Add functest36 env to tox.ini

Change-Id: I45c4056333c12a82814cf8adcfa87e6687365366
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable logging by default</title>
<updated>2018-03-28T12:09:15+00:00</updated>
<author>
<name>Alpha</name>
<email>alpha@pokesplash.net</email>
</author>
<published>2015-08-31T05:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/libgfapi-python.git/commit/?id=4fe135300dbb7b7c9f3f0d0676ea76149414fb6b'/>
<id>4fe135300dbb7b7c9f3f0d0676ea76149414fb6b</id>
<content type='text'>
Superusers should not be required to use this API with default settings.
Provide a disable_logging method of Volume. Ensure that set_logging
gets called with new values.

Change-Id: Ia27a682c96d6ca28f85d43f9d8483f08d1dc6367
Signed-off-by: Alpha &lt;alpha@pokesplash.net&gt;
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Superusers should not be required to use this API with default settings.
Provide a disable_logging method of Volume. Ensure that set_logging
gets called with new values.

Change-Id: Ia27a682c96d6ca28f85d43f9d8483f08d1dc6367
Signed-off-by: Alpha &lt;alpha@pokesplash.net&gt;
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<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>
</feed>
