'Versioning of debian packaging Information
I'm developing certain scripts and small software packages which I also package as debian packages.
The code is maintained in git and I create new release tarballs with an make target and git-archive. This tarball is then fed to "uupdate -u .tar.gz" to update from the previous packaged version. This far everything works great and exactly as I want it to.
Now the tricky part: I want to put the packaging information, i.e. everything below debian/ (e.g. mypackage-0.4.3/debian/*), under version control, too. I'd just use git, but that would break dpkg because it would cry about the unknown files in its directory.
My question:
What is the easiest way to put my debian/ folders under version control (with git)?
Please note that I'd like to keep my source code and packaging information in separate repositories, if possible.
Solution 1:[1]
See the package git-buildpackage, it will help you create the package directly from the upstream source git.
Solution 2:[2]
Have you thought of using uploading your packaging to salsa gitlab and using dgit as your packaging tool?
Dgit will allow you to make patches with git rather than quilt and also provide version control.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ivo |
Solution 2 | Francis Murtagh |