Skip to main content

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

Project description

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:

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiswa_vcs-0.0.1.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiswa_vcs-0.0.1-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file wiswa_vcs-0.0.1.tar.gz.

File metadata

  • Download URL: wiswa_vcs-0.0.1.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wiswa_vcs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 af02f83e70a6e4fbef01d5e81d93389c520ac943a100f3aebbc836185ff7fdc6
MD5 2f36b92fa5bf741c091b29efb4502083
BLAKE2b-256 11034884771cf16402d461a77f6ba73b8b1be0cfe9e0127c58a901a1136fb7b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiswa_vcs-0.0.1.tar.gz:

Publisher: publish.yml on Tatsh/wiswa-vcs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wiswa_vcs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: wiswa_vcs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wiswa_vcs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca862490d9f0336435475f8b1995e4d666018a97e13af05d52e2c935c34927b0
MD5 6e659755e87530c2fe27c978df1f41fa
BLAKE2b-256 5aaae7417360c86cb29b7c232133a38f86ed5608765ac53ffa4ac32d583d312a

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiswa_vcs-0.0.1-py3-none-any.whl:

Publisher: publish.yml on Tatsh/wiswa-vcs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page