[Bugs] [Bug 1220022] package glupy as a subpackage under gluster namespace.

bugzilla at redhat.com bugzilla at redhat.com
Sat May 9 13:37:17 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1220022



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10706 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 972458a74780923e7e867b9362dda1830eeefe5e
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sat May 9 10:28:12 2015 +0200

    glupy: package glupy as a subpackage under gluster namespace

    Currently glupy files resides in gluster namespace of python site packages.
    The other projects like libgfapi-python ..etc are evolving and need to
share
    the gluster namespace. The current structure makes things difficult as all
    subpackages have its own __init__ files and other files.
    One subpackage can not any more own gluster namespace.

    The attempt is to make below structure for gluster namespace so that
    it is more portable and scalable for future use.

      <sitepackages>/gluster/
                             |
                             -- __init__.py
                             |
                             |
                             -- glupy
                                     |
                                     -- __init__.py
                                     -- glupy.py
                                     -- ........
                             |
                             |
                             -- gfapi
                                     |
                                      -- __init__.py
                                      -- gfapi.py
                                      -- ........

    By above structure clients can import:

     >>> from gluster import glupy
     >>> from gluster import gfapi

    libgfapi-python project has been moved to this structure via

    http://review.gluster.org/#/c/9668/

    Cherry picked from commit 40df2ed4d098d4cd2c6abbed23e497ac3e2e5804:
    > Change-Id: I54886200ddb6a4153a74d9e187aeca7cad79ef9e
    > BUG: 1211900
    > Signed-off-by: Humble Devassy Chirammal <hchiramm at redhat.com>
    > Reviewed-on: http://review.gluster.org/10248
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>

    This backport is really minimal, because commit 44036808 removed the
    need for the changes in the glusterfs.spec.in file.

    Change-Id: I54886200ddb6a4153a74d9e187aeca7cad79ef9e
    BUG: 1220022
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/10706
    Reviewed-by: Humble Devassy Chirammal <humble.devassy at gmail.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=gS4ie4z83J&a=cc_unsubscribe


More information about the Bugs mailing list