epics-containers / ioc-template-example

An example instantiation of the ioc-template copier template used for verifying the template
Apache License 2.0
0 stars 0 forks source link

Manual restore of sub-module required after ioc-template updates #1

Open gilesknap opened 3 months ago

gilesknap commented 3 months ago

This is because the ioc-template CI commits changes to this repo using https://github.com/epics-containers/ioc-template/blob/4a13ff058db9212cb5328c19b42c48ab3e7f375f/.github/workflows/_example.yml#L29-L38

This does not honour the sub-module, instead adding it as a folder in the repo.

Current workaround is to clone this repo,

git submodule add https://github.com/epics-containers/ibek-support.git

and push back to main.

Leaving as a manual workaround for now as it's sort of a useful reminder to verify that this example represents what we changed in ioc-template. (plus I don't know how to fix it yet)

gilesknap commented 2 months ago

Last time I did this I had to do instead:

git submodule add --force https://github.com/epics-containers/ibek-support.git