When patches are submitted to the Popups extension, as soon a patch that touches JS is merged to master the assets become outdated (see epic)
- We will create a bot that watches changes on Popups master branch
- When a change is merged to master, any patches which do not have unmerged parents will be downloaded, rebased. Rebase conflicts will be fixed by npm run build and then the patch resubmitted if there are no additional conflicts.
- There's an ssh gerrit streaming api that you can listen to to get instant notifications that code has changed. Zuul uses it.
- Implementor should also research how IRC bots get their information
Concerns around pushing non-rebased code.
There is an option with git push called force with lease that says git push should fail if the local tracking branch does not have the same root ref as the remote branch. e.g. stops you from pushing. Git review also allows you to rebase before pushing