Commit Graph
16 Commits
Author SHA1 Message Date
Andreas Wachter e6999418e2 Fix linting (#372) 2026-04-05 21:39:20 +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 17f7c6cf05 remove defaultbranch, as it is not used anywhere 2025-07-24 08:00:21 +02: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 a62270dee5 debug msgs and check if pushedat is nil (#227) 2024-04-15 08:09:38 +02:00
Andreas Wachter 34c4e3dd9c / on wrong position (#218) 2024-04-02 13:01:28 +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 f8ad43bb29 Multiple branches (#165)
* added github mirror functionality

* create temporary directory to clone into

* added onedev as destination

* added sourcehut

* add new examples

* added push of all branches, autocreation of repos on sourcehut

* push everything

* sourcehut visibility fix
2023-08-16 14:04:59 +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
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 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