Skip to content

project manager: update button does not update git submodules #222

@andr-ew

Description

@andr-ew

here's a little test repo, I did the initial install via the REPL, and files in the base repo & the sub-module are both pulled correctly & print a version message:

submodule version: 1
base repo version: 1

after install, I pushed commits to both repos to have them print twos, then hit the update button for the script in the project manager, confirming that only the base repo pulled the new commits, submodule remained unchanged:

submodule version: 1
base repo version: 2

deleting & reinstalling the project got em both up to date:

submodule version: 2
base repo version: 2

previously, I was just distributing each version of my submodule'd scripts in .zip files as a workaround, but that caused some weirdness with the new norns.community, so @tehn proposed fixing the root cause here

tysm for taking a look ! hopefully there's not something obvious I'm missing. since submodules are more of an opt-in feature of git I didn't necessarily expect submodule pulls to be a feature but it certainly would be helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions