Re: Building backwards in time
Jani Mikkonen <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Stepping into thread to just give my ++ to the actual suggestion. Feature itself is not that far fetched since other build tools have this kind of ability. Buildbot ( http://buildbot.net/trac ) comes to mind first (if i remember correctly) Few pro's for such feature: - saved diskspace for not requiring to store the artfifacts for extended period of times. - error verifications, for example: sometimes builds just fail with no apparent reason, later on it would require manual work make that certain build to happen. - say, i've added some new build steps to the builder composite chain: Example say, i've just found out a some static analyzer and i want to do compare the old versions already being build to the head of a trunk. - I know this is a poor pro item but i'll mention it anyway: CC already has this kind of feature, kinda ;) One can rebuild the latest head anyway, over and over and over again - just be clicking the "build" button. - just because its a nice feature =) >From user's perspective, i'd see it implemented something like this: Each time scm plugin notices there's changes, get that exact commit id stored and store that into the logfiles that cc generates. When user is viewing the log of the old build, there's a "rebuild" button somewhere and triggering the rebuild would pass the commit id to the scm plugin which would checkout the source with that id and rest of the build phases are executed as normally.. Obviously something needs to be decided on matter of build index incrementing if user has requested a rebuild. And how logfiles's possible differences affect each other. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com