cli/pkg/cmd/repo/list
Mislav Marohnić 17e64674f5
repo list: fix when belonging to org with IP Allow list enabled
Using `ownerAffiliations` instead of `affiliations` seems more semantically correct to list all repos belonging to a user or an organization, but the latter thas an added benefit that it also works around a problem when the API would return an error if the user happens to belong to an organization that has IP allow list enabled.

From our GraphQL docs:

> `affiliations`: Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.
>
> `ownerAffiliations`: Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.
2022-11-02 00:55:46 +01:00
..
fixtures repo list: add --visibility internal filter (#5564) 2022-05-10 15:39:53 +00:00
http.go repo list: fix when belonging to org with IP Allow list enabled 2022-11-02 00:55:46 +01:00
http_test.go Fix owner qualifier for search queries (#5693) 2022-05-23 13:00:32 +00:00
list.go feat: make topic param as list in repo list command (#6539) 2022-11-01 19:39:43 +01:00
list_test.go feat: make topic param as list in repo list command (#6539) 2022-11-01 19:39:43 +01:00