← 全部工具

Tatsh/wiswa-vcs

热度 65 更新于 开发与构建

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

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

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.