[development] Go PHP 5, Go!

Larry Garfield larry at garfieldtech.com
Wed Jun 27 08:05:09 UTC 2007


On Tuesday 26 June 2007, Derek Wright wrote:
> On Jun 26, 2007, at 3:51 PM, Jeff Eaton wrote:
> > Min version checking is something that modules *can* implement
> > using hook_status, if I remember correctly. Putting it into the
> > info files makes a lot of sense, though -- it's a basic check
> > that's best centralized.
>
> Thing is, if it's in the .info files, then the forthcoming
> drupalorg.module could parse the .info files and implement another
> project browsing method on d.o and other stuff like that.  If it's in
> a php hook, there's no chance for d.o itself to access the data,
> since we will not give everyone with a CVS account PHP access to d.o
> (which is effectively what would happen if we were trying to get this
> out of a module hook).  Plus, on the client side, you want to know
> this *before* you try to enable it at admin/build/modules (just like
> core version) so it's gotta be in the .info file for that to work, too.
>
> Really, this isn't that hard.  Look at the patch I wrote [1].  This
> is almost identical.  It should be trivial to add php in there if
> someone wants to do it.  My hands are full moving update_status into
> core, so I'm not volunteering.

He did however volunteer to review it for me, so here 'tis:

http://drupal.org/node/154949

-- 
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