Skip to main content

Mirror your git repositories and make them cgit-ready

Project description

cgitize

CI

Mirror your git repositories and make them cgit-ready. Supports cloning all of your repositories from major hosting providers:

  • GitHub,
  • Bitbucket,
  • GitLab.

Example output can be found at https://egort.name/git/.

Installation

pip install cgitize

Usage

Pass the path to the config to cgitize (/etc/cgitize/cgitize.toml by default):

cgitize --config path/to/cgitize.toml

See an example config file at examples/cgitize.toml.

cgitize uses the git executable, which might use ssh internally. Make sure the required keys are loaded to a ssh-agent (or use access tokens/application passwords).

Docker

Please see docker/README.md.

Mirror maintenance

Update the URL of an existing repository mirror:

git remote set-url origin git@examples.com/username/name.git

Development

Linting

Requires Pylint.

pylint cgitize

License

Distributed under the MIT License. See LICENSE.txt for details.

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

cgitize-3.0.0.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

cgitize-3.0.0-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

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