Html5Depurate/Updating apt.wikimedia.org

How to update the html5depurate package in apt.wikimedia.org:

Setup

 * Get pbuilder, devscripts, dupload
 * Create pbuilder roots
 * Create pbuilder roots

sudo pbuilder --create \ --basetgz /var/cache/pbuilder/jessie.tgz \ --distribution jessie \ --mirror &lt;debian-mirror&gt; sudo pbuilder --create \ --basetgz /var/cache/pbuilder/trusty.tgz \ --distribution trusty \ --components 'main universe' \ --mirror &lt;trusty-mirror&gt;


 * Get the debian branches

git branch debian gerrit/debian git branch debian-trusty gerrit/debian-trusty

Update git branches

 * Merge changes from master and resolve conflicts

git checkout debian git merge master git commit --amend -C HEAD


 * Add a changelog entry (the package version comes from here)

dch git commit -a -m "Changelog for package version x.y.z" git review debian


 * Merge changes from debian into debian-trusty

git checkout debian-trusty git merge debian git commit --amend -C HEAD dch git commit -a -m "Changelog for package x.y.z~trusty" git review debian-trusty

Build and upload
I've automated the rest: