Skip to content

Added community modules as a git submodule#256

Closed
ahelwer wants to merge 1 commit intotlaplus:mainfrom
ahelwer:add-community
Closed

Added community modules as a git submodule#256
ahelwer wants to merge 1 commit intotlaplus:mainfrom
ahelwer:add-community

Conversation

@ahelwer
Copy link
Copy Markdown
Collaborator

@ahelwer ahelwer commented Mar 30, 2026

Should fix CI and unit test failures

Ref #252

Comment thread library/CommunityModules
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend following the main branch instead of pinning it to a specific commit.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not entirely sure that is possible, but I tried nonetheless (see .gitmodules file)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If Git itself doesn’t support this, one option would be to have tlapm’s GitHub automation download and extract CommunityModules.zip as part of the build process.

This wouldn’t solve the local development setup, but in practice that already requires fetching dependencies (e.g., via opam), so this wouldn’t be introducing a fundamentally new requirement.

More importantly, it would align tlapm with how other projects (tlaplus/tlapus and tlaplus/vscode-tlaplus) consume tlaplus/CommunityModules.

Should fix CI and unit test failures

Signed-off-by: Andrew Helwer <ahelwer@pm.me>
@ahelwer
Copy link
Copy Markdown
Collaborator Author

ahelwer commented Apr 2, 2026

Closing in favor of an approach where the build system runs a wget on the latest CommunityModules release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants