Hi all. I’d like to use some blocks in a project and have them set up as git submodules. Is there a recommended way of doing this? I’m currently seeing two issues when trying to set up this via TinderBox…
One issue is that even when a block in
CINDER_ROOT/blocksis a git repo, the Install option for “Git Submodule” is disabled. How is this supposed to work, and/or any idea on why it’s disabled here?
The other issue is that it seems like TB will only look in
CINDER_ROOT/blocks for blocks, and there’s no way to have it scan other locations (like
PROJECT_ROOT/blocks). I’m trying to have my blocks be inside the project folder so things are encapsulated, and so that I can check any blocks that are used across projects out to different commits, instead of having that block exist “globally” in
CINDER_ROOT/blocks such that I’d have to change the commit it’s checked out to whenever I switch between projects with different requirements.
To put it more visually, I’d like to have a folder structure something like this. Is this possible currently, and if not is there interest in adding support for something along these lines to TinderBox?
CINDER_ROOT - blocks - Cinder-OpenCV3 (git repo) - Cinder-Runtime (git repo) - projects - MyDopeProject (git repo) - src - blocks - Cinder-OpenCV3 (git submodule of MyDopeProject) - Cinder-Runtime (git submodule of MyDopeProject) - MyNotAsCoolProject (git repo) - src - blocks - Cinder-OpenCV3 (git submodule of MyNotAsCoolProject) - Cinder-Runtime (git submodule of MyNotAsCoolProject)