GHOP task: http://code.google.com/p/google-highly-open-participation-drupal/issues/...
We need someone writing or extending currently existing handbook pages explaining module developers why they shouldn't release pre-releases as official releases (maybe under http://drupal.org/node/7765 or http://drupal.org/node/508). As update_status users we all know how bad it is if the update status page displays modules with RED background, but this maybe all pre-releases that may alter my database in a wrong way, kill my data, contains bugs, is unstable and so on and so on. If someone release an alpha or beta as official release all people get notified by this with read banners in administration area and this is not good.
We need a official statement regarding this issue or there will be many discussions about this (http://drupal.org/node/177911). Maybe i need to change my mind about this, but feel free to comment...
Comments
Comment #1
dwwa) Yes, we need these docs.
b) You're in fact wrong about some of the details of how update.module notifies users regarding alphas and betas. This is yet more evidence to support (a). ;)
Seems likely I'll have to be the one to write these docs, so I might as well assign this to myself...
Comment #2
dwwhttp://badcamp07.org/07/post/audio-talk
http://lists.drupal.org/archives/development/2007-10/msg00255.html
That's basically everything someone needs to know to write these docs. I asked multiple times for help (both devel list and documentation list) and no on volunteered. Maybe someone can write this up as a GHOP task, at least. I'm not the only one who can write this documentation, but there are plenty of other urgent tasks that require me, so it'd sure be nice if someone else took a stab at this.
Comment #3
webchickMade into a GHOP task: http://code.google.com/p/google-highly-open-participation-drupal/issues/...
Please no one else work on this.
Comment #4
ezyang commentedAssigning to self as GHOP. Will be listening to dww's talk shortly.
Comment #5
ezyang commentedHere are some preliminary notes from the talk. A lot of it seems to already be covered in the docs.
And there I stop. Will finish later.
Comment #6
webchickComment #7
ezyang commentedCompleted talk notes. These by themselves will be quite useful.
I'm a bit torn on how much to put on the documentation. Derik's talk was very informative, but having worked with version control systems before most of it is common knowledge not specific to Drupal. I suppose I'll just add the non-obvious aspects of CVS, but focus primarily on how it applies to Drupal.
Here is the deliverable: a new page on Module developer's guide called "Publishing your module on Drupal.org" with a tutorial on releasing modules that covers most of all the cases Derik covers in the talk. Images on the back of napkins may or may not be included :-)
Comment #8
dwwTo clarify: the main point of this issue is the subset of that talk specifically about how the releases on drupal.org interact with update_status. Maintainers need to understand the results of their actions and how update_status behaves. That's the main thing that's not yet documented in the d.o handbooks. But, anything else you want to document after listening to that talk, or updates/clarifications/enhancements to the existing handbooks (especially all the stuff under http://drupal.org/handbooks/cvs), would be great. Thanks!
Comment #9
webchickMarking needs work, to reflect dww's comments.
Comment #10
ezyang commentedIn that case, I suppose Managing releases is a better, albeit less visible, place to insert the docs.
Comment #11
ezyang commentedHere we go:
http://drupal.org/node/197584
Comment #12
KentBye commentedI was actually at this BADCamp talk, asking questions and whatnot.
So I'll offer some preliminary feedback.
First, great job in condensing it down to the essential elements.
It might be helpful to include the full tags that people would be typing in and what they're translated to.
Taking a look at the sticky tags listed in the web-based CVS of the Panels module gives some real world examples:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/panels/?pat...
And looking at the official release node at http://drupal.org/node/194291 -- we can see that the CVS tag of DRUPAL-5--2-0-ALPHA14 was translated into panels-5.x-2.0-alpha14.tar.gz
So "DRUPAL-5--2-0-ALPHA14" = "5.x-2.0-alpha14"
So it might be helpful to provide the examples in one or both of these syntaxes because you're just using a truncated "2.x-rc1" makes it seem like Drupal 2.0 -- since the X usually implies the point release of the major Drupal release. So I'd recommend replacing the 2.x-rc1 with the full 5.x-2.0-RC1 to make this clearer -- and I think using the actual tag of "DRUPAL-5--2-0-RC1" will make it even more clear for people typing it into CVS.
The other feedback that I'd give is that I'd try to come up with more descriptive sub-headlines -- rather than the dummy case study title. So just skimming "Very Berry Baz" and "Foolish Foo" underneath the section of "Do's and Don'ts" doesn't give me very much useful information. So maybe come up with the essence as a title.
Otherwise this is looking really good.
Comment #13
dwwI agree with kent's comments above. It's important to use "fully-qualified" version strings, instead of the abreviated versions. It's confusing enough as it is, I'd rather all the docs were completely explicit and used the full strings. Plus, including the corresponding CVS tags would help people understand what's going on.
A few other minor nits:
A) on d.o, if the version string is
5.x-2.3-rcthe 3 in there (the last part before the "extra") is referred to as the "patch level", not "minor". It's a long story, don't ask. ;)B) The do's/don't section should make it clear that the best approach is to wait until the X.x-Y.0 official release (no extra/beta/alpha/rc) before switching recommended versions.
C) The part of the intro that mentioned that update_status is now in core for D6 was lost somewhere from when I last looked until the current revision. I think this is important to keep in the document.
D) Maybe include a link to the BADCamp audio and your notes at the bottom?
In spite of the gripes, it's great to have this written up. Thanks again!
Comment #14
ezyang commentedUpdates posted. Here is the diff.
These updates are only for KentBye's comments. Addressing dww's concerns now
Comment #15
ezyang commentedDerek's changes have been incorporated.
I did not add CVS equivalents for the sample release numbers littered further down the text, because I felt that would add too much gunk to the text. I can if you want, though. They have been expanded to their full version.
Comment #16
KentBye commentedOkay.
ezyang is on top of all of my suggestions, and I had a few more.
He added in CVS tags in parentheses for each abbreviated use. Clarifying "CVS Tag of" with each first use in the paragraph.
He also changed the example from 5.x-1.44 to 5.x-1.38 with the latest release as 5.x-1.45 to give the impression of way too frequent releases to reflect dww's speech.
The titles are also much more descriptive of: "What Not To Do: The Case of Foolish Foo"
So he has my approval, and I'll let dww make the final call for the completedness of the task.
Great job ezyang.
Comment #17
dwwLooking very nice. almost there. ;)
However, the case studies still give the wrong impression. It should be:
DO: only switch the recommended when you have an official X.x-Y.0 release without extra
DON'T: make a beta or rc recommended, unless you have a *really* compelling reason, like the previous version is so broken that even the rc is better that that pile of cruft.
NEVER: make an alpha recommended. if you want alpha testers, ask for them nicely, don't force your entire user base to upgrade to alpha code.
see what i mean?
thanks!
-derek
Comment #18
ezyang commentedCase studies modified accordingly.
Whee this is fun. Good now?
Comment #19
dwwGreat, works for me. Further edits can always be taken on by the documentation team. I think you've earned your t-shirt for this one. ;)
Thanks again!
-Derek
Comment #20
dwwFYI: I emailed the devel list about this: http://lists.drupal.org/pipermail/development/2007-December/027760.html
Comment #21
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.