You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The period flag seems to have broken at some point:
❯ pizza insights contributors https://github.com/open-sauced/app -p 45
Error: error while calling 'ContributorsServiceAPI.FindAllChurnPullRequestContributors' with repository 501028599': 400 Bad Request
error while calling 'ContributorsServiceAPI.NewPullRequestContributors' with repository 501028599': 400 Bad Request
error while calling 'ContributorsServiceAPI.FindAllRecentPullRequestContributors' with repository 501028599': 400 Bad Request
error while calling 'ContributorsServiceAPI.FindAllRepeatPullRequestContributors' with repository 501028599: 400 Bad Request
Usage:
pizza insights contributors url... [flags]
Flags:
-f, --file string Path to yaml file containing an array of git repository urls
-h, --help help for contributors
-p, --period int32 Number of days, used for query filtering (default 30)
Global Flags:
--beta Shorthand for using the beta OpenSauced API endpoint ("https://beta.api.opensauced.pizza"). Supersedes the
'--endpoint' flag
--disable-telemetry Disable sending telemetry data to OpenSauced
-e, --endpoint string The API endpoint to send requests to (default "https://api.opensauced.pizza")
-o, --output string The formatting for command output. One of: (table, yaml, csv, json) (default "table")
Steps to reproduce
call the insights command with a repo and the -p / --period flag defined
Notice the 400, bad request responses
Browsers
No response
Additional context (Is this in dev or production?)
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Contributing Docs
I agree to follow this project's Contribution Docs
The text was updated successfully, but these errors were encountered:
Ahh, you're totally right. Great catch @k1nho - it's pretty confusing from the pizza CLI perspective to not have some of that information surfaced. Maybe we consider adding a client side restriction so you can only enter valid API values.
Describe the bug
The period flag seems to have broken at some point:
Steps to reproduce
insights
command with a repo and the-p / --period
flag definedBrowsers
No response
Additional context (Is this in dev or production?)
No response
Code of Conduct
Contributing Docs
The text was updated successfully, but these errors were encountered: