1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-11-08 12:09:18 +01:00
Commit Graph

208 Commits

Author SHA1 Message Date
Andreas Wachter
46317e71c9
Issue 191 (#192)
* change fatal to warning

* remove directory if not repository

* added error message to warning

* add error around directory removal

* remove repo if initial clone goes wrong
v0.10.26
2024-01-03 09:15:34 +01:00
Andreas Wachter
477657da67
updated modules (#195) 2023-12-31 11:16:59 +01:00
dependabot[bot]
292086e013
Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.11.0 (#193)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.9.0 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.9.0...v5.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.10.25
2023-12-27 18:19:55 +01:00
dependabot[bot]
470cd01363
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#190)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.10.24
2023-12-19 08:08:59 +01:00
Andreas Wachter
a78d73f5de
fix relative path for issues (#189) 2023-12-04 13:24:18 +01:00
Andreas Wachter
ccb0c5850d
fix path for clone (#187) v0.10.23 2023-12-03 14:56:01 +01:00
Andreas Wachter
52a834b42b
backup issues from github (#185)
* backup issues from github

* gitlab issues

* added gitea

* added gogs

* added onedev

* updated examples

* added more documentation
2023-12-01 07:58:53 +01:00
Andreas Wachter
a7f72fc9ce
use ubuntu docker file v0.10.22 2023-10-30 07:29:34 +01:00
dependabot[bot]
633483a275
Bump golang.org/x/net from 0.15.0 to 0.17.0 (#179)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 07:58:46 +02:00
Andreas Wachter
27cbf30d35 exclude tagalign v0.10.21 2023-10-04 12:16:54 +02:00
Andreas Wachter
fecb4040e6
added sublogger to gitea (#178)
* added sublogger to gitea

* implemented the rest of the subloggers
2023-10-04 10:55:24 +02:00
Andreas Wachter
f03be6607f
Gitea lfs (#177)
* variable mirror interval

* added LFS switch for gitea
2023-10-04 08:09:42 +02:00
Andreas Wachter
d2460324d8
variable mirror interval (#176) 2023-10-04 07:44:40 +02:00
Andreas Wachter
e530b8b3df
updated archiver (#175) 2023-10-03 15:53:43 +02:00
Andreas Wachter
604d18d4ab
added interval (#174) 2023-10-03 08:25:40 +02:00
Andreas Wachter
082821bfb9
added force push (#172) v0.10.20 2023-09-29 17:10:06 +02:00
Andreas Wachter
77024fb0a5
implemented backup to organization (#169)
* implemented backup to organization

* go mod tidy

* update lint
v0.10.19
2023-09-29 12:26:03 +02:00
Andreas Wachter
636b09bb16
Update README.md
added Homebrew
2023-09-07 10:15:54 +02:00
Andreas Wachter
03bfdc197d update example and readme v0.10.18 2023-08-17 08:32:45 +02:00
Andreas Wachter
4fac8115ff
Error on second push (#166)
* there is an error on second push if the repo has only one branch

* fixed fetch error message
2023-08-17 08:06:10 +02:00
Andreas Wachter
f8ad43bb29
Multiple branches (#165)
* added github mirror functionality

* create temporary directory to clone into

* added onedev as destination

* added sourcehut

* add new examples

* added push of all branches, autocreation of repos on sourcehut

* push everything

* sourcehut visibility fix
2023-08-16 14:04:59 +02:00
Andreas Wachter
f468f48ba1
mirror functions (#164)
* added github mirror functionality

* create temporary directory to clone into

* added onedev as destination

* added sourcehut

* add new examples
2023-08-15 18:13:21 +02:00
Andreas Wachter
beae85c182
implemented git lfs (#160)
* implemented git lfs

* removed arm/v6 from docker builds

* add lfs to example
2023-07-18 10:56:43 +02:00
Matthew Toohey
616e2d6a31
Bump Go version in go.mod to 1.17 (#156) v0.10.17 v0.10.16-1 2023-06-04 20:49:10 +02:00
Andreas Wachter
64a67254e6
implemented exclude forks (#155) v0.10.16 2023-06-04 08:30:02 +02:00
dependabot[bot]
2bc4aa432a
Bump github.com/cloudflare/circl from 1.3.2 to 1.3.3 (#150)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 16:17:21 +02:00
Andreas Wachter
2e75d80540
Push notification not on all runs (#152)
* added gotify and ntfy to notify

* added new example config

* use push config in all configs
2023-05-16 09:39:46 +02:00
Seow Alex
25288d6df2
Fix Gogs repository visibility (#149) v0.10.15 2023-05-02 17:17:30 +02:00
Andreas Wachter
fae97c289b
Push (#148)
* added gotify and ntfy to notify

* added new example config
2023-05-02 16:43:55 +02:00
Andreas Wachter
b2da20028e
added gotify and ntfy to notify (#147) 2023-05-02 16:40:56 +02:00
Seow Alex
d622367738
Backup description and visibility (#146) 2023-04-23 21:11:12 +02:00
Andreas Wachter
80529e1999 build release for arm64/v8 v0.10.14 2023-03-03 07:28:44 +01:00
Andreas Wachter
3009366b05 set warning if no destinations are configured 2023-03-03 07:26:35 +01:00
Andreas Wachter
274e4123e1
build arm64/v8 2023-03-02 06:45:45 +01:00
Andreas Wachter
bded5188c2 push main branch to dev docker image 2023-03-01 07:45:18 +01:00
Andreas Wachter
c951f27e0f
Create FUNDING.yml 2023-02-28 19:18:20 +01:00
Andreas Wachter
8a86bc4904
backup contributed repos from github (#141) 2023-02-28 19:11:36 +01:00
Jamie Holdstock
05e56b426a
Only apply language filter if specified in config. (#140)
GitHub repos were previously filtered by language even when no language filter was specified in config. This only affected GitHub, the others already check if lang filter exists before filtering.
2023-02-22 12:39:33 +01:00
Andreas Wachter
e56f8c8ec2
Logging dont die because of everything (#139)
* token can be environment variable

* don't quit because of everything
2023-02-20 17:00:19 +01:00
Andreas Wachter
9a947e7cb4 fix tokens 2023-02-20 16:58:22 +01:00
Andreas Wachter
1eb19f16a0
token can be environment variable (#138) 2023-02-20 16:43:03 +01:00
Andreas Wachter
3d125133ef
implement filters for github (#137)
* implement filters for github

* add filter to exclude archived repositories

* add filter for gitea/forgejo

* gogs filter option

* fix error log

* include gitlab filters

* fix logging

* parse duration

* filters for onedev and sourcehut

* adapted conf.example.yml
2023-02-20 16:05:01 +01:00
Andreas Wachter
aa388bb933 cleanup 2023-02-18 16:47:46 +01:00
Andreas Wachter
ce069a08c0 updated modules 2023-02-18 16:47:17 +01:00
Andreas Wachter
f61574bf9c
improved prometheus metrics (#134)
* improved prometheus metrics

* change RepoTime to gauge

* fix gitea, only set metrics if ran
v0.10.13
2023-02-10 06:07:11 +01:00
Andreas Wachter
7bffb8d992
Get user (#133)
* get user from gitea

* better output

* gogs use "token user"
2023-02-07 06:56:51 +01:00
Andreas Wachter
9d4a2cd3cc
Update README.md 2023-02-06 11:08:40 +01:00
Andreas Wachter
732de324da
updated onedev (#132) v0.10.12 2023-01-22 11:49:27 +01:00
Andreas Wachter
12d496dba7
added option to clone the repository as bare (#131) v0.10.11 2023-01-11 11:00:48 +01:00
Andreas Wachter
230c4fbb60 added new line underneath the picture 2023-01-10 09:12:05 +01:00