16 Commits
Author SHA1 Message Date
Tom Moulard 646b792ac1 chore: add linting (#101)
* chore: adding makefile

* chore: adding lint

* chore: update package name

* lint: run with fix

* chore: update main.go

* chore: update main_test.go

* chore: update types.go

* chore: update logger.go

* chore: update types_test.go

* chore: update prometheus.go

* chore: update local.go

* chore: update gitlab.go

* chore: update gogs.go

* chore: update bitbucket.go

* chore: update gitea.go

* chore: update github.go

* chore: update main*.go

* chore: go mod tidy

* chore: update action to have a correct working-directory
2022-03-20 11:25:11 +01:00
Matthew Toohey 8b0f820ec8 fix: use gitlab namespace path instead of owner (#99) 2022-02-26 08:08:31 +01:00
Drew Moseley d96310d74a Add excludeorgs for gitlab. (#91)
* Add excludeorgs for gitlab.

Gitlab does not explicitly have orgs but they do have Namespaces which
are roughly equivalent.

Signed-off-by: Drew Moseley <drew@moseleynet.net>

* Add includeorgs for gitlab.

Signed-off-by: Drew Moseley <drew@moseleynet.net>
2022-02-24 07:47:06 +01:00
Matthew Toohey b0cd28c761 feat: backup starred repos (#89)
* feat: github starred support

* feat: gitea starred support

* fix: increment gitlab request pages properly

* feat: gitlab starred support
2022-02-22 07:42:05 +01:00
Andreas Wachter eb3704b272 adds wiki logic to github and gitlab 2021-12-31 09:25:47 +01:00
Andreas Wachter 1d4693003a added wiki support to all cvs (except bitbucket) (#76)
* added wiki support to all cvs (except bitbucket)

* added wiki parameter to the example config
2021-12-29 18:27:19 +01:00
Colin DeanandAndreas Wachter ebce0def10 Allows reading a token from a file (#73)
Fixes #69

Co-authored-by: Andreas Wachter <buddyspencer@protonmail.com>
2021-12-29 07:49:02 +01:00
Andreas Wachter 64c0ce8285 gitlab: switched r.Name to r.Path to have unique names 2021-12-20 13:58:53 +01:00
Enrico204 c1669ad8b5 Add support for GitLab wiki repos 2021-12-20 13:01:15 +01:00
Andreas Wachter 9606d0707f gitlab: clones path for subgroups too 2021-12-19 12:13:01 +01:00
Andreas Wachter 16e986fb40 gitlab group repos do not return an owner 2021-12-17 08:27:16 +01:00
Andreas Wachter 93b7c8fad6 added structured checkout mode (#44)
* added structured checkout mode

* path understand now ~
2021-12-16 17:22:44 +01:00
Andreas Wachter 5befa164c5 improved gitlab, gitea and gogs organization/group clones 2021-12-14 08:45:13 +01:00
Andreas Wachter 6ffcda16aa add an include parameter 2021-12-13 11:53:20 +01:00
Andreas Wachter 5a434573a8 switched from panic to fatal 2021-12-13 08:39:38 +01:00
Andreas Wachter 5015f4fb73 switched cvs functions to modules 2021-12-12 19:23:55 +01:00