wiswa-vcs
Library and CLI for synchronising metadata between VCS hosts.
Currently provides:
wiswa-sync-gh-gl— mirror a GitHub repository’s description, homepage, topics, protected branches and tags, and project badges to a GitLab project; trigger GitLab housekeeping.
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.