6.0.0-RC7
6/18/26
  • Error
    Ticket 7559 was not found.

[#12923] Cli for editing conf.php
Summary Cli for editing conf.php
Queue Horde Base
Queue Version Git master
Type Enhancement
State Rejected
Priority 1. Low
Owners rlang (at)
Requester rlang (at)
Created 1/18/14 (4534 days ago)
Due 1/30/14 (4522 days ago)
Updated 3/18/18 (3014 days ago)
Assigned 1/18/14 (4534 days ago)
Resolved 3/18/18 (3014 days ago)
Milestone
Patch No

History
5111 rlang Comment #4
State ⇒ Rejected
Reply to this comment
Build an API and an RPC/REST interface. Optionally build a phar client 
for that API.
4811 Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit d6ed233fa7d87e9858c8424a3d3923a1ac1afcf3
Author: Jan Schneider <jan@horde.org>
Date:   Tue Feb 11 12:13:36 2014 +0100

     Revert "Implement modular cli and a config editing module 
(Request #12923)."

     This reverts commit a90e4c02a538981f772a45205c991d466f9d472a.

     Conflicts:
             framework/Core/package.xml
             horde/bin/horde-cli
             horde/docs/CHANGES
             horde/lib/AdminCli.php
             horde/lib/AdminCli/Module/Base.php
             horde/lib/AdminCli/Module/Config.php
             horde/package.xml

  framework/Core/lib/Horde/Config.php  |   29 +-----
  framework/Core/package.xml           |    2 -
  horde/bin/horde-cli                  |   29 -----
  horde/docs/CHANGES                   |    1 -
  horde/lib/AdminCli.php               |   77 ------------
  horde/lib/AdminCli/Module/Base.php   |   94 --------------
  horde/lib/AdminCli/Module/Config.php |  221 
----------------------------------
  horde/package.xml                    |  221 
+---------------------------------
  8 files changed, 2 insertions(+), 672 deletions(-)

http://git.horde.org/horde-git/-/commit/d6ed233fa7d87e9858c8424a3d3923a1ac1afcf3
497 Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit a90e4c02a538981f772a45205c991d466f9d472a
Author: Ralf Lang <lang@b1-systems.de>
Date:   Thu Jan 23 21:44:46 2014 +0200

     Implement modular cli and a config editing module (Request #12923).

  framework/Core/lib/Horde/Config.php  |   29 +++++-
  framework/Core/package.xml           |    2 +
  horde/bin/horde-cli                  |   29 +++++
  horde/docs/CHANGES                   |    1 +
  horde/lib/AdminCli.php               |   77 ++++++++++++
  horde/lib/AdminCli/Module/Base.php   |   94 ++++++++++++++
  horde/lib/AdminCli/Module/Config.php |  221 
++++++++++++++++++++++++++++++++++
  horde/package.xml                    |  221 
+++++++++++++++++++++++++++++++++-
  8 files changed, 672 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/a90e4c02a538981f772a45205c991d466f9d472a
438 rlang Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to rlang
Queue ⇒ Horde Base
Due ⇒ 1/30/14
Summary ⇒ Cli for editing conf.php
Type ⇒ Enhancement
State ⇒ Assigned
Reply to this comment
Description:
Provide a cli for editing conf.php on horde apps.
Provide an equivalent --init for the "generate config" button which 
uses defaults from conf.xml when there is no conf.php value yet.
Only allow setting values which exist in the app's conf.xml
Use Cli_Modular to expand it later for prefs and perms 
editing/importing/exporting/backend migration

Purpose:
This is mainly for puppet provisioning/maint. of horde installations 
as there is no augeas lense for php. It could be used for any kind of 
automated setup/change management.

Status:
I'm already working on a prototype and I want to include it into the 
horde base module where the admin stuff lives. I'll commit what I have 
once it works as desired. Please evaluate if this requires a 
minor/feature release or if it can be added in a patch release. No 
existing files or functionality will be touched.

Saved Queries