Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233997 - dev-util/buildbot-0.7.8 version bump
Summary: dev-util/buildbot-0.7.8 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Ali Polatel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 18:33 UTC by John Stile
Modified: 2008-08-16 09:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
notes on creating ebuild, running the upgrade, and verifying WithProperties (buildbot-0.7.8_upgrade_notes.txt,169.36 KB, text/plain)
2008-08-07 07:13 UTC, John Stile
Details
Ebuild for 0.7.8 (buildbot-0.7.8.ebuild,2.89 KB, text/plain)
2008-08-07 20:11 UTC, John Stile
Details
proposed conch useflag for twisted manhole (buildbot_0.7.8_conch_manhole_useflag.txt,186.83 KB, text/plain)
2008-08-08 20:21 UTC, John Stile
Details
ebuild with conch use flag (buildbot-0.7.8.ebuild,2.93 KB, text/plain)
2008-08-08 20:22 UTC, John Stile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Stile 2008-08-05 18:33:18 UTC
I am trying to use the "force build" form fileds "Branch to build: " and
"Revision to build:".

One person on the buildbot-devel list suggested I use WithProperties to send
that information to my ShellCommand, but WithProperties does not exist in 0.7.7
e.g.:
   h.addStep(
     shell.ShellCommand,
     command = [
     "/home/build/bin/build_myproject.bash",
     WithProperties("-b branches/%(branch)s"),
     WithProperties("-r %(revision)%s")
     ]
   )

It appears this has been added to 0.7.8
    http://buildbot.net/trac/ticket/234
    http://buildbot.net/trac/ticket/87  

buildbot 0.7.8 was release July 24th.

Reproducible: Always

Steps to Reproduce:
Comment 1 John Stile 2008-08-05 19:42:36 UTC
This url disucsses the new feature I need.
http://buildbot.net/repos/release/docs/buildbot.html#Using-Build-Properties
Comment 2 John Stile 2008-08-07 07:13:03 UTC
Created attachment 162411 [details]
notes on creating ebuild, running the upgrade, and verifying WithProperties

I used buildbot-0.7.7-r1.ebuild to make buildbot-0.7.8.ebuild with simple substitution.  
After running python-updater several times, updating to 2.5, the ebuild succeeded.
I tested using localhost for both master and slave, and my shell script prints the options it was passed.
All steps, configs, and output are included in this attachment.
I hope this helps get buildbot-0.7.8.ebuild into portage.
Thank you.
Comment 3 John Stile 2008-08-07 20:11:18 UTC
Created attachment 162462 [details]
Ebuild for 0.7.8

Ebuidl i used to install on x86
Comment 4 John Stile 2008-08-08 20:21:16 UTC
Created attachment 162542 [details]
proposed conch useflag for twisted manhole 

In the buld log in attachment 162411 [details], you will see errors regarding:
  import error: buildbot.manhole No module named conch

manhole in an optional twisted "remote control" kind of thing on top of ssh server

Manhole needs package twisted-conch ebuild installed, so I propose a useflag, possibly called conch, in line with the other use flags.

I added the 'conch' use flag to the ebuild, added the use flags to package.use, and reinstalled buildbot.

The attached file is my build log, where you can see the error is now gone.
Comment 5 John Stile 2008-08-08 20:22:25 UTC
Created attachment 162543 [details]
ebuild with conch use flag

this is the ebuld with the added conch use flag.
Comment 6 Ali Polatel (RETIRED) gentoo-dev 2008-08-16 09:39:40 UTC
buildbot-0.7.8 is in CVS with manhole USE flag.
Thanks for reporting :-]