gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge ChangeLog, 1.363, 1.364 README.setup, 1.5, 1.6 s


From: cbayle
Subject: [Gforge-commits] gforge ChangeLog, 1.363, 1.364 README.setup, 1.5, 1.6 setup, 1.24, 1.25
Date: Sun, 09 May 2004 13:15:39 -0500

Update of /cvsroot/gforge/gforge
In directory db.perdue.net:/tmp/cvs-serv13096

Modified Files:
        ChangeLog README.setup setup 
Log Message:
OO rewrite of system interaction


Index: ChangeLog
===================================================================
RCS file: /cvsroot/gforge/gforge/ChangeLog,v
retrieving revision 1.363
retrieving revision 1.364
diff -u -d -r1.363 -r1.364
--- ChangeLog   7 May 2004 20:34:31 -0000       1.363
+++ ChangeLog   9 May 2004 18:15:36 -0000       1.364
@@ -1,3 +1,28 @@
+2004-05-09  Christian Bayle <address@hidden>
+
+       * Made system management OO (Work in progress)
+       created common/include/system dir that
+       contains UNIX and LDAP implementation
+       Now you have to choose your sys_account_manager_type
+       in local.inc, defaulted to UNIX
+       ldpa.php is removed, the code was moved in LDAP.class
+       sys_use_ldap will be removed shortly and replace by the 
+       use of sys_account_manager_type=LDAP
+       Side effect will be the possibility to implement easily your 
+       own system account manager do deal, e.g. with your company NIS,or 
+       already existing user accounts.
+       The default behaviour stays the same.
+       I also added sys_state columns with db/20040507.sql
+       This is not yet used but will allow faster user creation
+       sys_state will have 5 possible values
+       R=request system account creation
+       S=request system account suppression
+       C=system account created
+       D=system account deleted
+       E=system account creation error
+       F=system account deletion error
+       N=no request
+
 2004-05-07  Tom Copeland <address@hidden>
 
        * www/export/rss_sfnewreleases.php: Fixed a couple of 

Index: README.setup
===================================================================
RCS file: /cvsroot/gforge/gforge/README.setup,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- README.setup        2 Apr 2004 20:45:19 -0000       1.5
+++ README.setup        9 May 2004 18:15:36 -0000       1.6
@@ -24,6 +24,7 @@
 mv etc/httpd.secrets etc/httpd.secrets.example
 mv etc/database.inc etc/database.inc.example
 mv etc/local.pl etc/local.pl.example
+rm etc/httpd.vhosts
 #
 # ./setup -help will give you all available switch
 #

Index: setup
===================================================================
RCS file: /cvsroot/gforge/gforge/setup,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- setup       30 Apr 2004 13:08:24 -0000      1.24
+++ setup       9 May 2004 18:15:36 -0000       1.25
@@ -55,13 +55,14 @@
        DEFAULTsys_show_source=0
        DEFAULTsys_force_login=0
        DEFAULTsys_session_key=$(dd if=/dev/urandom count=256 bs=1 2> /dev/null 
| md5sum | cut -b1-32)
-       DEFAULTsys_session_expire="60 * 60 * 24 * 7"
+       DEFAULTsys_session_expire='60 * 60 * 24 * 7'
        DEFAULTsys_theme=gforge
        DEFAULTsys_default_theme_id=1
        DEFAULTsys_lang=English
        DEFAULTsys_default_timezone=GMT
        DEFAULTsys_default_country_code=US
        DEFAULTsys_use_ldap=0
+       DEFAULTsys_account_manager_type=$SYSTEM
        DEFAULTsys_use_jabber=0
        DEFAULTsys_use_auth_ldap=1
        DEFAULTsys_ldap_auth_host=localhost
@@ -171,12 +172,12 @@
        rm $ETCDIR/httpd.secrets.gforge-new
        
        echo "Creating $LOCALINC"
-       for i in $ETCDIR/local.d/01* $ETCDIR/local.d/10database.$database 
$ETCDIR/local.d/[2-9]*
+       for i in $ETCDIR/local.d/01* $ETCDIR/local.d/10database.$database 
$ETCDIR/local.d/1[1-9]* $ETCDIR/local.d/[2-9]*
        do
                $BINDIR/fill-in-the-blanks.pl $i $ETCDIR/`basename $i` 
$CONFFILEOUT
        done
-       ls $ETCDIR/01* $ETCDIR/10database.$database $ETCDIR/[2-9]* | sort | 
xargs cat > $LOCALINC
-       rm $ETCDIR/01* $ETCDIR/10database.$database $ETCDIR/[2-9]*
+       ls $ETCDIR/01* $ETCDIR/10database.$database $ETCDIR/1[1-9]* 
$ETCDIR/[2-9]* | sort | xargs cat > $LOCALINC
+       rm $ETCDIR/01* $ETCDIR/10database.$database $ETCDIR/1[1-9]* 
$ETCDIR/[2-9]*
 
        echo "Creating other includes"
        #for i in $ETCDIR/templates/[a-z]*
@@ -230,7 +231,8 @@
 LOCALINC=$ETCDIR/local.inc
 HTTPDCONF=$ETCDIR/httpd.conf
 HTTPDSECRETS=$ETCDIR/httpd.secrets
-export ETCDIR BINDIR GFGDIR CONFFILEIN CONFFILEOUT LOCALINC HTTPDCONF 
HTTPDSECRETS DOAPACHE
+SYSTEM=UNIX
+export ETCDIR BINDIR GFGDIR CONFFILEIN CONFFILEOUT LOCALINC HTTPDCONF 
HTTPDSECRETS DOAPACHE SYSTEM
 interact=false
 noapache=false
 database=env
@@ -266,6 +268,10 @@
                        shift
                        CONFFILEOUT=$1
                        ;;
+               -system )
+                       shift
+                       SYSTEM=$1
+                       ;;
                -confdir )
                        shift
                        CONFFILEIN=$1/gforge.conf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]