Skip to content

Add submodule support for Git stacks#1109

Draft
Westie wants to merge 10 commits into
Finsys:mainfrom
Westie:main
Draft

Add submodule support for Git stacks#1109
Westie wants to merge 10 commits into
Finsys:mainfrom
Westie:main

Conversation

@Westie

@Westie Westie commented May 28, 2026

Copy link
Copy Markdown
Contributor

Important

Marked as draft pending advice relating to creating Postgres migrations

Proposed change

Introduction

This PR adds in support for submodules within Git stacks.

I've created a new property for git repositories, called submodulesEnabled.

This property, if enabled, effectivelly calls the following commands upon syncing a git repository, syncing a git stack and deploying a git stack:

git submodule sync --recursive
git submodule update --init --recursive

FYI I have checked, the .git folder that belongs to the submodule is not copied across from the repository to the stack.

Since deployments of stacks don't actually take git into consideration, all we need to do is actually ensure the submodule is properly set up - which this does to the best of its ability.

Closes #917

What it looks like

Screenshot 2026-05-28 at 23 37 18

Type of change

  • Bug fix: non-breaking change which fixes an issue.
  • New feature / Enhancement: non-breaking change which adds functionality.
  • Breaking change: fix or feature that would cause existing functionality to not work as expected.
  • Other. Please explain:

@CLAassistant

CLAassistant commented May 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Submodule support for git stacks

2 participants