Commit Graph
370 Commits
Author SHA1 Message Date
Andreas Wachter 06a97f1f8a use no user for token auth if token is used (#314) v0.10.38 2025-04-05 16:55:19 +02:00
Sjors Holtrop 36fd4fa6c0 Improve error output. Make empty-remote a warning instead of an error (#310) v0.10.37 2025-04-03 00:32:13 +09:00
Andreas Wachter 377378ce3a add Apprise (#309)
* added apprise

* fixed yaml type, check for / at the end of url

* return error message

* adapted example config and gickup_spec

* re-format spec

* Revert "re-format spec"

This reverts commit b938a0587e.

* fix spec
2025-04-02 11:29:40 +02:00
Sjors Holtrop 00d278094a add support for specifying storageclass for S3 dest (#307) 2025-04-01 08:13:42 +02:00
Andreas Wachter 69ddf8b24a the token for s3 is not always needed, for example in minio (#306) 2025-03-26 09:13:46 +01:00
Sjors Holtrop 6be0214ee3 add zip support for s3 destination (#304) 2025-03-25 19:16:01 +01:00
Aleksey @soar Smyrnov 79d5b30970 fix: Don't call git commands twice (#305)
* fix(gitcmd): Don't call checkout and push twice

* fix(gitcmd): Fix an unhandled error in SetEnv
2025-03-25 08:52:48 +01:00
Andreas Wachter ce21592d87 add token for s3 to gickup_spec.json 2025-03-23 15:14:06 +01:00
sjorsholtrop-ritense 57a38a4d8f Fix bitbucket source, add temp token support to s3 dest (#302) 2025-03-23 15:05:12 +01:00
Aleksey @soar Smyrnov 43ef607b13 fix: Fetch LFS files explicitly in bare repositories (#303) 2025-03-22 11:06:34 +01:00
sjorsholtrop-ritense f0470afbb8 Bitbucket: don't assume default personal workspace exists (#299)
* Bitbucket: dont assume default personal workspace exists

* fix error message
2025-03-20 08:38:56 +01:00
Andreas Wachter 8c3d461ae4 updated dependencies (#298) 2025-03-13 17:45:51 +01:00
Andreas Wachter b4028ef09f updated dependencies and go version (#290) 2025-01-05 20:50:04 +01:00
Andreas Wachter 976b457a5c added exit code when an error occured (#289) 2025-01-05 08:52:11 +01:00
Socheat Sok 6d2f8250b7 Add json schema support (#287) 2025-01-04 14:56:14 +01:00
Andreas Wachter b645f842c3 added a wait interval for api limit, break loop when user doesn't exist (#284)
* added a wait interval for api limit, break loop when user doesn't exist

* add similar logic to the rest too
2024-12-31 10:03:11 +01:00
Andreas Wachter 3f61f4c179 updated golang.org/x/net (#285) 2024-12-31 10:02:11 +01:00
dependabot[bot] d3aa82c7f7 Bump golang.org/x/crypto from 0.25.0 to 0.31.0 (#282)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.31.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>
2024-12-12 08:34:38 +01:00
awbn 5018441245 Move production Docker image to Alpine (#280) 2024-10-30 11:27:10 +01:00
Isaac Asensio 32e69221e7 fix docs link (#281) 2024-10-24 18:11:07 +02:00
Andreas Wachter dea1d8cac2 added cloning of gists (#274) 2024-09-28 15:48:20 +02:00
Andreas Wachter 9e1217eef1 return false instead of break (#271) v0.10.36 2024-09-04 19:22:15 +02:00
Andreas Wachter 818c0cef4e fix temp clone as well (#269) v0.10.35 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
v0.10.34
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
v0.10.33
2024-08-29 06:44:53 +02:00
Andreas Wachter 9f82c2e43b added s3 to destinations v0.10.32 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
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