On Thu, Mar 16, 2006 at 08:21:15PM +0100, bardo wrote: > Hi all. > > I'm the packager of drupal, a popular CMS (you can find it in the > AUR). It needs a database, qhich could be mysql as well as postgresql, > so either of the two would satisfy its dependency. My build asks for > mysql (since it's the one I use), but recently a user asked me if I > did something particular that excluded the use of postgresql, and if I > could remove the mysql dependency. > > Removing all db dependencies would break the dep system (whose purpose > is "if you install the program X, then you're sure you have everything > to make it work"), so I won't do it, but luke is right saying I > shouldn't close the door to other dbs... The best thing would be a way > of saying to pacman that I need mysql *or* postgre. > > I'd also like to point out that drupal is written in php, so it is > interpreted. This means that it is not bound to any specific database, > it's only a configuration matter.
I would remove ANY dependencies for most php web applications, because it forces users to install needless dependencies: 1. The database dependency is just a run-time configuration issue. What if a PHP application support databases-connections via unixODBC? Would you specify any database with an ODBC-Driver available? 2. I would also remove the php and the apache dependency. Some users run lighttpd and/or php-cgi. Adding dependencies in these cases will most likely not be helpful for users. It will restrict flexibility. Jürgen
pgpSkPVcrK9rB.pgp
Description: PGP signature
_______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
