After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613917 - add support for buildbot 0.7.12
add support for buildbot 0.7.12
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2010-03-25 13:59 UTC by Sascha Silbe
Modified: 2010-06-11 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
JhBuildMaster.loadConfig(): sync code with upstream (buildbot-0.7.12) (12.11 KB, patch)
2010-03-25 14:47 UTC, Sascha Silbe
none Details | Review
remove JhStatusResourceBuilder.body() (3.33 KB, patch)
2010-03-25 15:13 UTC, Sascha Silbe
none Details | Review
remove JhStatusResourceBuild.body() (6.22 KB, patch)
2010-03-25 16:54 UTC, Sascha Silbe
none Details | Review

Description Sascha Silbe 2010-03-25 13:59:34 UTC
At least {{{jbhuild.commands.bot.cmd_bot.JhBuildMaster.loadConfig()}}} needs to be synced with the upstream source as it has been copied verbatim.

I've set the severity to critical as it doesn't work with 0.7.11p3 either and buildbot versions before that [http://buildbot.net/trac/wiki/SecurityAlert0711 are vulnerable] to several XSS attacks.
Comment 1 Sascha Silbe 2010-03-25 14:47:27 UTC
Created attachment 157063 [details] [review]
JhBuildMaster.loadConfig(): sync code with upstream (buildbot-0.7.12)

Please review and test before applying. It allows the buildbot to start without errors, but no further testing has been done (yet).
Comment 2 Sascha Silbe 2010-03-25 15:13:48 UTC
Created attachment 157066 [details] [review]
remove JhStatusResourceBuilder.body()

I don't know what the original intent of overriding body() was, but it's broken now and removing it shows no negative effects so far. Links seem to be working fine.
Comment 3 Sascha Silbe 2010-03-25 16:54:28 UTC
Created attachment 157081 [details] [review]
remove JhStatusResourceBuild.body()

Like for JhStatusResourceBuilder.body() I don't know why JhStatusResourceBuild.body() was introduced, but simply removing it seems to work fine so far.
Comment 4 Dimitri John Ledkov 2010-04-23 03:00:57 UTC
I've been using all 3 patches. And it works with buildbog 0.7.12 perfectly fine. Patches are correct IMHO.

I've put it on gitorious so I can easily use it. Use this to pull these three patches:

git pull git://gitorious.org/~xnox/jhbuild/jhbuild-mirror.git refs/merge-requests/2

Thanks.
Comment 5 Frederic Peters 2010-04-28 11:31:07 UTC
JhStatusResourceBuilder.body() handles http://build.gnome.org/builders/gnome-common-bxlug-sid

JhStatusResourceBuild.body() handles http://build.gnome.org/builders/gnome-common-bxlug-sid/builds/816

Could you check those pages are still working properly with your patches?
Comment 6 Frederic Peters 2010-06-11 18:29:13 UTC
Sascha, I don't know what kind of error you had with those body(), I (finally!) had time to look and the related pages were working fine, so I left them in and pushed your initial commit, and another.

Thanks, and sorry for being so slow.

commit 7bfb89dce3adc3e3d9b49b790a2c8ecd61ff989c
Author: Frédéric Péters <fpeters@0d.be>
Date:   Fri Jun 11 20:21:05 2010 +0200

    [buildbot] update buildbot version to 0.7.12 (GNOME bug 613917)

commit 43801d70412e7916a3a232df80021f7de7c106e2
Author: Sascha Silbe <sascha-pgp@silbe.org>
Date:   Thu Mar 25 14:45:32 2010 +0000

    JhBuildMaster.loadConfig(): sync code with upstream (buildbot-0.7.12)