Package: gforge-plugin-scmsvn Version: 4.7~rc2-7 Severity: grave Justification: renders package unusable
*** reportbug-gforge-plugin-scmsvn-20090416-8429-lQWXNw Subject: gforge-plugin-scmsvn: gforge does not create the svn repositories automatically Package: gforge-plugin-scmsvn Version: 4.7~rc2-7 Severity: grave Justification: renders package unusable *** reportbug-gforge-plugin-scmsvn-20090416-8296-ha4XD3 Subject: gforge-plugin-scmsvn: svn repository not created automatically Package: gforge-plugin-scmsvn Version: 4.7~rc2-7 Severity: grave Justification: renders package unusable when I create a project selecting the svn repository when I go to the scm page the following message appears: "The repository for this project isn't created yet. It will be created in the next few minutes." the repository is not created. then I tryed to run the script "/usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php" and after adding [0] it gave an error on line 55 saying that $err was not defined, then I added the following line before line 55: if(!defined("err"))$err=""; and executed again, the repositories were created ok. I checked the cronjob on /etc/cron.d/gforge-plugin-scmsvn and the create_svn.php file is not called. maybe on this line: Repositories update 45 * * * * root [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl ] && su -s /bin/sh gforge -c /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl > /dev/null 2>&1 && [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl ] && /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl > /dev/null 2>&1 should be added something line this? && [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php ] && /usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php > /dev/null 2>&1 [0] the php cli command doen't take the INCLUDE_PATH environment variable into account, so I had to add the following as the first line on create_svn.php so I can execute it from cron, it's taken from [1] : (you can add it to /etc/php/cli/php.ini but it's not really nice) require dirname(__FILE__).'/../../../www/env.inc.php'; PS: on the fusionforge repository, the line 55 contains the following[1]: $err = "Creating Groups at ". $svn."\n"; [1] https://fusionforge.org/scm/viewvc.php/*checkout*/trunk/gforge/plugins/scmsvn/cronjobs/create_svn.php?root=fusionforge&revision=7292&content-type=text%2Fplain&pathrev=7292 -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gforge-plugin-scmsvn depends on: ii gforge-common 4.7~rc2-7 collaborative development tool - s ii gforge-db-postgres 4.7~rc2-7 collaborative development tool - d ii gforge-shell-postg 4.7~rc2-7 collaborative development tool - s ii gforge-web-apache2 4.7~rc2-7 collaborative development tool - w ii php5-cli 5.2.6.dfsg.1-1+lenny2 command-line interpreter for the p ii python 2.5.2-3 An interactive high-level object-o ii python-subversion 1.5.1dfsg1-2 Python bindings for Subversion ii subversion 1.5.1dfsg1-2 Advanced version control system ii subversion-tools 1.5.1dfsg1-2 Assorted tools related to Subversi ii viewcvs 1.0.5-0.2 dummy package to migrate to ViewVC gforge-plugin-scmsvn recommends no packages. gforge-plugin-scmsvn suggests no packages. -- no debconf information -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gforge-plugin-scmsvn depends on: ii gforge-common 4.7~rc2-7 collaborative development tool - s ii gforge-db-postgres 4.7~rc2-7 collaborative development tool - d ii gforge-shell-postg 4.7~rc2-7 collaborative development tool - s ii gforge-web-apache2 4.7~rc2-7 collaborative development tool - w ii php5-cli 5.2.6.dfsg.1-1+lenny2 command-line interpreter for the p ii python 2.5.2-3 An interactive high-level object-o ii python-subversion 1.5.1dfsg1-2 Python bindings for Subversion ii subversion 1.5.1dfsg1-2 Advanced version control system ii subversion-tools 1.5.1dfsg1-2 Assorted tools related to Subversi ii viewcvs 1.0.5-0.2 dummy package to migrate to ViewVC gforge-plugin-scmsvn recommends no packages. gforge-plugin-scmsvn suggests no packages. -- no debconf information -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gforge-plugin-scmsvn depends on: ii gforge-common 4.7~rc2-7 collaborative development tool - s ii gforge-db-postgres 4.7~rc2-7 collaborative development tool - d ii gforge-shell-postg 4.7~rc2-7 collaborative development tool - s ii gforge-web-apache2 4.7~rc2-7 collaborative development tool - w ii php5-cli 5.2.6.dfsg.1-1+lenny2 command-line interpreter for the p ii python 2.5.2-3 An interactive high-level object-o ii python-subversion 1.5.1dfsg1-2 Python bindings for Subversion ii subversion 1.5.1dfsg1-2 Advanced version control system ii subversion-tools 1.5.1dfsg1-2 Assorted tools related to Subversi ii viewcvs 1.0.5-0.2 dummy package to migrate to ViewVC gforge-plugin-scmsvn recommends no packages. gforge-plugin-scmsvn suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org