| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <ppai@redhat.com>
|
|
|
|
|
| |
Change-Id: Ib89be30f76b5a54addf8a60fee951d3a108bd014
Signed-off-by: Prashanth Pai <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Commas were missing and during upload to pypi, it used to fail with:
Server response (400): Invalid classifier
Change-Id: Id3123bb0cc1705fc5f282c7da07b553fa1971455
Signed-off-by: Prashanth Pai <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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 <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <hchiramm@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
| |
* Changed package to be covered from gluster to glusterfs.
* Also, added script to run unit tests without tox.
* Updated setup.py to be more specific.
Change-Id: I148f522153b75f066753a807719e38699d48b1fd
Signed-off-by: Prashanth Pai <ppai@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
making this change to avoid package conflicts with
gluster-swift and glusterfs-api rpm. Eventually we will remove
the python code from glusterfs-api rpm and create a new rpm package
from libgfapi-python.
Change-Id: I1b20cd747e500aed17fba89f96e62423325b5230
Signed-off-by: Thiago da Silva <thiago@redhat.com>
|
|
This initial commit is a copy from
gluster/api/examples/gfapi.py from the glusterfs repo
Signed-off-by: Thiago da Silva <thiago@redhat.com>
Change-Id: I4442528d5bc2ec52ed2970b818d8cb9327e36168
|