Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
update system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Mar 2007 at 06:13 UTC
Updated:
29 Apr 2007 at 14:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
RobRoy commentedMe likey. +1
Comment #2
Crell commented+1 on concept. It's a good model for contrib to follow then, too. Are we sure that renumbering those now won't cause issues with sites that already ran those functions, or does that fall under the "devel breaks, deal" category? :-)
Comment #3
webchickYes, that falls under "devel breaks, deal" category, imo. :) Anyone who's using 6.x for anything more serious than a testbed at this point is playing with fire anyway.
Comment #4
chx commentedNext time do not let a maths freak like me introduce numbering. Thanks for fixing.
Comment #5
webernet commentedRerolled for more updates (2005, 2006), and fix a typo in the final comment (6000 --> 7000).
Comment #6
kbahey commented+1, for the sake of clarity.
Comment #7
dmitrig01 commentedComment #8
sun@todocomment seems not appropriate here. IMHO, it could be removed since those numbers are intuitive now.Comment #9
webernet commentedYou're right - rerolled without @todo
Comment #10
sun*bump*
http://api.drupal.org/api/5/function/hook_update_N needs an update, too. I'd like to see this new numbering scheme used by contrib modules, too. Although I'd change the numbering scheme for contrib modules to:
IMHO a contrib module won't need more than 10 database updates within a minor version. However, if we want to allow more, we certainly can append another # and start counting from '01'.
Changing the numbering scheme for contrib modules allows new co-maintainers of a module to learn which updates were needed in the past and more importantly, for which version. You don't know that by looking at e.g.
module_update_13.Comment #11
dries commentedThis patch needs to be re-rolled/updated against HEAD it seems -- there are some updates missing.
Comment #12
webernet commentedRerolled with update 2007/6007.
Comment #13
dries commentedThanks! Committed to CVS HEAD.
Comment #14
sunWhat about my proposal in #10? Shall I open another issue for that?
We encourage module maintainers to join forces with others, but the code of many contrib modules is in a out-dated state. So the rule to continuously count module updates beginning from 1 turns upgrading and co-maintaining of contrib modules into a pain.
Comment #15
Zen commentedMissed a spot.
Comment #16
Zen commentedAnd for 5...
I've also removed all the trailing comments which are irrelevant for the 5 branch.
-K
Comment #17
Crell commented@sun: That's a documentation issue, so yes I'd say submit it as a new issue. That said, I like the idea of an established, good numbering standard. :-)
Comment #18
sunCreated an offshoot for the proposed numbering scheme of contrib modules: http://drupal.org/node/136078
Comment #19
dwwboth #15 and #16 are RTBC. thanks, zen. i was worried at first by the comment for #16, since i thought you were proposing to re-number the 5.x updates to match the convention, too. luckily, you're just cleaning up some comments. phew! ;)
Comment #20
dries commentedCommitted to CVS HEAD. Thanks!
Comment #21
(not verified) commented