ArduPilot / companion

Companion computer startup scripts and examples
GNU General Public License v3.0
104 stars 164 forks source link

Use submodules to reference GitHub repositories #24

Open peterbarker opened 7 years ago

peterbarker commented 7 years ago

Currently we have raw instructions in scripts that git clone random repositories; we should instead have submodules. That will let us reference specific commits that should be checked out, rather than either changing to a branch (which could change), or taking pot luck with the master branch.

davidbuzz commented 7 years ago

seems fair.... unless there's a need to fetch different versions of the same repo for any reason. ..?

peterbarker commented 7 years ago

On Thu, 9 Mar 2017, Buzz wrote:

seems fair.... unless there's a need to fetch different versions of the same repo for any reason. ..?

Not as far as I'm aware. Additionally, I think the submodule mechanism would probably allow that anyway :-)