Skip to main content

A tool for mass archiving git repositories

Project description

Git Archiver

A tool designed to mass archive a collection of git repositories on a file system into a format that can be put into "cold storage".

This project is still early in development

Archived Format

When running an archive into specific structure, shown below:

dst/
    enchant97/
        git-archiver/
            branches/
                pre.<archive-type>
            tags/
            all.bundle
            HEAD.<archive-type>
            meta.json

Install

There are many ways of installing and running a Python app. These are the recommended methods.

pipx

pipx is used when you want it installed on the system for a user.

python3 -m pip install --user pipx
python3 -m pipx ensurepath

pipx install git+https://github.com/enchant97/git-archiver.git

git-archiver --help

Docker

This method allows running the program inside a docker container.

docker build -t git-archiver .

docker run --rm -it git-archiver <app args here>

License

This project is Copyright (c) 2022 Leo Spratt, licences shown below:

Code

Apache License - Version 2.0. Full license found in `LICENSE.txt`

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

git-archiver-0.1.1.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

git_archiver-0.1.1-py3-none-any.whl (12.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