1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/server/forge/gitea
qwerty287 0970f35df5
Do not store inactive repos (#1658)
Do not sync repos with forge if the repo is not necessary in DB.

In the DB, only repos that were active once or repos that are currently
active are stored. When trying to enable new repos, the repos list is
fetched from the forge instead and displayed directly. In addition to
this, the forge func `Perm` was removed and is now merged with `Repo`.

Solves a TODO on RepoBatch.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-03-21 23:01:59 +01:00
..
fixtures Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
gitea_test.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
gitea.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
helper_test.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
helper.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
parse_test.go
parse.go Dont panic on hook parsing (#1501) 2022-12-25 22:50:57 +02:00
types.go