mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-06 03:42:54 +02:00
Merge branch 'main' into feat/add-object-format-validation
This commit is contained in:
@ -65,14 +65,14 @@ func RunReposList(_ stdctx.Context, cmd *cli.Command) error {
|
||||
return err
|
||||
}
|
||||
rps, _, err = client.SearchRepos(gitea.SearchRepoOptions{
|
||||
ListOptions: teaCmd.GetListOptions(),
|
||||
ListOptions: flags.GetListOptions(),
|
||||
StarredByUserID: user.ID,
|
||||
})
|
||||
} else if teaCmd.Bool("watched") {
|
||||
rps, _, err = client.GetMyWatchedRepos() // TODO: this does not expose pagination..
|
||||
} else {
|
||||
rps, _, err = client.ListMyRepos(gitea.ListReposOptions{
|
||||
ListOptions: teaCmd.GetListOptions(),
|
||||
ListOptions: flags.GetListOptions(),
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ func runReposSearch(_ stdctx.Context, cmd *cli.Command) error {
|
||||
}
|
||||
|
||||
rps, _, err := client.SearchRepos(gitea.SearchRepoOptions{
|
||||
ListOptions: teaCmd.GetListOptions(),
|
||||
ListOptions: flags.GetListOptions(),
|
||||
OwnerID: ownerID,
|
||||
IsPrivate: isPrivate,
|
||||
IsArchived: isArchived,
|
||||
|
Reference in New Issue
Block a user