Andreas Wachter
9e1217eef1
return false instead of break ( #271 )
2024-09-04 19:22:15 +02:00
Andreas Wachter
818c0cef4e
fix temp clone as well ( #269 )
2024-09-02 17:14:16 +02:00
Andreas Wachter
45056fce58
don't use user for token on gogs ( #268 )
2024-09-02 16:11:52 +02:00
Andreas Wachter
d346b1d1fb
fetch updates on a bare repo ( #266 )
...
* fetch updates on a bare repo
* move print and fetch outside of the if clause
2024-08-30 12:31:05 +02:00
Andreas Wachter
fe1afa35b1
improve debug messages for gitlab ( #263 )
...
* improve debug messages for gitlab
* get all repos you have access to
* fix gitlab and better debug outputs
2024-08-29 06:44:53 +02:00
Andreas Wachter
9f82c2e43b
added s3 to destinations
2024-08-27 14:44:46 +02:00
Andreas Wachter
dc04acaddd
remove debug prints
2024-08-27 10:23:01 +02:00
Andreas Wachter
d51caa0352
include and exclude gitlab subgroups ( #261 )
2024-08-27 10:13:26 +02:00
Andreas Wachter
3cd914a4e1
Add s3 ( #259 )
...
* added s3 add destination
* read environment variables for s3 buckets
* adapted example config
* added debug message
* added s3 add destination
* read environment variables for s3 buckets
* adapted example config
* added debug message
2024-08-26 13:46:16 +02:00
Andreas Wachter
bd8df63dce
fixed token and user, get repositories from workspaces too (Bitbucket) ( #257 )
...
* fixed token and user, get repositories from workspaces too
* tidied go.mod and go.sum
* don't look up workspaces if token is empty
* add token_file to bitbucket
* adjusted conf.example.yml
2024-08-26 11:10:10 +02:00
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
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
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 )
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 )
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
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 61cac5dda6
.
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
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>
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>
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 )
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
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