Integration using git and buildbot
August 7, 2008 – 23:35Another daily task here is somewhat opposite to autofollowing an open source project.
As I’ve mentioned there, we develop our modifications in git branches. This also stands for commercial projects. And, of course, our customers expect us to integrate our modifications back into their codebase.
Since I’m the integration point, I spend most of my time watching how tests pass:
- full test suite on the feature branch, run by buildbot
git merge --no-commit
with the feature branch from themain
branch; if we’re following the svn project, we use also--squash
to not mess the git-svn logic- run the full test suite again, this time run manually
- commit with a reasonable message and push the change upstream
If both tests pass ok, the only point where manual intervention may be actually necessary is the step when the commit message gets written.
Definitely the next thing to be scripted.