I wonder if anyone has experience in a subversion-based software build system with the scenario below:
- you have an svn repository (we’ll call this repoA) that defines an svn:external (this would be repoB)
- Upon commit to either repoA or repoB, a trigger to build on repoA will happen
Based on what I understood from subversion hooks, this would roughly do the job:
- repoA
- there will be a post-revprop-change hook that would trigger the build on repoA when a predefined property(let’s arbitrarily call this extern:changed) is changed. The said property will be set by the post-commit in repoB
- there will be a post-commit hook that would trigger build on itself whenever there is a commit.
- repoB
- there will be a post-commit hook that would set the property(extern:changed) on repoA.
I have only tried doing post-commit and pre-commit hooks before so this is a bit new to me.
Will keep you posted when I discover the answer plus corrections/validations to my solution assumptions above but if anyone can chime in before I post mine, that would be greatly appreciated.
