Skip to content

Weblate: Make sure that the integration repo submodules are updated when they are changed in the canonical repo

Originally created by @zen on #17560 (Redmine)

The Weblate integration repository seems to have lost sync with the Tails canonical repository.

This is what was seen in weblatetranslate:~/repositories/integration@:

On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   submodules/chutney (new commits)
        modified:   submodules/jenkins-tools (new commits)

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        submodules/aufs4-standalone/
        submodules/pythonlib/

The following command was run to bring the submodules back in sync with canonical repo:

git submodule update --init

We have to double check our scripts to make sure the integration repo submodules are updated when there’s a change in canonical repo.

Related issues

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information