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.1.0.tar.gz (44.5 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.1.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wiswa_vcs-0.1.0.tar.gz
  • Upload date:
  • Size: 44.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 b601751e66e1fcc608828327c51acfcc74ecbcea1a14a8ef35b2b91ddfca8554
MD5 8e9b20e5085e6a2bb884d83977cdd08d
BLAKE2b-256 1e015fdb58dcda969a6bb8b4e3ab9de1ca3d993b17f7dd9ada10da745ba2e999

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiswa_vcs-0.1.0.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: wiswa_vcs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f94df2b689bac82bc0c0ade650c662322c5eaccd47f6194cfcd89b9de161c054
MD5 d22a0b26521c91bac6615f6c564f6e3e
BLAKE2b-256 e1269099f27bef1228c67a30f2b5f01c0385e79156a486904c2a79c41d056fc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiswa_vcs-0.1.0-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