Skip to content

Add searched repo type to api/repo/search #2321

Closed
@Morlinest

Description

@Morlinest

I want to add an option to look for a specific type of repo (fork, mirror, source, collaborative or all). I think there are two options how to search repositories:

  1. Search only 1 type - this means SearchRepoOptions will contain 1 attribute with one of possible values
  2. Search any combination of types at once - this means SearchRepoOptions will contains every possible option and result will be their mix (OR), for example mirror OR fork repositories

Any opinion? I've already done the first option, but second can be done very fast too.

Metadata

Metadata

Assignees

Labels

type/enhancementAn improvement of existing functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions