woodpecker/server/router/middleware
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
..
header Move router package to server/router/ (#339) 2021-09-22 22:41:32 +02:00
session Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
token Rename remote to forge (#1357) 2022-11-05 00:35:06 +01:00
config.go Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
logger.go Improve logging (#1158) 2022-09-03 20:41:23 +02:00
store.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
version.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00