BrandonB wrote:
> Whether the decision is to go with a "quiet period" or branches, I make the
> following suggestions:
>
> 1) Add code coverage checks (Cobertura or Clover) to the
>
http://hudson.glassfish.org/job/hudson/ job, against the existing tests the
> Hudson core already has. This should identify weaknesses in coverage, and
> prompt the team/users to start contributing more tests.
Yes, I need to do this.
> 2) Before a Hudson core release is made, compile the core against the latest
> release of all plugins. Wherever possible, run the plugin unit tests against
> the new core. If, for whatever reason, the hudson.glassfish.org server
> cannot run plugin unit tests (eg, it might be hard to run the AccuRev plugin
> tests without AccuRev server or licenses), notify (automatically?) the
> plugin owners to run their unit tests against the about-to-be-released core.
+1.
> 3) Do any of the plugins have Hudson jobs on a public Hudson instance? If
> not, can they be added to hudson.glassfish.org? If so, can they be moved
> there?
Currently there's a single build that builds the entire Hudson including
all the plugins.
If we create one job per plugin, I need a new feature in Hudson to
manage that.
> 4) All plugins should have code coverage (Cobertura or Clover) checks
> against their unit tests.
Right, I believe we get this with the same effort to do your #1.
> 5) When the core release is made, publish a document (somewhere, wiki,
> release notes, part of the changelog, don't know) stating which versions of
> plugins were tested against the new core. I believe some of the plugins
> already document which versions of the core *they* were compiled/tested
> against when they are released - we need the reverse.
Isn't it better to just bake that information in Hudson itself or update
center metadata, so that the user gets a reassuring "tested" icon or
something on UC?
> 6) In fact, including the information from #5 in the 'Updates' and/or
> 'Available' tabs of the 'Manage Plugins' table would be extremely useful.
> (I'm envisioning another column stating something to the effect of "This
> version of Hudson was tested againstplugin release #X.Y.) This can help
> people identify whether they *should* upgrade plugins, instead of just
> crossing their fingers and upgrading blindly (or manually comparing release
> dates of core and plugins).
OK, so you've already thought about that, then.
--
Kohsuke Kawaguchi
Sun Microsystems
http://weblogs.java.net/blog/kohsuke/