On 29/08/12 20:33, Gunnar Wolf wrote:
> Daniel Pocock dijo [Sun, Aug 19, 2012 at 10:43:59PM +0200]:
>> I've been looking at the issue of installing both drupal6 and drupal7
>> packages simultaneously during migration (e.g. to migrate one site at a
>> time if there are several sites)
>>
>> The only obvious issue that sticks out is that both new and old packages
>> suggest the same location for locally installed modules and themes,
>> /usr/local/share/drupal
>>
>> I've opened a bug about this here:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685333
>>
>> Given that upgrades are likely to be slow and painful, co-installation
>> of both packages should be as easy as possible
> 
> Umh... I don't know where is that suggestion, but it has never bit me

drupal7:
It is in /usr/share/doc/drupal7/README.Debian.gz

   /usr/local/share/drupal/modules and themes

> - and I am currently halfway through my transition of several tens of
> sites in the same server. Packaged modules and themes (i.e. using
> dh-make-drupal) go to /usr/share/drupal6 and /usr/share/drupal7, and
> non-packaged ones go usually to /etc/drupal/6/sites/all and

Actually, I discovered links such as
   /usr/share/drupal6/modules/local -> /usr/local/share/drupal/modules

pointing to the same directory that drupal7 recommends, hence the bug report

I don't believe those links are created by the drupal6 package (I just
tested it on a clean environment), but they are recommended by
/usr/share/doc/drupal6/README.Debian.gz -  so it is possible I created
them myself at some point in the past.


> /etc/drupal/7/sites/all (or a specific site, of course). Upgrades are
> sometimes painful, yes, but due to issues in upgrading the specific
> themes and modules used, not due to them not being coinstallable.


I'm not suggesting they are not co-installable, I'm just pointing out
the fact that the default local paths for drupal6 and drupal7 are
identical - it is certainly not an intractable problem to fix though,
and it would be nice for the wheezy version of the drupal7 package to
recommend

   /usr/local/share/drupal/7/modules
     or
   /usr/local/share/drupal7/modules

instead of just

   /usr/local/share/drupal/modules


Apart from tweaking those links, my site upgrades have been relatively
smooth


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

Reply via email to