You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the annoying thing about this is it's a call to gitpython itself, which doesn't allow for any sort of method to disable the remote prefix (ie the /refs/heads/ part) so we're having to call subprocess.run() instead. We have added a comment for this in the code as well.
Issue
On newly created submodules we realised that the generator puts
refs/head/main
as branch reference instead of the correctmain
.We saw this issue with the new IOCs of Meas 905 and Pace 5000.
You can see the correct format around here: https://github.com/ISISComputingGroup/EPICS/blob/a01672b08ce4f38809aa843476bf7209a3c6c5c7/.gitmodules#L746
Get started
Probably look around somewhere here to investigate: https://github.com/ISISComputingGroup/IBEX_device_generator/blob/22331cb0549a3e729179262a055472530a1ac3fe/utils/git_utils.py#L155C49-L155C49
Acceptance criteria
How to Test
Probably by creating a new dummy device and seeing the format of the .gitmodules in EPICS-top
The text was updated successfully, but these errors were encountered: