On Thu, 16 Mar 2006, 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.

One possible solution would be to remove the mysql dependency but to add a
.install file that will warn the user that he needs to install a db and to
list the dbs (mysql, postgres, others?) that drupal is known to work with.
That way, you are not forcing the user to install a db he doesn't use and
you don't leave him wondering why the package doesn't work.


Snowman

>
> I'd like to hear your opinion about this issue.
>
>
> bardo
>
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to