1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-10-18 13:48:07 +02:00
Commit Graph

233 Commits

Author SHA1 Message Date
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
2e75d80540
Push notification not on all runs (#152)
* added gotify and ntfy to notify

* added new example config

* use push config in all configs
2023-05-16 09:39:46 +02:00
Seow Alex
25288d6df2
Fix Gogs repository visibility (#149) v0.10.15 2023-05-02 17:17:30 +02:00
Andreas Wachter
fae97c289b
Push (#148)
* added gotify and ntfy to notify

* added new example config
2023-05-02 16:43:55 +02:00
Andreas Wachter
b2da20028e
added gotify and ntfy to notify (#147) 2023-05-02 16:40:56 +02:00
Seow Alex
d622367738
Backup description and visibility (#146) 2023-04-23 21:11:12 +02:00
Andreas Wachter
80529e1999 build release for arm64/v8 v0.10.14 2023-03-03 07:28:44 +01:00
Andreas Wachter
3009366b05 set warning if no destinations are configured 2023-03-03 07:26:35 +01:00
Andreas Wachter
274e4123e1
build arm64/v8 2023-03-02 06:45:45 +01:00
Andreas Wachter
bded5188c2 push main branch to dev docker image 2023-03-01 07:45:18 +01:00
Andreas Wachter
c951f27e0f
Create FUNDING.yml 2023-02-28 19:18:20 +01:00
Andreas Wachter
8a86bc4904
backup contributed repos from github (#141) 2023-02-28 19:11:36 +01:00
Jamie Holdstock
05e56b426a
Only apply language filter if specified in config. (#140)
GitHub repos were previously filtered by language even when no language filter was specified in config. This only affected GitHub, the others already check if lang filter exists before filtering.
2023-02-22 12:39:33 +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
9a947e7cb4 fix tokens 2023-02-20 16:58:22 +01:00
Andreas Wachter
1eb19f16a0
token can be environment variable (#138) 2023-02-20 16:43:03 +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
f61574bf9c
improved prometheus metrics (#134)
* improved prometheus metrics

* change RepoTime to gauge

* fix gitea, only set metrics if ran
v0.10.13
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
9d4a2cd3cc
Update README.md 2023-02-06 11:08:40 +01:00
Andreas Wachter
732de324da
updated onedev (#132) v0.10.12 2023-01-22 11:49:27 +01:00
Andreas Wachter
12d496dba7
added option to clone the repository as bare (#131) v0.10.11 2023-01-11 11:00:48 +01:00
Andreas Wachter
230c4fbb60 added new line underneath the picture 2023-01-10 09:12:05 +01:00
Andreas Wachter
84b0b6c8a0 added logo 2023-01-10 09:10:34 +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
v0.10.10
2023-01-08 20:22:07 +01:00
Andreas Wachter
333601d67c updated README 2022-12-14 17:53:08 +01:00
Andreas Wachter
abae309828 gitea: get starred repos for user 2022-12-14 17:51:58 +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
v0.10.9
2022-12-09 15:45:13 +01:00
Andreas Wachter
156f6f52e4
updated onedev (#125) v0.10.8 2022-12-03 13:25:46 +01:00
Andreas Wachter
fa2dfd4434
Sourcehut (#123)
* added createorg to gogs

* added sourcehut capabilities

* fix variable names

* added sourcehut to readme
v0.10.7
2022-11-16 08:09:33 +01:00
Andreas Wachter
8a84f57965 create orgs for gitea with 'createorg: true' 2022-10-30 22:42:23 +01:00
Andreas Wachter
0967462c1a added token to gitea client 2022-10-30 22:19:23 +01:00
Andreas Wachter
527e740ed7
check if config is nil (#118) v0.10.6 2022-10-18 10:34:11 +02:00
Andreas Wachter
5dbb12fb8a added onedev to source count 2022-10-18 09:53:00 +02:00
Andreas Wachter
a24234ac1f added just file 2022-10-17 12:08:04 +02:00
Andreas Wachter
6373ddf5a1 remove print of includeOrgs in Onedev 2022-10-12 07:18:07 +02:00
Andreas Wachter
9f18ce034c upgraded CodeQL to v2 2022-10-11 12:23:13 +02:00
Andreas Wachter
99ad5cc1b6 added option to mirror to specific org or user in gitea and gogs v0.10.5 2022-10-11 08:45:05 +02:00
Andreas Wachter
041a5a88b7
handle multiple configs (#114)
* handle multiple configs

* upgrade golangci_lint_version

* SnakeCase and replaces ioutil with os
v0.10.4
2022-10-03 19:20:19 +02:00
Andreas Wachter
81136acfbe should fix #112 v0.10.3 2022-09-24 18:14:07 +02:00
Andreas Wachter
6461754630
added onedev functionality (#111)
* added onedev functionality

* go mod tidy
2022-08-11 21:31:03 +02:00
Andreas Wachter
3ae5a3a463
backup any repo (#110)
* added any module

* update dependencies

* clone local repos too

* fixed the separator and adjusted example config and README.md

* go mod tidy

* ran gofumpt and goimports

* cleaned up a bit and implemented timeformat as environment variable
2022-07-18 13:59:20 +02:00
Jordan Crawford
510e234e52
feat: Support multiple heartbeat URLs (#109)
* feat: add heartbeat metrics

* feat: Support multiple heartbeat URLs

#100 introduced heartbeat support but only supported one URL. This PR was closed, however I've re-introduced this feature and added support for multiple heartbeat URLs as discussed in the #100 discussion.

This also resolves #108 which is a feature request for the heartbeat feature.

* fix: When sending the heartbeat fails, log an error but don't crash the program

This prevents problems with external services from causing the program to quit.

Co-authored-by: Matthew Toohey <contact@mtoohey.com>
Co-authored-by: Jordan Crawford <>
2022-05-17 13:12:07 +02:00
Andreas Wachter
96419e641e
Update Dockerfile (#102)
* Update Dockerfile

add git to builder stage

* added `go mod tidy`

* fix build version of golang

* added copy of `go.mod` and `go.sum`
2022-03-20 13:05:10 +01: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
2a069398ad removed git ls-remote from local 2022-03-02 22:28:58 +01:00
Matthew Toohey
545c9e3f73
fix: stat github wiki remotes to verify their existence (#98)
* fix: stat github wiki remotes to verify their existence

* fix: also check gitea wiki remotes
2022-03-02 22:21:23 +01:00
Matthew Toohey
8b0f820ec8
fix: use gitlab namespace path instead of owner (#99) 2022-02-26 08:08:31 +01:00