Benoît Allard | 1 Nov 2010 10:24
Picon

Re: Setting the revision to use in a buildbot.steps.trigger.Trigger (for cross-repository triggering)


Matisse Enzer wrote:
> Is anyone already working on a way to specify the revision to use in a Trigger step?
> 
> I want a commit to repository AAA to have a build step that triggers a build in repository BBB - and so I want to
set the revision to use in repository BBB to 'HEAD'
> 

Hi Matisse, this is not something that works out-of-the-box ... buildbot 
is currently designed to only track one repository. Multi repositories 
is work in progress, and can be tracked with the 'buildcoord' keyword in 
the bug tracker. [1]

For what you are looking for, though, I guess the 'alwaysUseLatest' [2] 
parameter of any Source Checkout Step could be fitting your needs.

Best Regards,
Benoit

[1] http://buildbot.net/trac/query?keywords=~buildcoord
[2] http://buildbot.net/buildbot/docs/current/Source-Checkout.html
Attachment (smime.p7s): application/x-pkcs7-signature, 6031 bytes
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
(Continue reading)

Dustin J. Mitchell | 1 Nov 2010 15:29
Picon
Gravatar

Re: Buildbot Summit 2010 - December 15 (date changes BACK!)

On Thu, Oct 28, 2010 at 1:06 PM, Dustin J. Mitchell <dustin <at> v.igoro.us> wrote:
> The next Buildbot Summit will take place the afternoon (PST) of
> December 15th, 2010.

I screwed up.  *I* can't attend a summit on the 15th.  So, back to
Friday the 17th of December.

I know this excludes a few people, but it's the best option we have.
I'm sorry if this screws up anyone's plans - please let me know if I
can help make it right.

Dustin

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
Dustin J. Mitchell | 1 Nov 2010 15:39
Picon
Gravatar

Re: gitpoller: repo poll failed: [Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 4] Interrupted system call

On Fri, Oct 29, 2010 at 7:24 PM, Matisse Enzer <menzer@...> wrote:
> I actually spent a lot of today trying to hack gitpoller to use getProcessOutput but I am such a beginner
with python and twistd that I could not figured out how to actually get the darned output from the deferred
object that getProcessOutput() returns. I can say that it ran hundreds of times without error.

If you want to send what you have, I'd be happy to take a look.

Dustin

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
Matisse Enzer | 1 Nov 2010 16:55
Picon
Favicon

Re: Buildbot Summit 2010 - December 15 (date changes BACK!)

How large a meeting space is desired?

Sent from my iPhone

On Nov 1, 2010, at 7:29 AM, "Dustin J. Mitchell" <dustin <at> v.igoro.us>  
wrote:

> On Thu, Oct 28, 2010 at 1:06 PM, Dustin J. Mitchell  
> <dustin <at> v.igoro.us> wrote:
>> The next Buildbot Summit will take place the afternoon (PST) of
>> December 15th, 2010.
>
> I screwed up.  *I* can't attend a summit on the 15th.  So, back to
> Friday the 17th of December.
>
> I know this excludes a few people, but it's the best option we have.
> I'm sorry if this screws up anyone's plans - please let me know if I
> can help make it right.
>
> Dustin
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America  
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and  
> Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in  
(Continue reading)

Matisse Enzer | 1 Nov 2010 16:54
Picon
Favicon

Re: Setting the revision to use in a buildbot.steps.trigger.Trigger (for cross-repository triggering)

Thanks.

alwayUseLatest could work- but I am trying to avoid having two  
builders for each "downstream" repo.
I'll see what's in the works in trac - maybe my team can help move  
things along.

Because of the tendency with git to use several smaller repos I  
suspect this issue comes up more as gut becomes more widespread.

(with got you cannot clone an arbitrary subdirectory from a repo as  
you might with e.g. SVN at least I think that's true)

Sent from my iPhone

On Nov 1, 2010, at 2:24 AM, Benoît Allard <benoit <at> aeteurope.nl> wrote:

>
>
> Matisse Enzer wrote:
>> Is anyone already working on a way to specify the revision to use  
>> in a Trigger step?
>> I want a commit to repository AAA to have a build step that  
>> triggers a build in repository BBB - and so I want to set the  
>> revision to use in repository BBB to 'HEAD'
>
> Hi Matisse, this is not something that works out-of-the-box ...  
> buildbot is currently designed to only track one repository. Multi  
> repositories is work in progress, and can be tracked with the  
> 'buildcoord' keyword in the bug tracker. [1]
(Continue reading)

Charles Lepple | 1 Nov 2010 22:14
Picon

Obtaining build start time from a step

Is it possible to get the start time of a build from inside of a step? I'm a little lost-- seems like it should be
there somewhere since it is shown on the build status page, but I don't know how to find an instance of
IBuildStatus on a running build (or something equivalent). 

Thanks,

--

-- 
- Charles Lepple
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
Duncan Ferguson | 2 Nov 2010 11:43
Picon
Favicon
Gravatar

VCS polling question

Guys,

After using buildbot for quite some time (since at least 0.72 iirc) there one question that has always
bugged me - how are VCS changes associated with schedulers?

For example, I have 28 SVNpoller's set up, each one is a different project we build in buildbot.  We have 24
build servers, each of which is associated with a factory for each of the 28 projects (our waterfall is very
wide :) )

When we had 1 project being built we were using the Scheduler to pick up changes, but as our projects grew we
swapped to using Periodic so we could build some projects nightly (due to interdependencies) and some
were manually kicked off.  Now we would like to swap back to using Scheduler for some of the projects. 
However, I cannot see how the SVNPoller knows which Scheduler to tell to start the builds when a change
comes in.

All the VCS sources have a 'project' attribute that could be used for this, but that doesnt appear to be
available on the Scheduler to link the two together.

What am I missing?  I have read through the docs a few times and still havn't got it, and I am not much of a python
coder to go through the source.....

Thanks

  Duncs

Buildbot 0.8.2 (just upgraded)
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
(Continue reading)

Benoît Allard | 2 Nov 2010 12:27
Picon

Re: Setting the revision to use in a buildbot.steps.trigger.Trigger (for cross-repository triggering)

Hi Matisse,

Matisse Enzer wrote:
> Thanks.
> 
> alwayUseLatest could work- but I am trying to avoid having two builders 
> for each "downstream" repo.

I don't see how this would imply two builders, just two Source steps, 
and both can (and have to) happen on the same builder if you want anyway 
the source of both repository on the same place. A source step is just 
one more step inside your builder config.
The drawback of this method is that it won't be possible to ask buildbot 
to make a specific build again, as for each build, he now will store 
"useLatest" instead of the right revision.

> I'll see what's in the works in trac - maybe my team can help move 
> things along.

That would be really great ! For now, buildbot has an internal state 
called "SourceStamp". The goal is to introduce an "AggregateSourceStamp" 
that would, well, be the aggregation of multiple SourceStamps, such 
that, and here comes the part that interest you, this object could be 
given to the Source Step and care about *all* the repositories.

> 
> Because of the tendency with git to use several smaller repos I suspect 
> this issue comes up more as gut becomes more widespread.

You are completely right, that is something highly demanded, to an 
(Continue reading)

Amber Yust | 2 Nov 2010 17:12
Favicon
Gravatar

Re: VCS polling question

Oops. That should actually link to the 0.8.2. docs:



(Also a clarification, you create a ChangeFilter object, and then pass that object to the change_filter parameter of the scheduler.)

~Amber

On Tue, Nov 2, 2010 at 9:07 AM, Amber Yust <ayust-MJ2LJywqG9I@public.gmane.org> wrote:
Pollers (and other change sources) generate Changes. Changes are then passed to all registered schedulers (or at least, those that are based on changes, as opposed to those that are based on timing/triggering), and each Scheduler individually decides whether or not it should pay attention to the change. This is generally determined via the change_filter function which is passed to the Scheduler during creation. See here for more details:


~Amber


On Tue, Nov 2, 2010 at 3:43 AM, Duncan Ferguson <duncan_j_ferguson-/E1597aS9LT10XsdtD+oqA@public.gmane.org> wrote:
Guys,

After using buildbot for quite some time (since at least 0.72 iirc) there one question that has always bugged me - how are VCS changes associated with schedulers?

For example, I have 28 SVNpoller's set up, each one is a different project we build in buildbot.  We have 24 build servers, each of which is associated with a factory for each of the 28 projects (our waterfall is very wide :) )

When we had 1 project being built we were using the Scheduler to pick up changes, but as our projects grew we swapped to using Periodic so we could build some projects nightly (due to interdependencies) and some were manually kicked off.  Now we would like to swap back to using Scheduler for some of the projects.  However, I cannot see how the SVNPoller knows which Scheduler to tell to start the builds when a change comes in.

All the VCS sources have a 'project' attribute that could be used for this, but that doesnt appear to be available on the Scheduler to link the two together.

What am I missing?  I have read through the docs a few times and still havn't got it, and I am not much of a python coder to go through the source.....

Thanks

 Duncs

Buildbot 0.8.2 (just upgraded)
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/buildbot-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel@...
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
Amber Yust | 2 Nov 2010 17:07
Favicon
Gravatar

Re: VCS polling question

Pollers (and other change sources) generate Changes. Changes are then passed to all registered schedulers (or at least, those that are based on changes, as opposed to those that are based on timing/triggering), and each Scheduler individually decides whether or not it should pay attention to the change. This is generally determined via the change_filter function which is passed to the Scheduler during creation. See here for more details:



~Amber

On Tue, Nov 2, 2010 at 3:43 AM, Duncan Ferguson <duncan_j_ferguson-/E1597aS9LT10XsdtD+oqA@public.gmane.org> wrote:
Guys,

After using buildbot for quite some time (since at least 0.72 iirc) there one question that has always bugged me - how are VCS changes associated with schedulers?

For example, I have 28 SVNpoller's set up, each one is a different project we build in buildbot.  We have 24 build servers, each of which is associated with a factory for each of the 28 projects (our waterfall is very wide :) )

When we had 1 project being built we were using the Scheduler to pick up changes, but as our projects grew we swapped to using Periodic so we could build some projects nightly (due to interdependencies) and some were manually kicked off.  Now we would like to swap back to using Scheduler for some of the projects.  However, I cannot see how the SVNPoller knows which Scheduler to tell to start the builds when a change comes in.

All the VCS sources have a 'project' attribute that could be used for this, but that doesnt appear to be available on the Scheduler to link the two together.

What am I missing?  I have read through the docs a few times and still havn't got it, and I am not much of a python coder to go through the source.....

Thanks

 Duncs

Buildbot 0.8.2 (just upgraded)
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel@...
https://lists.sourceforge.net/lists/listinfo/buildbot-devel

Gmane