[development] let's cleanup /misc

Larry Garfield larry at garfieldtech.com
Wed Dec 28 20:18:51 UTC 2005


On Wednesday 28 December 2005 01:54 pm, Chris Johnson wrote:

> > c) Isolation (this is the big one  for me) the separation of :
> >
> >  1. Drupal Core files.
> >  2. Contributed modules
> >  3. Site data files (attachments, images, ...etc.).
>
> Isolation is the big one for me, too.  I need to be able to quickly find
> core, versus add-on/contrib versus data, and be able to make mass copies,
> backups, perm changes, etc. as an admin.  It is error prone to have to find
> everything by hand, one at a time.
>
> ..chrisxj

Random off-the-cuff thought that I ask no one implement before 4.8... :-)

Currently, modules and themes can be placed in /modules and /themes, 
respectively, OR in /sites/mysite.com/modules and /sites/mysite.com/themes, 
if you're using Drupal's multi-site feature.  

Why not introduce /sites/all/, and require any non-core-package stuff to go 
there?  So any contrib modules would go in /sites/all/modules, for instance.  
That way, All non-as-downloaded files are in /sites/ somewhere, and you can 
just backup that directory and be done with it?

There's no change in functionality, just a few paths within Drupal's includes 
since it already looks for modules and themes in a bunch of different places.

-- 
Larry Garfield			AIM: LOLG42
larry at garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson


More information about the development mailing list