woodpecker/server/store
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
..
datastore Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
mocks Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00
types Return return 404 if registry to delete do not exist (#1278) 2022-10-18 01:48:04 +02:00
common.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
context.go Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
store.go Do not store inactive repos (#1658) 2023-03-21 23:01:59 +01:00