Re: Hudson Ivy plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Hudson Ivy plugin

David Seymore
Hey Colin,
   I have to admit, I wasn't the one that actually coded it.. just jumped in to get it released so that everyone could enjoy the plugin easier (it has been there for a while.. just never got publicized). There was actually another commit a few days ago by Martin Ficker that evidently speeds up the performance a bit.. I haven't had time to consume or inspect the changes..  but, i'll probably put some more effort into it soon.

Anyway.. glad to hear from someone else working with Ivy & Hudson! :)

-Dave Seymore

On Tue, Jun 17, 2008 at 12:06 PM, Stephen Colin (UK) <[hidden email]> wrote:

Hi David,

Well done for tackling Ivy - Hudson integration !

I had some thoughts of writing a similar plugin myself. So far I just use a hack, but thought I'd share the idea with you.

The different approach I'm taking is a "pull" rather than "push", by triggering a build for a job if its immediate dependencies change. It's potentially more expensive but does mean the solution works over multiple publishing Hudson instances and if new upstream/third-party libraries become available.

In practise, even my current ant based hack can check the status of over a hundred projects a minute doing a resolve on each and checking "ivy.deps.changed". This could be done relatively easily from a trigger plugin similar to the Subversion polling. For efficiency, to save copying files about excessively when checking for changes, it's better to set "useOrigin=true" and scan a local filesystem repository if one is available. From within the Ivy API there may be more robust ways to achieve the same end.



Colin Stephen
ISD - Data Delivery Development Team (DDT)
Telefónica O2 UK Ltd
Mob: +44 (0) 7801 850728

This electronic message contains information from O2 which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address below) immediately.
Switchboard: +44 (0)113 272 2000
Telefonica O2 UK Limited 260 Bath Road, Slough, Berkshire SL1 4DX Registered in England and Wales: 1743099. VAT number: GB 778 6037 85

David Seymore
[hidden email]