Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit 6d25a349232e23b2adf0939cfbe048178262059f
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Thu Aug 23 18:11:31 2012 +0200
luci/MAINTAINERS.rst: slightly adjust formatting
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/MAINTAINERS.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index 8ef2206..e2d74b9 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -9,18 +9,18 @@ Brief intro into debugging
This does not cover all possible scenarios, but is pretty generetic.
1. install luci RPM
-2. run this to generate SSL key, etc.
+2. run this to generate SSL key, etc.::
# service luci start && service luci stop
3. start stunnel to switch to HTTPS communication as usual
- (note that, e.g., some cookies require secured communication)
+ (note that, e.g., some cookies require secured communication)::
# cat /var/lib/luci/etc/stunnel.conf | stunnel -fd 0
-4. finally, start the zope session
+4. finally, start the zope session::
# LDIR=$(rpm --eval '%_libdir')
# export Z_DEBUG_MODE=1 PYTHONPATH=${LDIR}/luci/zope/lib/python
# export INSTANCE_HOME=/var/lib/luci SOFTWARE_HOME=${LDIR}/luci/zope/lib/python
# /usr/bin/python ${LDIR}/luci/zope/lib/python/Zope2/Startup/zopectl.py \
-C /var/lib/luci/etc/zope.conf
-5. enjoy the zope terminal interface, most probably you want "fg"
+5. enjoy the zope terminal interface, most probably you want `fg`::
program: /var/lib/luci/bin/runzope
daemon manager not running
zopectl> fg
@@ -28,7 +28,7 @@ This does not cover all possible scenarios, but is pretty generetic.
directly into the terminal; escape with Ctrl-C as usual
Before step 4., you may want place debugger-activating "denotators"
-into respective code; for instance:
+into respective code; for instance::
import pdb; pdb.set_trace()
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit a1a79331b1d0564391516a7da365021f784cdb7d
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Thu Aug 23 18:10:51 2012 +0200
luci/MAINTAINERS.rst: update How to enable and access ZMI
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/MAINTAINERS.rst | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index 5b88777..8ef2206 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -39,15 +39,28 @@ such points in the code.
How to enable and access ZMI
============================
-1. stop luci if running; if it has never run so far, use
- `service luci start && service luci stop` to get SSL key etc. right
- (perhaps mind also `luci_admin init` command)
-2. run `utils/luci_manage enable`
-3. start luci
+`luci_manage` and `luci_cleanup` scripts can be found in `luci/utils` location
+within the repo, or in case of a separate luci installation, they can be
+obtained by::
+
+ $ GIT_RAW="http://git.fedorahosted.org/cgit/conga-luci-1stgen.git/plain"
+ $ wget ${GIT_RAW}/luci/utils/luci_{manage,cleanup}?h=RHEL5-active
+ $ for i in *RHEL5-active; do mv $i $(echo $i | sed s/\?h\=RHEL5-active//); done
+ $ chmod +x luci_{manage,cleanup}
+
+1. stop luci if running; if it has never run so far, use::
+ # service luci start && service luci stop`
+ to get SSL key etc. right (perhaps mind also `luci_admin init` command)
+2. run::
+ # ./luci_manage enable
+3. start luci::
+ # service luci start
4. access https://lucihost:8084/luci/manage
5. log in as admin (with previously set password, see luci_admin utility)
6. do what is needed
-7. run `utils/luci_manage` (with no argument this time)
+7. run::
+ # ./luci_manage && ./luci_cleanup
+ (`luci_manage` with no argument this time)
Note: the order of running `luci_admin init` and `luci_manage enable`
is arbitrary.
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit 969661ae9e7908900ed5f3f01a7966793dce21be
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Wed Aug 22 17:54:02 2012 +0200
luci/MAINTAINERS.rst: update How to enable and access ZMI
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/MAINTAINERS.rst | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index 2448f04..5b88777 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -49,6 +49,9 @@ How to enable and access ZMI
6. do what is needed
7. run `utils/luci_manage` (with no argument this time)
+Note: the order of running `luci_admin init` and `luci_manage enable`
+ is arbitrary.
+
How to transfer files between Data.fs internal hierarchy and common file system
===============================================================================
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit ae8a6e6d26cda0b3a9bbc158048e974f1839ef97
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Wed Aug 22 17:44:14 2012 +0200
luci/MAINTAINERS.rst: update How to enable and access ZMI
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/MAINTAINERS.rst | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index fec2019..2448f04 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -39,12 +39,15 @@ such points in the code.
How to enable and access ZMI
============================
-1. stop luci if running
+1. stop luci if running; if it has never run so far, use
+ `service luci start && service luci stop` to get SSL key etc. right
+ (perhaps mind also `luci_admin init` command)
2. run `utils/luci_manage enable`
-3. access https://lucihost:8084/luci/manage
-4. log in as admin (with previously set password, see luci_admin utility)
-5. do what is needed
-6. run `utils/luci_manage` (with no argument this time)
+3. start luci
+4. access https://lucihost:8084/luci/manage
+5. log in as admin (with previously set password, see luci_admin utility)
+6. do what is needed
+7. run `utils/luci_manage` (with no argument this time)
How to transfer files between Data.fs internal hierarchy and common file system