100 Commits
Author SHA1 Message Date
Andreas Wachter ef37e12c6c added test and fixed the "-C" parameter (#441) 2026-09-13 08:33:56 +02:00
Andreas Wachter 64e81c3b14 added lfs to s3 (#437) 2026-09-11 13:27:53 +02:00
Andreas Wachter 97c0b60a0c add failure heartbeats and status-aware notifications (#431) 2026-09-09 18:06:21 +02:00
Andreas Wachter cba438309e add a backdown for gists too (#427) 2026-08-28 16:18:36 +02:00
Andreas Wachter 002be7a6e8 fixed lfs partial backup (#426) 2026-08-28 15:52:10 +02:00
Andreas Wachter e585cdea3e updated documentation (#405) 2026-06-22 10:59:37 +02:00
Andreas Wachter 029f4e9fb4 extend ~ to home directory (#404) 2026-06-22 09:45:16 +02:00
Andreas Wachter 97c1d192bd fixed exclude org race condition (#393) 2026-05-14 19:11:11 +02:00
Andreas Wachter d3fd3e4717 go mod tidy 2026-05-13 10:10:42 +02:00
Andreas Wachter 3369a9fa37 fix gitlab format issue (#386) 2026-05-04 12:15:38 +02:00
Andreas Wachter b34eae7ec8 updated ktrysmt/go-bitbucket 2026-04-25 09:56:52 +02:00
Andreas Wachter 019c2fdee7 update go 2026-04-20 10:24:20 +02:00
Andreas Wachter 9daf4cef3d updated bitbucket and gitlab code, updated dependencies (#381) 2026-04-20 10:18:02 +02:00
Andreas Wachter 1ba40c996d unify docker.yml (#378) 2026-04-16 18:59:53 +02:00
Andreas Wachter 036923b810 added email header to ntfy (#376) 2026-04-09 07:30:36 +02:00
Andreas Wachter de4f262e1f add additional tests (#374)
* add additional tests

* fix linter
2026-04-08 16:32:34 +02:00
Andreas Wachter 4bbe669b71 fix findings from 372 (#373) 2026-04-06 11:34:05 +02:00
Andreas Wachter e6999418e2 Fix linting (#372) 2026-04-05 21:39:20 +02:00
Andreas Wachter 8214115952 Merge pull request #369 from cooperspencer/update_sourcehut
do not use the api anymore but switch to graphql
2026-04-05 19:33:34 +02:00
Andreas Wachter ff10d30ed3 Merge pull request #368 from cooperspencer/dependabot/go_modules/github.com/go-git/go-git/v5-5.17.1
Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1
2026-03-31 13:49:33 +02:00
Andreas Wachter 45c03a96f1 do not use the api anymore but switch to graphql 2026-03-31 13:40:49 +02:00
Andreas Wachter b41088d141 Merge pull request #365 from cooperspencer/codeberg_nil 2026-02-26 20:00:38 +01:00
Andreas Wachter d40418ef2a update linter 2026-02-26 18:51:23 +01:00
Andreas Wachter 7229f2d275 update go in workflows 2026-02-26 18:47:01 +01:00
Andreas Wachter 77d252ee9a Merge branch 'codeberg_nil' of github.com:cooperspencer/gickup into codeberg_nil 2026-02-26 16:56:58 +01:00
Andreas Wachter 226b61ad8d update containers 2026-02-26 16:56:18 +01:00
Andreas Wachter a1b23aa0b4 fix codeberg nil error 2026-02-26 16:54:44 +01:00
Andreas Wachter 5980507ddc Merge pull request #360 from cooperspencer/update_go_container
updated go in containers
2026-02-26 16:53:55 +01:00
Andreas Wachter fe97cd2043 update containers 2026-02-26 16:41:15 +01:00
Andreas Wachter c753720079 fix codeberg nil error 2026-02-26 16:29:57 +01:00
Andreas Wachter 6f020d665f Merge pull request #364 from cooperspencer/dependabot/go_modules/github.com/cloudflare/circl-1.6.3
Bump github.com/cloudflare/circl from 1.6.1 to 1.6.3
2026-02-26 16:23:53 +01:00
Andreas Wachter 6e67bddfc6 Merge pull request #361 from cooperspencer/dependabot/go_modules/github.com/go-git/go-git/v5-5.16.5
Bump github.com/go-git/go-git/v5 from 5.14.0 to 5.16.5
2026-02-26 16:23:28 +01:00
Andreas Wachter c4f9ddaf70 fixed non-constant format in gitcmd 2026-02-04 15:56:11 +01:00
Andreas Wachter 778d43464d updated go in containers 2026-02-04 15:51:00 +01:00
Andreas Wachter 766c4ba46a Merge pull request #357 from ryanwalder/ryanw/add-openssh
Add openssh package install to Dockerfile
2025-12-01 18:51:18 +01:00
Andreas Wachter b0cfce2d0d Merge pull request #354 from cooperspencer/dependabot/go_modules/golang.org/x/crypto-0.45.0
Bump golang.org/x/crypto from 0.41.0 to 0.45.0
2025-12-01 18:46:42 +01:00
Andreas Wachter a1b11bf9e1 Merge pull request #352 from gazzyt/azure-blob-storage
Add Support for Azure blob storage as a destination
2025-11-12 08:09:37 +01:00
Andreas Wachter f916b6f101 Merge pull request #345 from dumbmoron/gh-issue-pagination
github: use `after` pagination for issues instead of page numbers
2025-08-12 13:47:28 +02:00
Andreas Wachter 98785d2d26 Merge pull request #343 from cooperspencer/remove_defaultbranch
Remove defaultbranch
2025-07-24 13:05:12 +02:00
Andreas Wachter 17f7c6cf05 remove defaultbranch, as it is not used anywhere 2025-07-24 08:00:21 +02:00
Andreas Wachter 3f831c33b3 Revert "upgraded go-git to v6 (#340)"
This reverts commit 6f2bfc2419.
2025-07-24 06:55:34 +02:00
Andreas Wachter 6f2bfc2419 upgraded go-git to v6 (#340) 2025-07-03 09:06:48 +02:00
Andreas Wachter 4c4cbeaca5 switched to gitlab.com/gitlab-org/api/client-go (#331) 2025-06-06 15:06:53 +02:00
Andreas Wachter 158bcc1b5c switch from gopkg.in/yaml.v3 to github.com/goccy/go-yaml (#330)
* switch from https://github.com/go-yaml/yaml to https://github.com/goccy/go-yaml

* change to ubuntu latest

* update lint
2025-06-06 12:57:52 +02:00
Andreas Wachter 601756837b just use the token to clone gitea and onedev 2025-04-07 13:06:03 +02:00
Andreas Wachter 06a97f1f8a use no user for token auth if token is used (#314) 2025-04-05 16:55:19 +02: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
Andreas Wachter 69ddf8b24a the token for s3 is not always needed, for example in minio (#306) 2025-03-26 09:13:46 +01:00
Andreas Wachter ce21592d87 add token for s3 to gickup_spec.json 2025-03-23 15:14:06 +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
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
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) 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
Andreas Wachter d290425c85 fixed onedev (#250)
* fixed onedev

* use clean instead of rm-dist
2024-08-01 15:26:26 +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
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
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
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
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
Andreas Wachter 27cbf30d35 exclude tagalign 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