Uploading d-i packages (here: for uploading l10n changes)

If there are d-i packages with pending translation updates (check at https://d-i.debian.org/translations.txt):

Make sure your sbuild chroot is up to date:

sudo sbuild-update -udcar unstable-amd64-sbuild

or build one if you don't have one already, following https://wiki.debian.org/sbuild.

Then change into the packages' directory:

cd ./trunk/packages/package-name

Make sure you have the latest version from GIT:

git pull

Create a new entry in changelog for unstable, adding all the translation updates found for that package at https://d-i.debian.org/translations.txt:

dch

Try to build:

sbuild -A -s -d unstable --source-only-changes --run-lintian

If the build completes without error, review the changes: For this, download the current source package from unstable into the ./packages directory (you need an 'deb-src' line for unstable in your sources.list) ...

cd ..
apt-get source -t unstable package-name

... and compare your build (version 0.46 in the example below) against the latest source package from unstable (version 0.45 in the example), with debdiff:

debdiff package-name_0.45.dsc package-name_0.46.dsc

Double-check, if all the differences are desired and ok (only changes regarding translation updates / po files). If in doubt, it's recommended to ask for confirmation on debian-boot. When everything is fine, push to GIT:

cd package-name
git add debian/changelog
git commit -m "package-name: releasing version 0.46"
git push

Sign the *_source.changes file and upload it:

cd ..
debsign -k<ID-of-your-GPD-key> package-name_0.46_source.changes
dput package-name_0.46_source.changes

When it gets ACCEPTed, set a tag for the version to GIT:

git tag -sm "package-name: releasing version 0.46" 0.46
git push origin 0.46

Check if your package reaches testing, when the testing period is over.