Closed robsonpeixoto closed 5 months ago
Thanks! It would be nice if you could extract the pagination logic to the utils module so it could be reused by other methods in the future.
The pagination method could take the base URL, a table to hold aggregated responses and an aggregator function, eg: utils.aggregate(base_url, files, aggregator)
Sorry, I'm without time to continue this PR.
Hello, Is there any reason, other than the OP being unable to continue, that led to the closing of this PR? This would be really helpful, as I'm currently unable to use Octo in my workflow. I may be able to allocate the time to finish the work of the OP in the following weeks, if necessary.
This PR is not a elegant solution, @Afourcat. If you would like, feel free to open a new PR with the same content. Or even better, to follow the @pwntester suggestion.
Does this pull request fix one issue?
Fixes #302
Describe how you did it
Instead of use the gh paginator, this module will paginate to the all files from a PR to avoid
json_decode
problem.Describe how to verify it
Start/Resume a large pull-request