benoit sigoure lwzbplrdeepitafr latest build recent builds pages button force stop build builders convenient trigger build builders feature frequently asked statuswebbasewebpy onelineperbuildbody print forms forcestop builds builders depending state builders oneboxperbuilderbody ditto webstatus document new _allforcestop urls statuswebbuilderpy statusresourceallbuilders new class buildersresourcegetchild handle special child _all dispatches commands builders signedoffby benoit sigoure buildbotstatuswebbasewebpy 41 buildbotstatuswebbuilderpy 60 2 files changed 96 insertions 5 deletions diff git abuildbotstatuswebbasewebpy bbuildbotstatuswebbasewebpy index 9475334aa9551b 100644 abuildbotstatuswebbasewebpy bbuildbotstatuswebbasewebpy 117 118 twistedspread import pb buildbotinterfaces import icontrol istatusreceiver buildbotstatuswebbase import htmlresource box build_get_class icurrentbox onelinemixin map_branches build_get_class icurrentbox onelinemixin map_branches make_stop_form make_force_build_form buildbotstatuswebwaterfall import waterfallstatusresource buildbotstatuswebchanges import changesresource buildbotstatuswebbuilder import buildersresource 10512 10628 class onelineperbuildhtmlresource onelinemixin data builders sn joinbuilders data n got 0 building false online 0 build g got 1 data selfmake_linereq build n builder_status buildgetbuildergetstate0 builder_status building building true online 1 elif builder_status offline online 1 got data matching builds foundn data n building stopurl builders_allstop data make_stop_formstopurl online forceurl builders_allforce data make_force_build_formforceurl return data 1657 1827 class oneboxperbuilderhtmlresource def bodyself req status selfgetstatusreq builders reqargsgetbuilder statusgetbuildernames branches b b reqargsgetbranch b 1736 1909 class oneboxperbuilderhtmlresource data latest builds sn joinbranches data n building false online 0 bn builders builder statusgetbuilderbn data n 2007 22023 class oneboxperbuilderhtmlresource data buildn current_box icurrentboxbuildergetboxstatus data current_boxtdaligncenter builder_status buildergetstate0 builder_status building building true online 1 elif builder_status offline online 1 data n building stopurl builders_allstop data make_stop_formstopurl online forceurl builders_allforce data make_force_build_formforceurl return data 2546 2907 class webstatusservicemultiservice buildersbuildernamebuildsnumstepsstepnamelogslogname statuslog buildersbuildernamebuildsnumtests summarize test results buildersbuildernamebuildsnumteststestname results one test builders_allforcestop force buildstop building builders changes summarize changesources changeschangenum page describing single change schedulersschedulername page describing scheduler including diff git abuildbotstatuswebbuilderpy bbuildbotstatuswebbuilderpy index f67fb454ea47cf 100644 abuildbotstatuswebbuilderpy bbuildbotstatuswebbuilderpy 117 117 buildbotstatuswebbase import htmlresource make_row buildbotprocessbase import buildrequest buildbotsourcestamp import sourcestamp buildbotstatuswebbuild import buildsresource buildbotstatuswebbuild import buildsresource statusresourcebuild buildersbuilder class statusresourcebuilderhtmlresource onelinemixin 1147 1147 class statusresourcebuilderhtmlresource onelinemixin pingurl urllibquotereqchildlinkping data ping buildslaves push ping button ping buildslaves click ping button 1517 1517 class statusresourcebuilderhtmlresource onelinemixin revision revision none todo authenticate particular user pushed todo authenticate particular user clicked button use name instead none theyll informed results sourcestampbranchbranch revisionrevision 2006 20057 class statusresourcebuilderhtmlresource onelinemixin return htmlresourcegetchildself path req builders_all class statusresourceallbuildershtmlresource onelinemixin def __init__self status control htmlresource__init__self selfstatus status selfcontrol control def getchildself path req path force return selfforcereq path stop return selfstopreq return htmlresourcegetchildself path req def forceself req bname selfstatusgetbuildernames builder_status selfstatusgetbuilderbname builder_control none c selfgetcontrolreq c builder_control cgetbuilderbname build statusresourcebuilderbuilder_status builder_control buildforcereq return redirectwaterfall def stopself req bname selfstatusgetbuildernames builder_status selfstatusgetbuilderbname builder_control none c selfgetcontrolreq c builder_control cgetbuilderbname state current_builds builder_statusgetstate state building continue b current_builds build_status builder_statusgetbuildbnumber build_status continue builder_control build_control builder_controlgetbuildbnumber else build_control none build statusresourcebuildbuild_status build_control builder_control buildstopreq return redirectwaterfall builders class buildersresourcehtmlresource title builders 2316 2829 class buildersresourcehtmlresource c builder_control cgetbuilderpath return statusresourcebuilderbuilder_status builder_control path _all return statusresourceallbuildersselfgetstatusreq selfgetcontrolreq return htmlresourcegetchildself path req 1535654gdd5ec fri 08 aug 2008 093932 0100 buildbotdevel patch 0611 add forcestop buttons affect builders