2024-04-02 17:24:18 +02:00
|
|
|
<h1 align="center">
|
|
|
|
<img src="https://github.com/cooperspencer/gickup/blob/main/gickup.png" style="width: 20%;" alt="logo">
|
|
|
|
<br/>
|
|
|
|
GICKUP
|
|
|
|
</h1>
|
2023-01-10 09:12:05 +01:00
|
|
|
|
2024-04-02 17:24:18 +02:00
|
|
|
<h4 align="center">
|
|
|
|
Backup your Git repositories with ease.
|
|
|
|
</h4>
|
2022-12-14 17:53:08 +01:00
|
|
|
|
|
|
|
|
2024-04-02 17:24:18 +02:00
|
|
|
<p align="center">
|
|
|
|
<strong>
|
|
|
|
<a href="https://cooperspencer.github.io/gickup-documentation/" target="_blank">Website</a>
|
|
|
|
•
|
|
|
|
<a href="https://github.com/cooperspencer/gickup/">GitHub</a>
|
|
|
|
•
|
|
|
|
<a href="https://cooperspencer.github.io/gickup-documentation/docs/" target="_blank">Docs</a>
|
|
|
|
</strong>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<a href="https://github.com/cooperspencer/gickup/actions/workflows/docker.yml">
|
|
|
|
<img alt="Build and Publish" src="https://github.com/cooperspencer/gickup/actions/workflows/docker.yml/badge.svg">
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## What is GICKUP?
|
|
|
|
Gickup is a tool that allows you to clone/mirror repositories from one hoster to another.
|
|
|
|
This is useful if you want to have a backup of your repositories on another hoster or to a local server.
|
|
|
|
|
|
|
|
|
|
|
|
### Supported Source and Destionations
|
2021-05-30 23:04:17 +02:00
|
|
|
You can clone/mirror repositories from:
|
|
|
|
- Github
|
|
|
|
- Gitlab
|
|
|
|
- Gitea
|
|
|
|
- Gogs
|
2021-06-01 21:47:48 +02:00
|
|
|
- Bitbucket
|
2022-08-11 21:31:03 +02:00
|
|
|
- OneDev
|
2022-11-16 08:09:33 +01:00
|
|
|
- Sourcehut
|
2022-07-18 13:59:20 +02:00
|
|
|
- Any
|
2021-05-30 23:04:17 +02:00
|
|
|
|
2024-04-02 17:24:18 +02:00
|
|
|
You can clone/mirror repositories to:
|
2023-08-17 08:32:45 +02:00
|
|
|
- Github
|
2021-05-30 23:04:17 +02:00
|
|
|
- Gitlab
|
|
|
|
- Gitea
|
|
|
|
- Gogs
|
2023-08-17 08:32:45 +02:00
|
|
|
- OneDev
|
|
|
|
- Sourcehut
|
2021-05-30 23:04:17 +02:00
|
|
|
- Local
|
|
|
|
|
2024-04-02 17:24:18 +02:00
|
|
|
|
|
|
|
If your hoster is not listed, feel free to open an issue and I will add it.
|
|
|
|
|
|
|
|
|
2022-12-14 17:53:08 +01:00
|
|
|
|
2022-01-01 21:28:02 +01:00
|
|
|
## How to make a configuration file
|
2021-12-22 11:58:46 +01:00
|
|
|
[Here is an example](https://github.com/cooperspencer/gickup/blob/main/conf.example.yml)
|
2021-05-30 23:04:17 +02:00
|
|
|
|
2022-01-01 21:28:02 +01:00
|
|
|
## How to run the binary version
|
2021-12-21 18:07:38 +01:00
|
|
|
`./gickup path-to-conf.yml`
|
2021-05-30 23:04:17 +02:00
|
|
|
|
2021-12-09 17:56:55 +01:00
|
|
|
## How to run the Docker image
|
|
|
|
```bash
|
|
|
|
mkdir gickup
|
|
|
|
wget https://raw.githubusercontent.com/cooperspencer/gickup/main/docker-compose.yml
|
2021-12-21 18:07:38 +01:00
|
|
|
nano conf.yml # Make your config here
|
2021-12-09 17:56:55 +01:00
|
|
|
docker-compose up
|
|
|
|
```
|
2022-01-01 21:28:02 +01:00
|
|
|
## Compile the binary version
|
2021-12-09 17:56:55 +01:00
|
|
|
`go build .`
|
|
|
|
|
|
|
|
## Compile the Docker Image
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/cooperspencer/gickup.git
|
|
|
|
cd gickup
|
|
|
|
nano docker-compose.yml # Uncomment the Build
|
2021-12-21 18:07:38 +01:00
|
|
|
nano conf.yml # Make your config here
|
2021-12-09 17:56:55 +01:00
|
|
|
docker-compose build
|
|
|
|
docker-compose up
|
2021-12-12 13:44:13 +01:00
|
|
|
```
|
|
|
|
|
2022-02-25 09:32:40 +01:00
|
|
|
## Questions?
|
|
|
|
If anything is unclear or you have a great idea for the project, feel free to open a discussion about it.
|
|
|
|
https://github.com/cooperspencer/gickup/discussions
|
|
|
|
|
2021-12-12 13:44:13 +01:00
|
|
|
## Distribution Packages
|
|
|
|
|Distribution|Package|Maintainer|
|
|
|
|
|---|---|---|
|
2023-02-06 11:08:40 +01:00
|
|
|
|Arch|[gickup](https://aur.archlinux.org/packages/gickup/)|[me](https://github.com/cooperspencer)|
|
2023-09-07 10:15:54 +02:00
|
|
|
|Homebrew|[gickup](https://formulae.brew.sh/formula/gickup#default)||
|
2024-06-22 16:24:17 +02:00
|
|
|
|Fedora|[gickup](https://copr.fedorainfracloud.org/coprs/frostyx/gickup/)|[FrostyX](https://github.com/FrostyX)|
|
2021-12-12 13:44:13 +01:00
|
|
|
|
|
|
|
## Issues
|
2021-12-21 18:07:38 +01:00
|
|
|
The mirroring to Gitlab doesn't work, or at least I can't test it properly because I have no access to a Gitlab EE instance.
|
2022-02-25 09:51:50 +01:00
|
|
|
|
|
|
|
## Future Ideas
|
|
|
|
- Additional VCS
|
|
|
|
- [GitBucket](https://gitbucket.github.io/)
|
|
|
|
- Add minio as a destination
|