[dev] Re: Moving towards packages and Horde 3

Jan Schneider jan at horde.org
Sun Sep 21 04:43:38 PDT 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
> > HORDE_LIBS will be used to include all Horde packages. By default, it
> will be
> > empty (''), meaning to search the include path. To accomodate this,
> inclusion
> > of libs will now look like this: require_once HORDE_LIBS
> 'Horde/Help.php'; See
> > the new core.php file and skeleton/lib/base.php for examples of how
> this will
> > work/look.
>
> > - Most of the content of horde/libs (except for core.php, version.php,
> > base.php, and api.php, possibly a few more) will be moved (cvs repo
> copied)
> > into a new module called 'framework'.
>
> To accomodate the above steps, I'd like to propose an interim stage that
> will
> allow us to move to using HORDE_LIBS without requiring package installs
> of
> everything just yet (we should get tools set up to generate nightly
> package
> builds, do installs/automatic upgrades, etc):
>
> move (cvs repository copy, then delete the old versions) everything in
> horde/lib/ to horde/lib/Horde/, so that the paths will match up. This

Why not moving them to framework/Horde_*/ in the same step? Assumed we fix
the problem described below.

> would
> leave out the VFS and XML_SVG packages, which are part of PEAR now and so
> won't
> be in the Horde/ namespace, and also api.php, base.php, core.php, and
> version.php.

While I think it's good idea to move to the PEAR CVS layout for the
framework packages, we now suffer from the same problem that exists when
developing PEAR packages: the paths of the development tree don't match the
paths of the install tree.

We have SVG.php in framework/XML_SVG/ while we expect it to be in HORDE_LIBS
. 'XML/SVG.php'. Thus we can't develop in the framework module while seeing
live changes but instead have to develop in the install location and then
copy the changes over to the framework module to commit it.

Or am I missing an obvious solution?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list