This document is still in progress
- git-buildpackage
- Edit the debian/control file and do the relative modifications (add package to depends, and so on).
- You can test the package build with
git-buildpackage --git-ignore-new
anytime you want. - When ready to deploy a working version, commit your changes the usual way (
git add
&git commit
). - Use
git-dch -R
to update the changelog file. Edit it properly (if need to change something, but most of the time it doesn't.) then add it and commit it too (usualgit add
andgit commit
). - Build and tag the package with
git-buildpackage --git-tag
. Push changes upstream withgit push && git push --tags
- Clean the package with
debuild clean
. - Upload the packages (all deb files, changes and dsc) to the repository server and import them into the distrubution with reprepro.