Metadata-Version: 2.1
Name: git-backups
Version: 0.1.0
Summary: Backup git repositories to a Gitlab instance
Home-page: https://github.com/0xKD/gitbackups
Author: Kedar Deore
Author-email: kedardeore@gmail.com
License: MIT license
Description: ![status](https://github.com/0xKD/git-backups/actions/workflows/test.yml/badge.svg)
        
        Script to back up a git repo to a Gitlab instance.
        
        #### Usage:
        
        Create a config file (at `.env`)
        
        ```shell
        export GITLAB_URL=https://your.custom.gitlab.instance
        export GITLAB_USERNAME=username
        export GITLAB_TOKEN=5v90m4u8nycw984y
        ```
        
        Then run
        
        ```shell
        source .env
        gitbak git@github.com:jazzband/django-robots.git
        ```
        
        This will create a project `django-robots` under the `jazzband` group on the target Gitlab instance.
        
        #### Help
        
        ```
        usage: main.py [-h] [--project PROJECT_NAME] [--group GROUP_NAME] source
        
        positional arguments:
          source                Git repository URL
        
        optional arguments:
          -h, --help            show this help message and exit
          --project PROJECT_NAME
                                Name of the destination Gitlab project. Will be inferred from
          --group GROUP_NAME    Group under which the destination project will be categorised (optional)
        ```
        
        ---
        
        #### Credits
        
        This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [`audreyr/cookiecutter-pypackage`](https://github.com/audreyr/cookiecutter-pypackage) project template.
        
        
        
Keywords: git_backups
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7,<3.10
Description-Content-Type: text/markdown
