mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 23:27:52 +01:00
ddb7f59ef4
* Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
77 lines
739 B
YAML
77 lines
739 B
YAML
-
|
|
id: 1
|
|
user_id: 2
|
|
repo_id: 3
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 2
|
|
user_id: 4
|
|
repo_id: 4
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 3
|
|
user_id: 4
|
|
repo_id: 3
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 4
|
|
user_id: 15
|
|
repo_id: 22
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 5
|
|
user_id: 15
|
|
repo_id: 21
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 6
|
|
user_id: 15
|
|
repo_id: 23
|
|
mode: 4 # owner
|
|
|
|
-
|
|
id: 7
|
|
user_id: 15
|
|
repo_id: 24
|
|
mode: 4 # owner
|
|
|
|
-
|
|
id: 8
|
|
user_id: 18
|
|
repo_id: 23
|
|
mode: 4 # owner
|
|
|
|
-
|
|
id: 9
|
|
user_id: 18
|
|
repo_id: 24
|
|
mode: 4 # owner
|
|
|
|
-
|
|
id: 10
|
|
user_id: 18
|
|
repo_id: 22
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 11
|
|
user_id: 18
|
|
repo_id: 21
|
|
mode: 2 # write
|
|
|
|
-
|
|
id: 12
|
|
user_id: 20
|
|
repo_id: 27
|
|
mode: 4 # owner
|
|
|
|
-
|
|
id: 13
|
|
user_id: 20
|
|
repo_id: 28
|
|
mode: 4 # owner |