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

239 Commits

Author SHA1 Message Date
Andreas Wachter
67db501a30
added error counter for issues and stop after a 403 occurs (#256)
* added error counter for issues and stop after a 403 occurs

* added errorcounter to other hosters too
2024-08-20 14:13:42 +02:00
John Taylor
d29454e856
Set zip to maximum compression (#252) 2024-08-09 17:39:10 +02:00
Andreas Wachter
d290425c85
fixed onedev (#250)
* fixed onedev

* use clean instead of rm-dist
v0.10.31
2024-08-01 15:26:26 +02:00
dependabot[bot]
1d0fda2def
Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 (#246)
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.5 to 0.7.7.
- [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-retryablehttp/compare/v0.7.5...v0.7.7)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-retryablehttp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 12:13:41 +02:00
Jakub Kadlčík
fb005e3e97
Add Fedora package to the README (#245) 2024-06-22 16:24:17 +02:00
Andreas Wachter
e513444acc
added zip function (#240)
* added zip function

* remove comment
2024-05-10 11:48:48 +02:00
Andreas Wachter
c37176fc24
Fix issues (#238)
* fixed backup of issues

* add issues to zip
v0.10.30
2024-04-27 16:32:02 +02:00
Andreas Wachter
ff37881126
fixed backup of issues (#237) 2024-04-27 11:49:50 +02:00
Andreas Wachter
b5969879fd
It also updated when the source repo was force pushed (#235) 2024-04-27 11:23:01 +02:00
Andreas Wachter
0e76cf9481
enable push to gitlab (#233) 2024-04-16 13:34:05 +02:00
Andreas Wachter
99c7dd14ab
use gitlab token (#232) 2024-04-16 09:12:47 +02:00
Andreas Wachter
b7503a9e93
update modules (#229) v0.10.29 2024-04-15 13:00:43 +02:00
Andreas Wachter
a62270dee5
debug msgs and check if pushedat is nil (#227) 2024-04-15 08:09:38 +02:00
Andreas Wachter
6a293dd625
implemented mirror using gickup and not giteas mirror function (#225)
* implemented mirror using gickup and not giteas mirror function

* added "mirror" to gogs

* push to gogs

* mirror is now a struct

* move deprecation notice, no need to spam
2024-04-15 07:10:49 +02:00
Andreas Wachter
61d5070f50
fixed some backup path issues and reload issues (#220)
* fixed some backup path issues and reload issues

* removed all chdirs
2024-04-04 07:31:28 +02:00
Andreas Wachter
54feabae23
check if config is null (#223) 2024-04-03 16:32:55 +02:00
Andreas Wachter
bf58b23155
configure a user to clone to. for structured cloning (#219) 2024-04-03 08:24:23 +02:00
black-backdoor
95336a896d
update README.md (#221) 2024-04-02 17:24:18 +02:00
Andreas Wachter
57097ff8a0
Check gitea interval (#216)
* added checks on mirrorinterval

* switched to sublogger
2024-04-02 13:01:51 +02:00
Andreas Wachter
34c4e3dd9c
/ on wrong position (#218) 2024-04-02 13:01:28 +02:00
dependabot[bot]
7175ab6d17
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#214)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 09:01:49 +01:00
Andreas Wachter
ac9fae45ca
updated modules (#212) v0.10.28 2024-02-27 09:09:13 +01:00
Andreas Wachter
dca5a55a8a
add cron to all files if necessary (#211) 2024-02-27 07:01:04 +01:00
Andreas Wachter
8de9d0f16f
added git lfs for mirrors (#204)
* added git lfs for mirrors

* added openssh-client to ubuntu image

* working push on all branches

* fetch after clone and before pull to get all branches

* checkout all branches is not needed

* fix fetch
v0.10.27
2024-02-19 08:42:35 +01:00
Andreas Wachter
76bcf763aa
Issue 200 (#203)
* force fetch

* do not fetch

* log push

* log clone too
2024-01-29 12:31:36 +01:00
Andreas Wachter
4f6317326a
authorize during fetch (#202) 2024-01-25 16:31:47 +01:00
Andreas Wachter
acbb331450
get gitlab user (#201) 2024-01-25 07:40:36 +01:00
Andreas Wachter
d1568d4545
Reload config (#199)
* reload on config changes

* handle prometheus metrics

* compare config structs

* create seperate object for logging
2024-01-09 14:43:51 +01:00
Andreas Wachter
a70f9c939f
Revert "Reload config (#196)" (#198)
This reverts commit 61cac5dda6803d22f4baa0ab1316f3e599283d98.
2024-01-09 14:33:28 +01:00
dependabot[bot]
a2f522ec7d
Bump github.com/cloudflare/circl from 1.3.6 to 1.3.7 (#197)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.6...v1.3.7)

---
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>
2024-01-09 09:44:32 +01:00
Andreas Wachter
61cac5dda6
Reload config (#196)
* reload on config changes

* handle prometheus metrics

* compare config structs
2024-01-04 12:54:12 +01:00
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