[cvs] [Wiki] changed: ReleaseManagement
Michael Slusarz
slusarz at horde.org
Wed Dec 23 02:39:33 UTC 2009
slusarz Tue, 22 Dec 2009 21:39:33 -0500
Modified page: http://wiki.horde.org/ReleaseManagement
New Revision: 2.34
Change log: Move Horde 4 mini-faq into here.
@@ -77,9 +77,54 @@
+++ Mini-FAQ for Horde 4 development
-Please see ((Doc/Dev|Horde Developer Documentation)) for more
information on developing with Horde 4.
+**Q:** Are we going to keep the existing development model where we
have a "master" server (i.e. cvs.horde.org) where we will build the
releases? For our workflow, that seems to make the most sense - since
we don't have a "master" user that checks all commits before
integrating.
+
+**A:** Yes. All HEAD commits are pushed to
dev.horde.org:/horde/git/horde (or horde-hatchery, etc.), and we'll
use branches to do local dev or to coordinate non-mainline work.
+
+**Q:** How do I start from scratch with a git/cvs head install
+
+**A:** Note that if this is the first time you've dealt with our
framework libraries, you will need to discover our PEAR server before
proceeding with the steps below:
+<code>
+pear channel-discover pear.horde.org
+</code>
+
+<code>
+git clone --depth 1 git://dev.horde.org/horde/git/horde horde-git
+git clone --depth 1 git://dev.horde.org/horde/git/horde-hatchery
+cd horde-git/horde
+mkdir libs
+echo "<?php ini_set('include_path', dirname(__FILE__) . '/../libs' .
PATH_SEPARATOR . ini_get('include_path'));" > lib/core.local.php
+horde-fw-symlinks.php --src ../framework
+horde-fw-symlinks.php --src ../../horde-hatchery/framework
+</code>
+
+Then continue with the installation steps in docs/INSTALL. Set the
paths to the various Horde applications via the 'fileroot' and
'webroot' parameters in config/registry.php. If these directories do
not live directly under git, you must create a config/horde.local.php
file in this application and define HORDE_BASE in that file like this:
+
+<code>
+<?php
+define('HORDE_BASE', '[Full filesystem path to horde]');
+</code>
+
+After some time has passed you will want to update your working copy
from the Horde servers. These commands will do that. The commands are
to be executed from the base of the Horde installation (in the above
setup, horde-git/horde):
+
+<code>
+git pull --rebase
+git --git-dir=../../horde-hatchery/.git
--work-tree=../../horde-hatchery/ pull --rebase
+</code>
+
+Now we have to refresh the Framework library symlinks:
+
+<code>
+rm -rf libs/*
+php ../framework/devtools/horde-fw-symlinks.php
+php ../framework/devtools/horde-fw-symlinks.php --src
../../horde-hatchery/framework
+</code>
+
+**Q:** Why does the sidebar not collapse/Why can't I switch tabs on
the config screen/Why do certain links not work?
+
+**A:** Make sure your 'jsfs' and 'jsuri' entries in
horde/config/registry.php are correct. They are actually no needed
anymore at all, unless you really know what you are doing.
Applications no longer come shipped with javascript source files in
js/src - they all live directly under js/ now.
+++ Conversion from Horde 3
More information about the cvs
mailing list