termie / lp2gh

launchpad to github migration tool
19 stars 13 forks source link

add failsafe method for abuse trigger detection on GitHub #3

Open Germar opened 8 years ago

Germar commented 8 years ago

GitHub now uses an abuse detection system which will block subsequent actions after 32 actions for one minute and after 300 actions for ~15min. This broke lp2gh because the abuse trigger raised an exception and after restarting lp2gh it started from scratch creating duplicate issues and ended up at the same issue as before.

This pull request will add a failsafe import method which will wait for a minute if the abuse detection was triggered and then try again.

gunchleoc commented 4 years ago

I have used this patch to migrate > 3000 issues and it worked :)