mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 02:29:43 +08: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
59 lines
874 B
YAML
59 lines
874 B
YAML
-
|
|
id: 1
|
|
org_id: 3
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 2
|
|
num_members: 1
|
|
unit_types: '[1,2,3,4,5,6,7]'
|
|
|
|
-
|
|
id: 2
|
|
org_id: 3
|
|
lower_name: team1
|
|
name: team1
|
|
authorize: 2 # write
|
|
num_repos: 1
|
|
num_members: 2
|
|
unit_types: '[1,2,3,4,5,6,7]'
|
|
|
|
-
|
|
id: 3
|
|
org_id: 6
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 0
|
|
num_members: 1
|
|
unit_types: '[1,2,3,4,5,6,7]'
|
|
|
|
-
|
|
id: 4
|
|
org_id: 7
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 0
|
|
num_members: 1
|
|
unit_types: '[1,2,3,4,5,6,7]'
|
|
|
|
-
|
|
id: 5
|
|
org_id: 17
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 2
|
|
num_members: 2
|
|
unit_types: '[1,2,3,4,5,6,7]'
|
|
|
|
-
|
|
id: 6
|
|
org_id: 19
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 2
|
|
num_members: 1
|
|
unit_types: '[1,2,3,4,5,6,7]' |