I think this is a good idea. The only thing is that the proposed directory structure seems a bit over-complicated. To actually make a change, fix a bug, or add a new feature, it is necessary to alter code in several different modules because of the complex links across different python modules. From the point of view of navigating this to access different modules, perhaps the number of subdirectories could be reduced somewhat to make this easier.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Nov 11, 2011, at 3:21 AM, <grass-dev-request@lists.osgeo.org> wrote:
Date: Wed, 9 Nov 2011 19:19:21 +0100
From: S?ren Gebbert <soerengebbert@googlemail.com>
Subject: Re: [GRASS-dev] wxGUI: new packages layout
To: Martin Landa <landa.martin@gmail.com>
Cc: GRASS developers list <grass-dev@lists.osgeo.org>
Message-ID:
<CAPHDReKK3t1SZOjOtZVuRuejwB8G1atVHdEU92FnT5DxEk5iiw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8Hi Martin,
this is a great idea!+1 from me
Best regards
Soeren2011/11/9 Martin Landa <landa.martin@gmail.com>:
Hi all,
currently all wxGUI modules are located within one package called
`gui_modules`. This was more or less sufficient in the early stage of
wxGUI development. As wxGUI code base was growing new modules has been
added. Some wxGUI components (eg. vdigit) are based on more modules
(vdigit.py, mapdip_vdigit.py, etc.).As wxGUI code base is still growing and the new components are being
introduced (psmap, and now real i.class replacement) this structure is
becoming highly unsuitable and almost possible to manage.At this stage I would like to propose more structured layout based on
several packages (core, gui_core, forms, lmgr or mapdisp) and non-core
sub-packages in `modules` package.See
?? ?? ?? wxGUIDevelopment – GRASS GIS
Please feel free to comment this proposal, better sooner than later. I
would like to start moving to the new package layout during next week
(in trunk). Later after some testing to introduce changes to `devbr6`
otherwise backporting bug-fixes will become almost impossible
(nightmare for wxGUI developers).Thanks for any comments! Martin