[commits] Horde branch master updated. 10468cddca5650ef28120fd50610f8df4095ed64

Gunnar Wrobel p at rdus.de
Wed Oct 13 19:15:17 UTC 2010


The branch "master" has been updated.
The following is a summary of the commits.

from: bc0b45633e2cbfb7e41b191b790a0af508ad0fa5

ab9e291 Update TODO.
73bd460 Started refactoring the PearPackageXml handler. Refactored how PEAR element handlers are generated. Adapted testing.
313d7b0 Extract the PEAR specific parts of the package.xml update process into the Pear wrappers.
7e4375c Allow keeping "replace" tasks in the content section of the package.xml.
8366286 Added more testing for the package.xml update module. Fixed install location for scripts.
8dbaf75 Update package.xml.
4797edf Centralize creation of PEAR instances in the factory.
76eefcc Extract parts of the installer into the PEAR module.
4efe096 Extract the tree handling into a separate helper that should later also allow to get a quick overview on package dependencies.
10468cd Add a dependency list module.

-----------------------------------------------------------------------

commit ab9e291310e68a9fdc792d65b42d5277647708e5
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 09:15:33 2010 +0200

    Update TODO.

 components/TODO |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

http://git.horde.org/diff.php/components/TODO?rt=horde-git&r1=8989105beaf5feb7aa6732293c70f18552266b09&r2=ab9e291310e68a9fdc792d65b42d5277647708e5

-----------------------------------------------------------------------

commit 73bd4607f545d156457e50114cb9f743ce0a1547
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 09:16:42 2010 +0200

    Started refactoring the PearPackageXml handler. Refactored how PEAR element handlers are generated. Adapted testing.

 components/lib/Components/Dependencies.php                        |    7 +
 components/lib/Components/Dependencies/Injector.php               |   11 +
 components/lib/Components/Module/PearPackageXml.php               |  103 +---
 components/lib/Components/Pear/Factory.php                        |   81 +++
 components/lib/Components/Pear/InstallLocation.php                |   21 +-
 components/lib/Components/Pear/Package.php                        |   37 +-
 components/lib/Components/Runner/CiPrebuild.php                   |   77 +--
 components/lib/Components/Runner/CiSetup.php                      |   70 +-
 components/lib/Components/Runner/PearPackageXml.php               |  158 +++++
 .../test/Components/Integration/Components/Module/CiSetupTest.php |   39 +-
 components/test/Components/StoryTestCase.php                      |   33 +-
 11 files changed, 425 insertions(+), 212 deletions(-)
 create mode 100644 components/lib/Components/Pear/Factory.php
 create mode 100644 components/lib/Components/Runner/PearPackageXml.php

http://git.horde.org/diff.php/components/lib/Components/Dependencies.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Dependencies/Injector.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Module/PearPackageXml.php?rt=horde-git&r1=692c408b87307ea36080442b550e8b1c92180968&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/co.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Pear/InstallLocation.php?rt=horde-git&r1=8989105beaf5feb7aa6732293c70f18552266b09&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=34da0eaf3b912f71492f622139625516d0d758f7&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Runner/CiPrebuild.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/lib/Components/Runner/CiSetup.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/co.php/components/lib/Components/Runner/PearPackageXml.php?rt=horde-git&r=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/test/Components/Integration/Components/Module/CiSetupTest.php?rt=horde-git&r1=ffe864ea947b6ed55f6fb8158f29cbc66a200420&r2=73bd4607f545d156457e50114cb9f743ce0a1547
http://git.horde.org/diff.php/components/test/Components/StoryTestCase.php?rt=horde-git&r1=8989105beaf5feb7aa6732293c70f18552266b09&r2=73bd4607f545d156457e50114cb9f743ce0a1547

-----------------------------------------------------------------------

commit 313d7b0cd5941e77d90a15f4fd87ef3355332fea
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 10:06:05 2010 +0200

    Extract the PEAR specific parts of the package.xml update process into the Pear wrappers.

 components/lib/Components/Config/Cli.php                          |   10 +
 components/lib/Components/Module/CiSetup.php                      |    8 -
 components/lib/Components/Pear/Factory.php                        |   14 +
 components/lib/Components/Pear/Package.php                        |  156 ++++-
 components/lib/Components/Runner/PearPackageXml.php               |  110 +---
 .../Integration/Components/Module/PearPackageXmlTest.php          |  115 +++
 components/test/Components/Integration/ComponentsTest.php         |   77 --
 7 files changed, 308 insertions(+), 182 deletions(-)
 create mode 100644 components/test/Components/Integration/Components/Module/PearPackageXmlTest.php

http://git.horde.org/diff.php/components/lib/Components/Config/Cli.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/diff.php/components/lib/Components/Module/CiSetup.php?rt=horde-git&r1=0c14afa52986ce832538cb67da32a4cb75372e42&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/diff.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/diff.php/components/lib/Components/Runner/PearPackageXml.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/co.php/components/test/Components/Integration/Components/Module/PearPackageXmlTest.php?rt=horde-git&r=313d7b0cd5941e77d90a15f4fd87ef3355332fea
http://git.horde.org/diff.php/components/test/Components/Integration/ComponentsTest.php?rt=horde-git&r1=8989105beaf5feb7aa6732293c70f18552266b09&r2=313d7b0cd5941e77d90a15f4fd87ef3355332fea

-----------------------------------------------------------------------

commit 7e4375c68c63c8bcad31a8de4f53cf3b81c27a3d
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 20:32:30 2010 +0200

    Allow keeping "replace" tasks in the content section of the package.xml.
    
    Great, no more manual fixing after the update :)

 components/lib/Components/Pear/Package.php |   74 +++++++++++++++++++++++++++-
 components/package.xml                     |   64 ++++++++++++++++++++++--
 2 files changed, 131 insertions(+), 7 deletions(-)

http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=313d7b0cd5941e77d90a15f4fd87ef3355332fea&r2=7e4375c68c63c8bcad31a8de4f53cf3b81c27a3d
http://git.horde.org/diff.php/components/package.xml?rt=horde-git&r1=841949fdca04ccc86a29c7bf45068fcbf8ff01ce&r2=7e4375c68c63c8bcad31a8de4f53cf3b81c27a3d

-----------------------------------------------------------------------

commit 83662862d586f7ec2f54d68448bed52614e5ba50
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 22:15:42 2010 +0200

    Added more testing for the package.xml update module. Fixed install location for scripts.

 components/TODO                                                   |    2 -
 components/lib/Components/Pear/Package.php                        |   11 +-
 components/lib/Components/Runner/PearPackageXml.php               |    3 +-
 .../Integration/Components/Module/PearPackageXmlTest.php          |   35 ++++-
 components/test/Components/StoryTestCase.php                      |   43 ++++-
 components/test/Components/fixture/simple/js/test.js              |    1 +
 components/test/Components/fixture/simple/lib/Stays.php           |    1 +
 components/test/Components/fixture/simple/migration/test.sql      |    1 +
 components/test/Components/fixture/simple/package.xml             |    4 +
 components/test/Components/fixture/simple/script/other_script     |    2 +
 components/test/Components/fixture/simple/script/script.php       |    2 +
 components/test/Components/fixture/simple/script/shell_script.sh  |    1 +
 12 files changed, 97 insertions(+), 9 deletions(-)
 create mode 100644 components/test/Components/fixture/simple/js/test.js
 create mode 100644 components/test/Components/fixture/simple/lib/Stays.php
 create mode 100644 components/test/Components/fixture/simple/migration/test.sql
 create mode 100644 components/test/Components/fixture/simple/script/other_script
 create mode 100644 components/test/Components/fixture/simple/script/script.php
 create mode 100644 components/test/Components/fixture/simple/script/shell_script.sh

http://git.horde.org/diff.php/components/TODO?rt=horde-git&r1=ab9e291310e68a9fdc792d65b42d5277647708e5&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=7e4375c68c63c8bcad31a8de4f53cf3b81c27a3d&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/diff.php/components/lib/Components/Runner/PearPackageXml.php?rt=horde-git&r1=313d7b0cd5941e77d90a15f4fd87ef3355332fea&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/diff.php/components/test/Components/Integration/Components/Module/PearPackageXmlTest.php?rt=horde-git&r1=313d7b0cd5941e77d90a15f4fd87ef3355332fea&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/diff.php/components/test/Components/StoryTestCase.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/js/test.js?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/lib/Stays.php?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/migration/test.sql?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/diff.php/components/test/Components/fixture/simple/package.xml?rt=horde-git&r1=b93c8ad1b7d8916ee32b05b40389f24b52dad715&r2=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/script/other_script?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/script/script.php?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50
http://git.horde.org/co.php/components/test/Components/fixture/simple/script/shell_script.sh?rt=horde-git&r=83662862d586f7ec2f54d68448bed52614e5ba50

-----------------------------------------------------------------------

commit 8dbaf7542fd2eef8b8560d1504b3dde7c985257a
Author: Gunnar Wrobel <p at rdus.de>
Date:   Tue Oct 12 22:18:22 2010 +0200

    Update package.xml.

 components/package.xml |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

http://git.horde.org/diff.php/components/package.xml?rt=horde-git&r1=7e4375c68c63c8bcad31a8de4f53cf3b81c27a3d&r2=8dbaf7542fd2eef8b8560d1504b3dde7c985257a

-----------------------------------------------------------------------

commit 4797edf35bcd8c4d337966819500a1a9ac113670
Author: Gunnar Wrobel <p at rdus.de>
Date:   Wed Oct 13 09:02:54 2010 +0200

    Centralize creation of PEAR instances in the factory.

 components/lib/Components/Pear/Factory.php         |   75 ++++++++++++++++++++
 components/lib/Components/Pear/InstallLocation.php |   19 +++++
 components/lib/Components/Pear/Package.php         |   73 ++++++++------------
 components/lib/Components/Runner/Installer.php     |   49 ++++++-------
 4 files changed, 145 insertions(+), 71 deletions(-)

http://git.horde.org/diff.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r1=313d7b0cd5941e77d90a15f4fd87ef3355332fea&r2=4797edf35bcd8c4d337966819500a1a9ac113670
http://git.horde.org/diff.php/components/lib/Components/Pear/InstallLocation.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=4797edf35bcd8c4d337966819500a1a9ac113670
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=83662862d586f7ec2f54d68448bed52614e5ba50&r2=4797edf35bcd8c4d337966819500a1a9ac113670
http://git.horde.org/diff.php/components/lib/Components/Runner/Installer.php?rt=horde-git&r1=6c717f2ad9fb236e9c064868a29cd0b6805109a2&r2=4797edf35bcd8c4d337966819500a1a9ac113670

-----------------------------------------------------------------------

commit 76eefccc3f4871d1c15d827230045a7c7d6be070
Author: Gunnar Wrobel <p at rdus.de>
Date:   Wed Oct 13 10:47:44 2010 +0200

    Extract parts of the installer into the PEAR module.

 components/lib/Components/Pear/Factory.php         |   25 +++++++++-
 components/lib/Components/Pear/InstallLocation.php |   14 ++++++
 components/lib/Components/Pear/Package.php         |   50 ++++++++++++++++++++
 components/lib/Components/Runner/Installer.php     |   43 +++++++----------
 4 files changed, 104 insertions(+), 28 deletions(-)

http://git.horde.org/diff.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r1=4797edf35bcd8c4d337966819500a1a9ac113670&r2=76eefccc3f4871d1c15d827230045a7c7d6be070
http://git.horde.org/diff.php/components/lib/Components/Pear/InstallLocation.php?rt=horde-git&r1=4797edf35bcd8c4d337966819500a1a9ac113670&r2=76eefccc3f4871d1c15d827230045a7c7d6be070
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=4797edf35bcd8c4d337966819500a1a9ac113670&r2=76eefccc3f4871d1c15d827230045a7c7d6be070
http://git.horde.org/diff.php/components/lib/Components/Runner/Installer.php?rt=horde-git&r1=4797edf35bcd8c4d337966819500a1a9ac113670&r2=76eefccc3f4871d1c15d827230045a7c7d6be070

-----------------------------------------------------------------------

commit 4efe096dee67b13b1e316e8784242ed0482cb6b9
Author: Gunnar Wrobel <p at rdus.de>
Date:   Wed Oct 13 16:11:22 2010 +0200

    Extract the tree handling into a separate helper that should later also allow to get a quick overview on package dependencies.

 components/lib/Components/Helper/InstallationRun.php |  122 ++++++++++++++++
 components/lib/Components/Helper/Tree.php            |  131 ++++++++++++++++++
 components/lib/Components/Helper/Tree/Element.php    |   94 +++++++++++++
 components/lib/Components/Module/Installer.php       |    2 +-
 components/lib/Components/Pear/Factory.php           |   20 +++
 components/lib/Components/Runner/Installer.php       |   78 ++---------
 components/test/Components/StoryTestCase.php         |    2 +-
 7 files changed, 381 insertions(+), 68 deletions(-)
 create mode 100644 components/lib/Components/Helper/InstallationRun.php
 create mode 100644 components/lib/Components/Helper/Tree.php
 create mode 100644 components/lib/Components/Helper/Tree/Element.php

http://git.horde.org/co.php/components/lib/Components/Helper/InstallationRun.php?rt=horde-git&r=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/co.php/components/lib/Components/Helper/Tree.php?rt=horde-git&r=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/co.php/components/lib/Components/Helper/Tree/Element.php?rt=horde-git&r=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/diff.php/components/lib/Components/Module/Installer.php?rt=horde-git&r1=6c717f2ad9fb236e9c064868a29cd0b6805109a2&r2=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/diff.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r1=76eefccc3f4871d1c15d827230045a7c7d6be070&r2=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/diff.php/components/lib/Components/Runner/Installer.php?rt=horde-git&r1=76eefccc3f4871d1c15d827230045a7c7d6be070&r2=4efe096dee67b13b1e316e8784242ed0482cb6b9
http://git.horde.org/diff.php/components/test/Components/StoryTestCase.php?rt=horde-git&r1=83662862d586f7ec2f54d68448bed52614e5ba50&r2=4efe096dee67b13b1e316e8784242ed0482cb6b9

-----------------------------------------------------------------------

commit 10468cddca5650ef28120fd50610f8df4095ed64
Author: Gunnar Wrobel <p at rdus.de>
Date:   Wed Oct 13 21:02:52 2010 +0200

    Add a dependency list module.

 components/TODO                                                   |    2 -
 components/lib/Components/Dependencies/Injector.php               |   10 +
 components/lib/Components/Helper/ListRun.php                      |  199 +++++
 components/lib/Components/Helper/Tree.php                         |   42 +-
 components/lib/Components/Helper/Tree/Element.php                 |   39 +
 components/lib/Components/Module/Dependencies.php                 |   85 ++
 components/lib/Components/Output.php                              |   46 +
 components/lib/Components/Pear/Factory.php                        |   18 +
 components/lib/Components/Pear/Package.php                        |   10 +
 components/lib/Components/Runner/Dependencies.php                 |   81 ++
 components/lib/Components/Runner/Installer.php                    |    2 -
 components/package.xml                                            |    4 +
 .../Components/Integration/Components/Module/DependenciesTest.php |   80 ++
 .../Components/Integration/Components/Module/InstallerTest.php    |    2 +-
 components/test/Components/StoryTestCase.php                      |   44 +-
 15 files changed, 643 insertions(+), 21 deletions(-)
 create mode 100644 components/lib/Components/Helper/ListRun.php
 create mode 100644 components/lib/Components/Module/Dependencies.php
 create mode 100644 components/lib/Components/Runner/Dependencies.php
 create mode 100644 components/test/Components/Integration/Components/Module/DependenciesTest.php

http://git.horde.org/diff.php/components/TODO?rt=horde-git&r1=83662862d586f7ec2f54d68448bed52614e5ba50&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Dependencies/Injector.php?rt=horde-git&r1=73bd4607f545d156457e50114cb9f743ce0a1547&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/co.php/components/lib/Components/Helper/ListRun.php?rt=horde-git&r=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Helper/Tree.php?rt=horde-git&r1=4efe096dee67b13b1e316e8784242ed0482cb6b9&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Helper/Tree/Element.php?rt=horde-git&r1=4efe096dee67b13b1e316e8784242ed0482cb6b9&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/co.php/components/lib/Components/Module/Dependencies.php?rt=horde-git&r=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Output.php?rt=horde-git&r1=3774910690970b1db4e17a667e559775bfb4a2fd&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Pear/Factory.php?rt=horde-git&r1=4efe096dee67b13b1e316e8784242ed0482cb6b9&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Pear/Package.php?rt=horde-git&r1=76eefccc3f4871d1c15d827230045a7c7d6be070&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/co.php/components/lib/Components/Runner/Dependencies.php?rt=horde-git&r=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/lib/Components/Runner/Installer.php?rt=horde-git&r1=4efe096dee67b13b1e316e8784242ed0482cb6b9&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/package.xml?rt=horde-git&r1=8dbaf7542fd2eef8b8560d1504b3dde7c985257a&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/co.php/components/test/Components/Integration/Components/Module/DependenciesTest.php?rt=horde-git&r=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/test/Components/Integration/Components/Module/InstallerTest.php?rt=horde-git&r1=8989105beaf5feb7aa6732293c70f18552266b09&r2=10468cddca5650ef28120fd50610f8df4095ed64
http://git.horde.org/diff.php/components/test/Components/StoryTestCase.php?rt=horde-git&r1=4efe096dee67b13b1e316e8784242ed0482cb6b9&r2=10468cddca5650ef28120fd50610f8df4095ed64




More information about the commits mailing list