astrofrog / batchpr

Package in need of a better name to automate opening pull requests :robot:
BSD 2-Clause "Simplified" License
3 stars 4 forks source link

ENH: API for batch call #29

Open pllim opened 3 years ago

pllim commented 3 years ago

Would be nice for a helper function that takes the updater class (all nicely set up) to apply run method on a list of repos. This list should be chunked. Within each chunk, maybe time.sleep(0.5) between calls. Between chunk, maybe time.sleep(10) or something, to hopefully not trigger GitHub spam killer. This function will return a list of repos that fail for whatever reason, for manual follow-up (like a second run).

pllim commented 3 days ago

Also not crash the entire run when only select repos failed.