[Buildbot-commits] [Buildbot] #2155: Change git submodule handling in incremental builds
Buildbot
nobody at buildbot.net
Sun Nov 27 11:53:42 UTC 2011
#2155: Change git submodule handling in incremental builds
------------------------+----------------------------
Reporter: Tobi | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: undecided
Version: 0.8.5 | Keywords: git submodules
------------------------+----------------------------
Currently, master-side git source step does only "git submodule update
--recursive" if submodules=True.
Thus:
* If upstream adds a new submodule, it won't be visible to the slaves
before they perform a full/clobber build. As far as I know, there is no
way to trigger a full/clobber build in an incremental builder remotely:
someone needs to go on the slave machine and remove the build directory.
* If the fetch URL of a submodule changes, the slave won't be able to
update it anymore. This is uncommon, but may happen nevertheless (e.g., if
someone who's submodule you have added changes his github username ;-)).
So I suggest to add always the "--init" argument to "git submodule
update", so that new submodules get picked up. This will solve the first
point.
The second point can be fixed by running "git submodule sync" before "git
submodule update".
--
Ticket URL: <http://trac.buildbot.net/ticket/2155>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list