1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
rocketcea for Debian
-------------------
As of version 1.2.1, the rocketcea package has been re-crafted based on tags
in the upstream (github) development repository, and using pristine-tar and
git-buildpackage in the packaging process.
On my development system, there are two git remotes defined:
github upstream github repository
origin Debian Salsa packaging repository
The git branch structure is like this:
master upstream master branch from github, which has DFSG issues
dfsg-orig branched from master, used to build DFSG-compliant orig.tar.gz
pristine-tar data necessary to recreate orig.tar.gz files
debian branched from upstream, packaging work happens here
To get to a DFSG-compliant orig.tar.gz and build a Debian package, the
process went something like (with a lot of iteration on the cleanup script
and debian/ content!):
git fetch github
- note the release tag we want to work against, such as 1.2.1
git checkout dfsg-orig
git rebase master
- adjust the cleanup-script.sh as needed, then run it
git commit -a
git tag upstream/1.2.1
git checkout debian
git merge upstream
- adjust the debian/ contents as needed
gbp buildpackage --git-no-pristine-tar \
--git-upstream-tag=upstream/1.2.1
pristine-tar commit ../build-area/rocketcea_1.2.1.orig.tar.bz2
git tag debian/1.2.1-1
-- Bdale Garbee <bdale@gag.com> Sat, 24 Aug 2024 12:18:43 -0600
|