Skip to content

Properly detect submodule versions#7559

Merged
gregorydlogan merged 1 commit intoopencast:r/18.xfrom
gregorydlogan:t/revision-check
Apr 10, 2026
Merged

Properly detect submodule versions#7559
gregorydlogan merged 1 commit intoopencast:r/18.xfrom
gregorydlogan:t/revision-check

Conversation

@gregorydlogan
Copy link
Copy Markdown
Member

@gregorydlogan gregorydlogan commented Apr 9, 2026

This PR disables the version check in every single module, replacing it with a single parent check. This lets the submodules use the parent's version as their buildnumber, which is currently causing the version listing at the bottom of the admin UI to say Opencast – built on unknown because the module hashes don't work.

Note that we do not currently store the submodule hash in the database, so we have no way to know if the submodules have been modified. A future PR will add support for this, but likely will only land in develop.

This needs to go into r/18.x since otherwise the UI complains :)

Related PRs:
opencast/admin-interface#1573
opencast/editor#1696
opencast/studio#1314

How to test this patch

Build Opencast and ensure that the admin UI does not say built on unknown at the bottom

Your pull request should…

…check this value once. This is important since in the case of the submodules we *do not want* the buildnumber to be the submodule's version. Instead we want to use the parent's version, and have the submodules propagate their own in submodule specific ways.
@gregorydlogan gregorydlogan self-assigned this Apr 10, 2026
@gregorydlogan gregorydlogan merged commit f34f1b7 into opencast:r/18.x Apr 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant