Closed ulrikpedersen closed 7 months ago
I also found that this set of instructions to prepare the ibek-support submodule didn't quite work out of the box:
cd /workspaces/ioc-lakeshore340
git submodule set-url ibek-support <PASTE *HTTPS* URL HERE>
git submodule update
cd ibek-support
git fetch
git checkout tutorial-KEEP # see note below
git remote -v # verify that the origin is your fork
cd ..
The git submodule update
command didn't do anything and ibek-support
was still empty. I had to do a git submodule init
before the git submodule update
command.
@marcelldls - did you encounter these problems on your recent review of the tutorials.
@ulrikpedersen I think you are right about the manual instructions.
git submodule update
should be:
git submodule update --init
Regarding the build script - that is supposed to do the same command if it sees no submodule - so something is wrong there - will look into that.
This was an issue with the build script check for existing submodule and is fixed in template 3.4.0 https://github.com/epics-containers/ioc-template/blob/6ea1acb82783a5362cf011f0560c50cbbc13bfcd/template/build#L27-L28
When following the tutorial to create a new Generic IOC, I find that Step number 5 does not work when running the
./build
:I think the reason is that the
ibek-support
git submodule has not been pulled, so theibek-support/
directory is empty:The tutorial does contain instructions on how to pull the ibek-support submodule but only some way further down in the Prepare the ibek-support Submodule section.