Whole tree up to date before committing
Óscar Fuentes
ofv at wanadoo.es
Thu Oct 22 21:41:21 BST 2009
Alexander Belchenko <bialix at ukr.net> writes:
> Óscar Fuentes пишет:
>> "Stephen J. Turnbull" <stephen at xemacs.org> writes:
>>
>> One project where I partipate has about 20 daily committers, which
>> combined make an average of about 100 commits per day. Most of them
>> work on the same timezone, so commits tend to concentrate on the same
>> hours. As they are serious about keeping the build pristine, a full
>> `make check' is mandatory before committing code changes (let's say
>> there are 60 of those per day). Building the project and running the
>> test suite takes about 20 minutes on a state-of-the-art workstation. I'm
>> sure you will realize that bazaar's policy will create a so serious
>> bottleneck that is inapplicable.
>
> Are you aware of PQM? It's designed to solve exactly this problem:
> unload developers from boring stuff of landing their patches when
> there is many developers plus running tests before commit?
I guess you are talking about https://launchpad.net/pqm
A series of doubts arise:
So let's suppose that the merge have no conflicts, the build works and
the test suite succeeds. What's next? If the PQM automatically merges
and commits to master, the developer is not forced to review the final
state of the master branch, so it is not different from subversion's
implicit merge + buildbot. OTOH, if the PQM reports back to the
developer that the patch introduces no problems, before he commits maybe
the master trunk diverged again and so he must submit the patch to the
PQM once more time.
If my understanding is right, there is one PQM and all patches must go
through it. This creates a bottleneck of its own. For the project I'm
thinking on, even a 16 way machine would be unable to keep pace with the
patches at peak hours, and that would check just one platform.
So I don't see this as a big improvement for a highly active project.
Sorry if I missed something essential, but I was unable to find further
documentation from that web page.
--
Óscar
More information about the bazaar
mailing list