[commits] [Wiki] changed: Doc/Dev/GitTools

Ralf Lang (B1 Systems GmbH) lang at b1-systems.de
Thu Nov 28 19:07:32 UTC 2019


rlang  Thu, 28 Nov 2019 19:07:32 +0000

Modified page: https://wiki.horde.org/Doc/Dev/GitTools
New Revision:  3
Change log:  Add some code examples

@@ -12,18 +12,64 @@
  If you are rather looking for a simple setup, try PEAR or composer.

  ++ Creating a Developer Checkout
  +++ Getting and installing the git helper
-+++ Creating a runnable Horde git master installation
+
+<code>
+mkdir /srv/git/git-tools
+git clone https://github.com/horde/git-tools.git
+cd git-tools
+composer install
+cd config
+cp conf.php.dist conf.php
+</code>
+Edit the config file before creating a developer checkout.
+
++++ Creating a runnable Horde git master installation
+
+<code>
+## check out repos outside webroot
+/srv/git/horde/git-tools/bin/horde-git-tools git clone
+## build a webroot tree
+/srv/git/horde/git-tools/bin/horde-git-tools dev install
+</code>

  ++ Creating an own module
-
+
+<code>
+/srv/git/horde/git-tools/bin/horde-git-tools dev new --author "John  
Doe <doe at doe.org>" --app-name "doesmatter"
+<code>
+
+Creates a new app from skeleton.
+
  ++ Working with a developer checkout
  +++ Refresh your checkout
+
+<code>
+/srv/git/horde/git-tools/bin/horde-git-tools git pull
+</code>
+
+Perform a git pull --rebase on all checkouts.
+
  +++ Change your complete checkout to a certain framework version
+
+<code>
+/srv/git/horde/git-tools/bin/horde-git-tools checkout BRANCH_NAME
+</code>
+
  +++ How To Maintain Versions
  +++ How to run unit tests

+Run only unit tests
+<code>
+/srv/git/horde/git-tools/bin/horde-git-tools components  
/path/to/component qc unit
+</code>
+
+Or run the whole quality check suite
+
+<code>
+/srv/git/horde/git-tools/bin/horde-git-tools components  
/path/to/component qc unit
+</code>

  ++ ready made installations
  +++ Docker
  +++ Vagrant



More information about the commits mailing list