[development] Choosing the N number for .install's hook_update_N

Frederik 'Freso' S. Olesen freso.dk at gmail.com
Thu Aug 7 08:46:13 UTC 2008


Earnie Boyd skrev:
>Quoting Derek Wright <drupal at dwwright.net>:
>>C) Any contrib with 10 versions of itself for the same version of  
>>core needs to seriously consider its own release planning.
>
 >The module version should start over with 1 for each major version
>release of Drupal.  That is ridiculous because the version number of the 
>module should be relative to its major releases.  So when mymod-5.x-2.0 
>moves to version 6 it will be named mymod-6.x-2.0.

Why?

Pathauto 5.x-2.x is functionally (and almost codewise) identical to 
6.x-1.x. Pathauto 6.x-2.x is where new features get in now. Once Drupal 
7 comes along, Pathauto 7.x-1.x will be the branch porting the Pathauto 
6.x code, no matter if we're still at 6.x-2.x, or if we've reached 
6.x-9.x – the first major Pathauto version branch for Drupal 7 will be 
Pathauto 7.x-1.x.

-- 
Venlig hilsen,
Frederik "Freso" S. Olesen <http://freso.dk/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20080807/2ea1115b/attachment.pgp 


More information about the development mailing list