1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-09-16 21:31:40 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Andreas Wachter
45056fce58
don't use user for token on gogs (#268) 2024-09-02 16:11:52 +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
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
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
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
604d18d4ab
added interval (#174) 2023-10-03 08:25:40 +02:00
Andreas Wachter
64a67254e6
implemented exclude forks (#155) 2023-06-04 08:30:02 +02:00
Seow Alex
25288d6df2
Fix Gogs repository visibility (#149) 2023-05-02 17:17:30 +02:00
Seow Alex
d622367738
Backup description and visibility (#146) 2023-04-23 21:11:12 +02:00
Andreas Wachter
8a86bc4904
backup contributed repos from github (#141) 2023-02-28 19:11:36 +01:00
Andreas Wachter
e56f8c8ec2
Logging dont die because of everything (#139)
* token can be environment variable

* don't quit because of everything
2023-02-20 17:00:19 +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
f61574bf9c
improved prometheus metrics (#134)
* improved prometheus metrics

* change RepoTime to gauge

* fix gitea, only set metrics if ran
2023-02-10 06:07:11 +01:00
Andreas Wachter
7bffb8d992
Get user (#133)
* get user from gitea

* better output

* gogs use "token user"
2023-02-07 06:56:51 +01:00
Andreas Wachter
2ec9d55f82
added visibility, new create org options and wiki support (#128)
* added visibility, new create org options and wiki support

* added gogs

* log error instead of fatal
2022-12-09 15:45:13 +01:00
Andreas Wachter
fa2dfd4434
Sourcehut (#123)
* added createorg to gogs

* added sourcehut capabilities

* fix variable names

* added sourcehut to readme
2022-11-16 08:09:33 +01:00
Andreas Wachter
99ad5cc1b6 added option to mirror to specific org or user in gitea and gogs 2022-10-11 08:45:05 +02:00
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
Andreas Wachter
df6767fc53 implemented includeorgs parameter 2022-01-27 18:36:41 +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 Dean
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
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