Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Gavin McCullagh
Hi,

On Fri, Feb 03, 2006 at 05:36:59PM -0500, Rudy Godoy wrote:

 Please consider adding php5 dependency since it's already in testing
 and according upstream's website[0] it's supported since version 1.4.
 I've tested and using it without problems. 


I see the Ubuntu patch moves exmplicitly to php5.

-Depends: ${misc:Depends}, php4 (= 4.1.0) | php4-cgi (= 4.1.0), php4-pgsql 
(= 4.1.0) | php4-mysql (= 4.1.0), php4-gd, apache | httpd, php4-cli, 
wwwconfig-common (= 0.0.7), mimetex
+Depends: ${misc:Depends}, php5 | php5-cgi, php5-pgsql | php5-mysql, php5-gd, 
apache2 | httpd, php5-cli, wwwconfig-common (= 0.0.7), mimetex 

Would it not be better to depend on php4 or php5 rather than force people
to upgrade to PHP5?

Moodle isn't the only PHP application I'm using on my web server and I'd
rather not move up to PHP5 just now when all is working with PHP4.

Gavin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Matt Zimmerman
On Tue, Feb 07, 2006 at 02:01:56PM +, Gavin McCullagh wrote:
 On Fri, Feb 03, 2006 at 05:36:59PM -0500, Rudy Godoy wrote:
 
  Please consider adding php5 dependency since it's already in testing
  and according upstream's website[0] it's supported since version 1.4.
  I've tested and using it without problems. 
 
 
 I see the Ubuntu patch moves exmplicitly to php5.
 
 -Depends: ${misc:Depends}, php4 (= 4.1.0) | php4-cgi (= 4.1.0), php4-pgsql 
 (= 4.1.0) | php4-mysql (= 4.1.0), php4-gd, apache | httpd, php4-cli, 
 wwwconfig-common (= 0.0.7), mimetex
 +Depends: ${misc:Depends}, php5 | php5-cgi, php5-pgsql | php5-mysql, php5-gd, 
 apache2 | httpd, php5-cli, wwwconfig-common (= 0.0.7), mimetex 
 
 Would it not be better to depend on php4 or php5 rather than force people
 to upgrade to PHP5?

Possibly, but it is quite tricky to express this correctly using the
available dependency relationships.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Rudy Godoy
On 07/02/2006 at 10:21 Gavin McCullagh wrote...

 Hi,

Hi,

snip 
 I see the Ubuntu patch moves exmplicitly to php5.
 
 -Depends: ${misc:Depends}, php4 (= 4.1.0) | php4-cgi (= 4.1.0), php4-pgsql 
 (= 4.1.0) | php4-mysql (= 4.1.0), php4-gd, apache | httpd, php4-cli, 
 wwwconfig-common (= 0.0.7), mimetex
 +Depends: ${misc:Depends}, php5 | php5-cgi, php5-pgsql | php5-mysql, php5-gd, 
 apache2 | httpd, php5-cli, wwwconfig-common (= 0.0.7), mimetex 
 
 Would it not be better to depend on php4 or php5 rather than force people
 to upgrade to PHP5?
 

Yes, I agree with you, as you can see I said add php5, not
exclusively.
That'd make it easy for those who only want php5 and not php4 too.

 Moodle isn't the only PHP application I'm using on my web server and I'd
 rather not move up to PHP5 just now when all is working with PHP4.
 

Sure, that's what i meant.

regards,
-Rudy

-- 
Rudy Godoy | 0x3433BD21 | http://stone-head.org   ,''`.
http://www.apesol.org  -  http://www.debian.org  : :' :
GPG FP: 0D12 8537 607E 2DF5 4EFB  35A7 550F 1A00 3433 BD21   `. `'
   `-


signature.asc
Description: Digital signature


Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Rudy Godoy
On 07/02/2006 at 10:21 Matt Zimmerman wrote...

snip 

  Would it not be better to depend on php4 or php5 rather than force people
  to upgrade to PHP5?
 
 Possibly, but it is quite tricky to express this correctly using the
 available dependency relationships.
 

This works for me.
Depends: ${misc:Depends}, php4 (= 4.1.0) | php5 | php4-cgi (=
4.1.0) | php5-cgi, php4-pgsql (= 4.1.0) | php4-mysql (= 4.1.0) | php5-mysql |
php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli |  php5-cli,
wwwconfig-common (= 0.0.7), mimetex

-Rudy

-- 
Rudy Godoy | 0x3433BD21 | http://stone-head.org   ,''`.
http://www.apesol.org  -  http://www.debian.org  : :' :
GPG FP: 0D12 8537 607E 2DF5 4EFB  35A7 550F 1A00 3433 BD21   `. `'
   `-


signature.asc
Description: Digital signature


Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Matt Zimmerman
On Tue, Feb 07, 2006 at 10:27:30AM -0500, Rudy Godoy wrote:
 On 07/02/2006 at 10:21 Matt Zimmerman wrote...
 
 snip 
 
   Would it not be better to depend on php4 or php5 rather than force people
   to upgrade to PHP5?
  
  Possibly, but it is quite tricky to express this correctly using the
  available dependency relationships.
  
 
 This works for me.
 Depends: ${misc:Depends}, php4 (= 4.1.0) | php5 | php4-cgi (=
 4.1.0) | php5-cgi, php4-pgsql (= 4.1.0) | php4-mysql (= 4.1.0) | php5-mysql 
 |
 php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli |  php5-cli,
 wwwconfig-common (= 0.0.7), mimetex

It works in that on a system with no PHP installed, it will generally give
you php4 and the appropriate modules.  However, it is incorrect in that it
does not express the actual dependencies of the package, and so there are
many cases where it does not work.

For example, a system with php4-cgi and php5-mysql installed would satisfy
these dependencies, but would presumably not actually be able to run moodle.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Isaac Clerencia
On Tuesday, 7 February 2006 16:30, Matt Zimmerman wrote:
 On Tue, Feb 07, 2006 at 10:27:30AM -0500, Rudy Godoy wrote:
  On 07/02/2006 at 10:21 Matt Zimmerman wrote...
  
  snip 
  
Would it not be better to depend on php4 or php5 rather than force 
people
to upgrade to PHP5?
   
   Possibly, but it is quite tricky to express this correctly using the
   available dependency relationships.
   
  
  This works for me.
  Depends: ${misc:Depends}, php4 (= 4.1.0) | php5 | php4-cgi (=
  4.1.0) | php5-cgi, php4-pgsql (= 4.1.0) | php4-mysql (= 4.1.0) | 
  php5-mysql |
  php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli |  php5-cli,
  wwwconfig-common (= 0.0.7), mimetex
I've moved to something like this and left to the user the responsibility to get
a sensible set of packages. If I get bug reports which are caused by these
loose Depends: I'll move to the Depends: to php5 too.

Best regards 

-- 
Isaac Clerencia at Warp Networks, http://www.warp.es
Work: [EMAIL PROTECTED]   | Debian: [EMAIL PROTECTED]


pgphrlgwTUjOW.pgp
Description: PGP signature


Bug#351298: moodle: Please consider adding php5 dependency

2006-02-07 Thread Matt Zimmerman
On Tue, Feb 07, 2006 at 05:08:12PM +0100, Isaac Clerencia wrote:
 On Tuesday, 7 February 2006 16:30, Matt Zimmerman wrote:
  On Tue, Feb 07, 2006 at 10:27:30AM -0500, Rudy Godoy wrote:
   On 07/02/2006 at 10:21 Matt Zimmerman wrote...
   
   snip 
   
 Would it not be better to depend on php4 or php5 rather than force 
 people
 to upgrade to PHP5?

Possibly, but it is quite tricky to express this correctly using the
available dependency relationships.

   
   This works for me.
   Depends: ${misc:Depends}, php4 (= 4.1.0) | php5 | php4-cgi (=
   4.1.0) | php5-cgi, php4-pgsql (= 4.1.0) | php4-mysql (= 4.1.0) | 
   php5-mysql |
   php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli |  php5-cli,
   wwwconfig-common (= 0.0.7), mimetex
 I've moved to something like this and left to the user the responsibility to 
 get
 a sensible set of packages. If I get bug reports which are caused by these
 loose Depends: I'll move to the Depends: to php5 too.

If that doesn't work out, another possible solution would be to provide
-php4 and -php5 flavours (or metapackages for the dependencies).

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#351298: moodle: Please consider adding php5 dependency

2006-02-03 Thread Rudy Godoy
Package: moodle
Version: 1.5.3+20060108-1
Severity: wishlist

Please consider adding php5 dependency since it's already in testing
and according upstream's website[0] it's supported since version 1.4.
I've tested and using it without problems. 

0- http://docs.moodle.org/en/Installing_Moodle#Requirements

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=es_PE.UTF-8, LC_CTYPE=es_PE.UTF-8 (charmap=UTF-8)

Versions of packages moodle depends on:
ii  apache2-mpm-prefork [httpd]   2.0.55-4   traditional model for Apache2
ii  debconf [debconf-2.0] 1.4.67 Debian configuration management sy
ii  mimetex   1.50-1 LaTeX math expressions to anti-ali
ii  php5  5.0.5-3server-side, HTML-embedded scripti
ii  php5-cli  5.0.5-3command-line interpreter for the p
ii  php5-gd   5.0.5-3GD module for php5
ii  php5-mysql5.0.5-3MySQL module for php5
ii  php5-pgsql5.0.5-3PostgreSQL module for php5
ii  wwwconfig-common  0.0.44 Debian web auto configuration

Versions of packages moodle recommends:
ii  mysql-server-5.0 [mysql-serve 5.0.16-1   mysql database server binaries

-- debconf information:
* moodle/dbu_name: moodle
* moodle/db_server: postgresql
* moodle/db_host: localhost
* moodle/create_tables:
* moodle/webserver: apache2
  moodle/notconfigured:
  moodle/mismatch:
* moodle/dba_name: admin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]