Commit Graph
66 Commits
Author SHA1 Message Date
Andreas Wachter 8af656554e updated bitbucket and gitlab code, updated dependencies 2026-04-20 10:14:29 +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 45c03a96f1 do not use the api anymore but switch to graphql 2026-03-31 13:40:49 +02:00
dependabot[bot] 2fb0bc23f0 Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.17.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 17:15:46 +00: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
dependabot[bot] 86fb87733d Bump github.com/cloudflare/circl from 1.6.1 to 1.6.3
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.6.1 to 1.6.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.6.1...v1.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-25 19:30:46 +00:00
dependabot[bot] cd5a752013 Bump github.com/go-git/go-git/v5 from 5.14.0 to 5.16.5
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.14.0 to 5.16.5.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.14.0...v5.16.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 00:33:33 +00:00
dependabot[bot] 270b666195 Bump golang.org/x/crypto from 0.41.0 to 0.45.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.41.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.41.0...v0.45.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 02:43:43 +00:00
Gary Thomas 57bbe4093e Add support for using azure cli credential 2025-10-27 21:43:37 +00:00
Gary Thomas cfd1b6ea04 Implement azure blob destination with SAS url 2025-10-26 22:04:44 +00:00
jj 5464f6083d github: bump go-github to v74 2025-08-11 22:41:23 +00: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
dependabot[bot] c0f74ff152 Bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 (#332)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.6.0...v1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 11:17:50 +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
dependabot[bot] 4688acb8cd Bump golang.org/x/net from 0.37.0 to 0.38.0 (#318)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-20 11:46:02 +02: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 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
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 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
Andreas Wachter e513444acc added zip function (#240)
* added zip function

* remove comment
2024-05-10 11:48:48 +02:00
Andreas Wachter b7503a9e93 update modules (#229) 2024-04-15 13:00:43 +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 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 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
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 e530b8b3df updated archiver (#175) 2023-10-03 15:53:43 +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
Matthew Toohey 616e2d6a31 Bump Go version in go.mod to 1.17 (#156) 2023-06-04 20:49:10 +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 8a86bc4904 backup contributed repos from github (#141) 2023-02-28 19:11:36 +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 732de324da updated onedev (#132) 2023-01-22 11:49:27 +01:00
Andreas Wachter 6ddf340744 added possibility to add date to path (#130)
* added possibility to add date to path

* adds zip functionality

* added keep parameter

* cleanup

* keep parameter creates files with the timestamp in repo name directory

* fixed clone with keep without structured=true

* remove search
2023-01-08 20:22:07 +01:00
Andreas Wachter 156f6f52e4 updated onedev (#125) 2022-12-03 13:25:46 +01:00
Andreas Wachter 041a5a88b7 handle multiple configs (#114)
* handle multiple configs

* upgrade golangci_lint_version

* SnakeCase and replaces ioutil with os
2022-10-03 19:20:19 +02:00
Andreas Wachter 6461754630 added onedev functionality (#111)
* added onedev functionality

* go mod tidy
2022-08-11 21:31:03 +02:00