Bug#524430: gforge-plugin-scmsvn: gforge doen't create the svn repositories automatically

2009-05-03 Thread Mariano Guerra
I did a clean install of gforge and the reporsitoriy was created.
 Maybe it was some thing that I modified without noticing.

you can close this bug.

Thanks.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#524430: gforge-plugin-scmsvn: gforge doen't create the svn repositories automatically

2009-04-28 Thread Roland Mas
Roland Mas, 2009-04-27 16:05:22 +0200 :

   Are you sure the repositories aren't created after at least an hour?
 If so, could you run the following command and report any errors?

  I just did a fresh installation on a Lenny system, and the repository
is indeed created with no manual intervention.  However, due to how the
scripts work and how the crontabs are organised, it can take from
fifteen minutes to an hour and fifteen minutes before that happens.

  Please confirm that your repositories really aren't created after that
period of time.

Roland.
-- 
Roland Mas

Bee There Orr Bee A Rectangular Thyng!
  -- in Soul Music (Terry Pratchett)



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#524430: gforge-plugin-scmsvn: gforge doen't create the svn repositories automatically

2009-04-27 Thread Roland Mas
marianoguerra, 2009-04-17 01:16:57 -0300 :

 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

  Probably just a PHP warning (I think it's been fixed in recent
versions anyway).

 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.

  Correct.

 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 21 
  [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl ]  
 /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl  /dev/null 21

 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
 21

  No.  In the Debian packages of GForge/FusionForge, the svn_update.pl
scripts handles the repository creation.

  Are you sure the repositories aren't created after at least an hour?
If so, could you run the following  command and report any errors?

su -s /bin/sh gforge -c /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl 
 /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl

  Thanks,

Roland.
-- 
Roland Mas

Indépendant en informatique libre -- Free software freelance
http://www.gnurandal.com/



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#524430: gforge-plugin-scmsvn: gforge doen't create the svn repositories automatically

2009-04-16 Thread marianoguerra
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 21 
 [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl ]  
/usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl  /dev/null 21

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 21

[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=fusionforgerevision=7292content-type=text%2Fplainpathrev=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  viewcvs1.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