1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-10-18 13:48:07 +02:00
Backup all your repositories with Ease.
Go to file
Andreas Wachter f61574bf9c
improved prometheus metrics (#134)
* improved prometheus metrics

* change RepoTime to gauge

* fix gitea, only set metrics if ran
2023-02-10 06:07:11 +01:00
.github/workflows upgraded CodeQL to v2 2022-10-11 12:23:13 +02:00
bitbucket improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
gitea improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
github improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
gitlab improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
gogs improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
local improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
logger chore: add linting (#101) 2022-03-20 11:25:11 +01:00
metrics improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
onedev improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
sourcehut improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
types added option to clone the repository as bare (#131) 2023-01-11 11:00:48 +01:00
whatever improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
.gitignore chore: add linting (#101) 2022-03-20 11:25:11 +01:00
.golangci.yml chore: add linting (#101) 2022-03-20 11:25:11 +01:00
.goreleaser.yml Adds archive format override for Windows to use ZIP 2021-12-13 00:01:26 -05:00
conf.example.yml added option to clone the repository as bare (#131) 2023-01-11 11:00:48 +01:00
docker-compose.yml Documentation: add information about cron / timezone and saving to Docker volume locally (#88) 2022-02-07 08:18:36 +01:00
Dockerfile Update Dockerfile (#102) 2022-03-20 13:05:10 +01:00
gickup.png added logo 2023-01-10 09:10:34 +01:00
go.mod updated onedev (#132) 2023-01-22 11:49:27 +01:00
go.sum updated onedev (#132) 2023-01-22 11:49:27 +01:00
justfile added just file 2022-10-17 12:08:04 +02:00
LICENSE init 2021-05-30 23:04:17 +02:00
main_test.go chore: add linting (#101) 2022-03-20 11:25:11 +01:00
main.go improved prometheus metrics (#134) 2023-02-10 06:07:11 +01:00
Makefile chore: add linting (#101) 2022-03-20 11:25:11 +01:00
README.md Update README.md 2023-02-06 11:08:40 +01:00

Build and Publish

GICKUP

gickup

Backup all the repositories.

A lot of hosters are already supported, but if you see that there is one missing, feel free to create a MR or open an issue and I will take care of it.

You can clone/mirror repositories from:

  • Github
  • Gitlab
  • Gitea
  • Gogs
  • Bitbucket
  • OneDev
  • Sourcehut
  • Any

You can clone/mirror them to:

  • Gitlab
  • Gitea
  • Gogs
  • Local

Official Documentation

How to make a configuration file

Here is an example

How to run the binary version

./gickup path-to-conf.yml

How to run the Docker image

mkdir gickup
wget https://raw.githubusercontent.com/cooperspencer/gickup/main/docker-compose.yml
nano conf.yml # Make your config here
docker-compose up

Compile the binary version

go build .

Compile the Docker Image

git clone https://github.com/cooperspencer/gickup.git
cd gickup
nano docker-compose.yml # Uncomment the Build
nano conf.yml # Make your config here
docker-compose build
docker-compose up

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

Distribution Packages

Distribution Package Maintainer
Arch gickup me

Issues

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.

Future Ideas

  • Additional VCS
  • Add minio as a destination