OpenDreamProject/od-compiler-bot

Submodules are not kept up to date

Opened this issue · 3 comments

Just had to manually run git submodule update --init --recursive on OpenDream

This should be handled by this block. Will need to see why it's not properly updating things

def updateSubmodules(od_repo: Repo) -> None:
"""
Recursively update and initialize submodules
od_repo: OpenDream repository with the submodules
"""
for submodule in od_repo.submodules:
submodule.update(init=True, recursive=True)
compile_logger.info(f"{submodule.name} is at: {submodule.hexsha}")

Haven't been able to reproduce this. My local instance has been updating the submodules without much issue. Going to keep an eye out for the next submodule bump to see if we encounter the same issue again. Closing for now.

I may have reproduced this. Re-opening