As reported by nancyw over at http://drupal.org/node/153741#comment-262994 -- some people don't want to be bothered all the time for updates, since not every contrib maintainer is super careful and sometimes new releases just break stuff. However, instead of not running update_status at all, these people should run it in a mode where it only flags stuff as red and causes the status report to ping you if there are security updates. Should be easy to add a set of radios on the settings page for what severity to consider an runtime requirement error. Something like:

Warning severity level:

  • Critical (Security updates only)
  • Normal (Official releases)
  • Minor (New development snapshots)

Select what kinds of new releases should be marked as a warning so that the [status report] and the [modules] page will indicate that new updates are required for your site to be up to date.

Once this is in core and everyone's running it, we're going to want a way to quiet it down like this, for sites that only want to be bothered for security updates. That said, there should be no way to disable the error for security releases. D6 should *force* the admin to see it when a security update is available.

Comments

killes@www.drop.org’s picture

Yeah, makes sense to me. I remember bein super annoyed when I got told to update some module twice a week.

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new5.77 KB
dww’s picture

StatusFileSize
new61.39 KB

screenie of the new settings tab

dww’s picture

StatusFileSize
new41.75 KB

screenie of the resulting report. note that there are 2 modules that would otherwise be marked as updates, a dev snapshot (taxonomy_context) and an official release (views). i like the fact that it still tells you an update is available (if you read closely), it's just not marked as red, and therefore, the status report and modules pages are quite. i'm quite pleased with this. ;) of course, if you install an old module that has a security release available (audio 5.x-0.1 is my favorite test case for this), it'll get flagged red no matter what...

dww’s picture

StatusFileSize
new5.69 KB

I was trying to be fancy and not save the setting if it didn't match the default. Unfortunately, that actually breaks things in a few cases. ;) So, here's a patch that's trying to be less smart and therefore works correctly.

dww’s picture

Status: Needs review » Fixed

Committed to HEAD as revision 1.63 of update_status.module.

dww’s picture

Status: Fixed » Needs review
StatusFileSize
new4.95 KB

Actually, "Warning severity level" is confusing and sort of a misnomer. "Warning threshold" is better. A few other tweaks to the wording.

dww’s picture

Status: Needs review » Active

Committed that one, but I'm rolling another for yet more cleanup...

dww’s picture

Status: Active » Needs review
StatusFileSize
new3.72 KB
dww’s picture

Status: Needs review » Fixed

Committed a slightly modified version to HEAD. Thanks, webchick!

dww’s picture

Status: Fixed » Needs review
StatusFileSize
new7.73 KB

Drat, the more I think about this setting, the less I like that I called it a "Warning" threshold, when it's really an "Error" threshold.

dww’s picture

Status: Needs review » Fixed

webchick and add1sun liked this, so I committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)