Re: [us...@bb.net] iterating through a property's value?

2018-01-16 Thread Francesco Di Mizio
Well one each answer is quite a few copies, but one for sure :) On Tue 16. Jan 2018 at 17:55, Pierre Tardy wrote: > np, for each answer, I require a copy of the game you are working on :) > > > On Tue, Jan 16, 2018 at 5:45 PM Francesco Di Mizio < > francescodimi...@gmail.com> wrote: > >> Works l

[us...@bb.net] Weekly Meeting Notes

2018-01-16 Thread Dustin J. Mitchell
buildbot.net/meetings/buildbot/2018/buildbot.2018-01-16-16.54.log.html#l-10>, 16:55:33) 1. https://lists.buildbot.net/pipermail/devel/attachments/20180116/3ba3ad0c/attachment.html :) (djmitche <https://supybot.buildbot.net/meetings/buildbot/2018/buildbot.201

Re: [us...@bb.net] iterating through a property's value?

2018-01-16 Thread Pierre Tardy
np, for each answer, I require a copy of the game you are working on :) On Tue, Jan 16, 2018 at 5:45 PM Francesco Di Mizio < francescodimi...@gmail.com> wrote: > Works like charm. Thank Pierre :) > > On Tue, Jan 16, 2018 at 4:35 PM, Pierre Tardy wrote: > >> Hi Francesco, >> >> In order to imple

Re: [us...@bb.net] iterating through a property's value?

2018-01-16 Thread Francesco Di Mizio
Works like charm. Thank Pierre :) On Tue, Jan 16, 2018 at 4:35 PM, Pierre Tardy wrote: > Hi Francesco, > > In order to implement that you will need to create a custom step using the > "new style form" > untested example follows: > > class AddRuntimeSteps(BuildStep): > def run(self): > for item i

Re: [us...@bb.net] how to access DbConfig from www plugins?

2018-01-16 Thread Pierre Tardy
You can see how buildbot travis is doing that: https://github.com/buildbot/buildbot_travis/blob/master/buildbot_travis/api.py https://github.com/buildbot/buildbot_travis/blob/master/buildbot_travis/configurator.py#L303 Regards Pierre On Tue, Jan 16, 2018 at 4:30 PM Alexey Demakov wrote: > Hi a

Re: [us...@bb.net] iterating through a property's value?

2018-01-16 Thread Pierre Tardy
Hi Francesco, In order to implement that you will need to create a custom step using the "new style form" untested example follows: class AddRuntimeSteps(BuildStep): def run(self): for item in self.getProperty("foo", "").split(','): self.build.addStepsAfterCurrentStep(ShellCommand("echo " + item)

[us...@bb.net] how to access DbConfig from www plugins?

2018-01-16 Thread Alexey Demakov
Hi all, I need to store some additional info for my www plugin. I know how to do it with settings service (bbSettingsService), but it uses browser's local storage, I need global solution. I plan to use DbConfig utility [1] to store my info in buildbot database. But I can't figure out how to tr

[us...@bb.net] Buildbot Weekly Summary

2018-01-16 Thread dustin
Weekly Meeting Buildbot has weekly meetings via irc, held at 17:00 BST (London Time) on Tuesdays. Meetings are in #buildbot on Freenode, open to any and all participants. They generally focus on organizational, rather than technical issues, but are open to anything Buildbot-related. To raise

[us...@bb.net] iterating through a property's value?

2018-01-16 Thread Francesco Di Mizio
Hey gents, how do I accomplishing something like this? I'd like to add a block of steps inside a loop. In pseudo code: for item in utils.Property('foo').split(','): addSteps(bar) PS: that wouldnt work obviously :) Thanks! ___ users mailing list u