[conga-luci-1stgen] RHEL5-active: conga: Install man pages with mode 644 (cf2a772)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit cf2a772eb0a5da3d7a345810523a90573536653f
Author: Ryan McCabe <rmccabe(a)redhat.com>
Date: Mon Apr 15 10:30:19 2013 -0400
conga: Install man pages with mode 644
Previously no -m flag was passed to the 'install' command, so
manual pages were being installed mode 755.
Resolves: rhbz#883804
Signed-off-by: Ryan McCabe <rmccabe(a)redhat.com>
>---------------------------------------------------------------
luci/docs/Makefile | 2 +-
ricci/docs/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/luci/docs/Makefile b/luci/docs/Makefile
index 308fde2..910352e 100644
--- a/luci/docs/Makefile
+++ b/luci/docs/Makefile
@@ -23,7 +23,7 @@ docs:
install:
install -d ${mandir}/man8
- install luci_admin.8 ${mandir}/man8
+ install -m 644 luci_admin.8 ${mandir}/man8
clean:
diff --git a/ricci/docs/Makefile b/ricci/docs/Makefile
index 5ca9eac..4b09e0c 100644
--- a/ricci/docs/Makefile
+++ b/ricci/docs/Makefile
@@ -5,4 +5,4 @@ all:
install:
install -d ${mandir}/man8
- install ricci.8 ${mandir}/man8
+ install -m 644 ricci.8 ${mandir}/man8
10 years, 7 months
[conga-luci-1stgen] RHEL5: conga: Install man pages with mode 644 (89421aa)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5
>---------------------------------------------------------------
commit 89421aa64c6618eb16f9f1425c4fbbe6c4517692
Author: Ryan McCabe <rmccabe(a)redhat.com>
Date: Mon Apr 15 10:30:19 2013 -0400
conga: Install man pages with mode 644
Previously no -m flag was passed to the 'install' command, so
manual pages were being installed mode 755.
Resolves: rhbz#883804
Signed-off-by: Ryan McCabe <rmccabe(a)redhat.com>
>---------------------------------------------------------------
luci/docs/Makefile | 2 +-
ricci/docs/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/luci/docs/Makefile b/luci/docs/Makefile
index 308fde2..910352e 100644
--- a/luci/docs/Makefile
+++ b/luci/docs/Makefile
@@ -23,7 +23,7 @@ docs:
install:
install -d ${mandir}/man8
- install luci_admin.8 ${mandir}/man8
+ install -m 644 luci_admin.8 ${mandir}/man8
clean:
diff --git a/ricci/docs/Makefile b/ricci/docs/Makefile
index 5ca9eac..4b09e0c 100644
--- a/ricci/docs/Makefile
+++ b/ricci/docs/Makefile
@@ -5,4 +5,4 @@ all:
install:
install -d ${mandir}/man8
- install ricci.8 ${mandir}/man8
+ install -m 644 ricci.8 ${mandir}/man8
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci: update TODO (remove rel links from the header) (1b6e4b2)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit 1b6e4b21c6d810e06ecb1bdc5220311830d04538
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Thu Aug 30 13:49:28 2012 +0200
luci: update TODO (remove rel links from the header)
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/TODO | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/luci/TODO b/luci/TODO
index 26c9b24..87885a3 100644
--- a/luci/TODO
+++ b/luci/TODO
@@ -2,9 +2,10 @@ New notes
---------
Upon another larger Data.fs manipulation, do this:
-- footer: turn 2000-2008 into more appropriate 2006-2012 (with – probably)
- disable sending recovery email in (failsafe_)login_form completely so it
cannot be reached
+- remove rel links from generated pages by "forking"
+ /luci/(portal_)skins/plone_templates/header and removing respective links
Original notes
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci: update TODO (6af5ce6)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit 6af5ce6ce4857ee39c441033f0bf9c23a318cb33
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Thu Aug 23 22:05:12 2012 +0200
luci: update TODO
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/TODO | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/luci/TODO b/luci/TODO
index 73d230b..26c9b24 100644
--- a/luci/TODO
+++ b/luci/TODO
@@ -1,14 +1,17 @@
+New notes
+---------
-Storage:
- - commit and commit errors
- - add sources
- - SIZE
- - cylinder labels
-
-
-Cluster:
+Upon another larger Data.fs manipulation, do this:
+- footer: turn 2000-2008 into more appropriate 2006-2012 (with – probably)
+- disable sending recovery email in (failsafe_)login_form completely so it
+ cannot be reached
+Original notes
+--------------
-Homebase:
-
+Storage:
+- commit and commit errors
+- add sources
+- SIZE
+- cylinder labels
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci/MAINTAINERS.rst: update How to enable and access ZMI (0dfd249)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit 0dfd249b73421c5b1ed3ba348c27538d6bda1495
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Thu Aug 23 21:37:39 2012 +0200
luci/MAINTAINERS.rst: update How to enable and access ZMI
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/MAINTAINERS.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/luci/MAINTAINERS.rst b/luci/MAINTAINERS.rst
index e2d74b9..df90979 100644
--- a/luci/MAINTAINERS.rst
+++ b/luci/MAINTAINERS.rst
@@ -58,7 +58,9 @@ obtained by::
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::
+7. stop luci::
+ # service luci stop
+8. run::
# ./luci_manage && ./luci_cleanup
(`luci_manage` with no argument this time)
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci/MAINTAINERS.rst: slightly adjust formatting (6d25a34)
by Ryan McCabe
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()
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci/MAINTAINERS.rst: update How to enable and access ZMI (a1a7933)
by Ryan McCabe
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.
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci/MAINTAINERS.rst: update How to enable and access ZMI (969661a)
by Ryan McCabe
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
===============================================================================
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci/MAINTAINERS.rst: update How to enable and access ZMI (ae8a6e6)
by Ryan McCabe
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
10 years, 7 months
[conga-luci-1stgen] RHEL5-active: luci: initscript: fix crazy sed command (d8c5741)
by Ryan McCabe
Repository : http://git.fedorahosted.org/git/?p=conga-luci-1stgen.git
On branch : RHEL5-active
>---------------------------------------------------------------
commit d8c57418c9d0dc7d5e3a8a0a89d4981030a5483e
Author: Jan Pokorny <jpokorny(a)redhat.com>
Date: Wed Aug 22 17:27:01 2012 +0200
luci: initscript: fix crazy sed command
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
>---------------------------------------------------------------
luci/init.d/luci | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/luci/init.d/luci b/luci/init.d/luci
index d848428..116a278 100644
--- a/luci/init.d/luci
+++ b/luci/init.d/luci
@@ -200,7 +200,7 @@ start()
return 1
fi
- sed -e s,\\\(^accept.*=\ \\\)\\\(.*\\\),\\\1$LUCI_HTTPS_PORT, $STUNNEL_CONF | $STUNNEL_D -fd 0
+ sed -e "s|^\(accept.*=[\t ]*\).*$|\1${LUCI_HTTPS_PORT}|" $STUNNEL_CONF | $STUNNEL_D -fd 0
if [ $? -ne 0 ]; then
errmsg='An error occurred while starting stunnel'
stop_luci >& /dev/null
10 years, 7 months