wiswa-vcs

Cross-host VCS metadata sync and mirroring helpers used by Wiswa.

View on GitHub

wiswa-vcs

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy uv pytest Ruff Downloads Stargazers pre-commit Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

Library and CLI for synchronising metadata between VCS hosts.

Currently provides:

Used as a library by wiswa for GitLab project configuration during project generation, and by the Wiswa-generated sync-to-gitlab GitHub Actions workflow to keep mirrored projects in sync after every push.

Installation

pipx install wiswa-vcs

wiswa-sync-gh-gl

GITLAB_TOKEN=... wiswa-sync-gh-gl \
  --github-repository OWNER/REPO \
  --gitlab-repository-uri https://gitlab.com/group/project.git \
  --default-branch master

Most options also accept environment variables (see wiswa-sync-gh-gl --help), which is how the generated GitHub Actions workflow drives the command.