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

bugzilla at redhat.com bugzilla at redhat.com
Sat May 9 08:03:45 UTC 2015


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

            Bug ID: 1220022
           Summary: package glupy as a subpackage under gluster namespace.
           Product: GlusterFS
           Version: 3.7.0
         Component: packaging
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: hchiramm at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1211900
            Blocks: 1219787



+++ This bug was initially created as a clone of Bug #1211900 +++

Description of problem:


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 __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/       

Version-Release number of selected component (if applicable):

GlusterFS 3.7

How reproducible:

N/A


Steps to Reproduce:

N/A

Actual results:

glupy is not a subpackage under gluster namespace.

Expected results:

glupy should be packaged as a subpackage under gluster namespace.

--- Additional comment from Anand Avati on 2015-04-15 04:05:46 EDT ---

REVIEW: http://review.gluster.org/10248 (glupy: package glupy as a subpackage
under gluster namespace) posted (#1) for review on master by Humble Devassy
Chirammal (humble.devassy at gmail.com)

--- Additional comment from Anand Avati on 2015-04-15 10:59:42 EDT ---

REVIEW: http://review.gluster.org/10248 (glupy: package glupy as a subpackage
under gluster namespace) posted (#2) for review on master by Humble Devassy
Chirammal (humble.devassy at gmail.com)

--- Additional comment from Anand Avati on 2015-04-28 15:23:38 EDT ---

REVIEW: http://review.gluster.org/10248 (glupy: package glupy as a subpackage
under gluster namespace) posted (#3) for review on master by Humble Devassy
Chirammal (humble.devassy at gmail.com)

--- Additional comment from Anand Avati on 2015-04-29 02:52:43 EDT ---

REVIEW: http://review.gluster.org/10248 (glupy: package glupy as a subpackage
under gluster namespace) posted (#4) for review on master by Humble Devassy
Chirammal (humble.devassy at gmail.com)

--- Additional comment from Anand Avati on 2015-05-04 06:15:23 EDT ---

COMMIT: http://review.gluster.org/10248 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit 40df2ed4d098d4cd2c6abbed23e497ac3e2e5804
Author: Humble Devassy Chirammal <hchiramm at redhat.com>
Date:   Wed Apr 15 13:30:34 2015 +0530

    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/

    Signed-off-by: Humble Devassy Chirammal <hchiramm at redhat.com>

    Change-Id: I54886200ddb6a4153a74d9e187aeca7cad79ef9e
    BUG: 1211900
    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>

--- Additional comment from Anand Avati on 2015-05-08 13:18:16 EDT ---

REVIEW: http://review.gluster.org/10689 (build: RPM build fails (make -C
extras/LinuxRPM glusterrpms)) posted (#1) for review on release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1211900
[Bug 1211900] package glupy as a subpackage under gluster namespace.
https://bugzilla.redhat.com/show_bug.cgi?id=1219787
[Bug 1219787] package glupy as a subpackage under gluster namespace.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list