Objectives

  1. To be able to sync git (git clone, git pull, git push) repositories through different doms (VMs), so that users can have an infra-tools vault VM with git bares to serve as remote.
  2. Having SaltStack states that create infra-tools vault and easily set's up desired git bares. It would be good to do it having a VM to interact with online git communities (codeberg, gitlab, github, etc..) and having infra-tools vault clone from there.
  3. Integrate infra-tools to Qubes main development branch.

Status

At this point, all we have:

To sync a git repo from dom0 to vm:

git bundle create $DOM0DIRPATH/$FILENAME --all
sudo qvm-move-to-vm $VM_NAME $DOM0DIRPATH/$FILENAME

To sync a git repo to dom0:

sudo qvm-run --pass $VM_NAME 'cd ${VMPATH} && git bundle create - --all ' > $DOM0DIRPATH/$FILENAME

Working Repo, please contribute

https://codeberg.org/brunoschroeder/qubes-git-syncer