repository-sync
repository-sync copied to clipboard
Force synchronization without requiring a webhook delivery
trafficstars
There are times where it'd be useful to manually try to resync, like if one of the hooks failed to deliver for whatever reason (ie Heroku availability problems).
An API would be nice, but I see that the cloning from a webhook enqueues a job rather than doing it run then and there. I'd be totally cool with a command that can be heroku run.
How would the re-run run without the payload? Should it just try to force update the dependent repo?
I was thinking it would just run based on the latest commit of the internal repository.