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
|
Since this Git repository does not follow the usual Debian Med
workflow it is documented here, how the package can be updated:
1. in the master branch, pull the upstream master branch and its tags.
git checkout master
git pull https://github.com/samtools/htslib --tags
Remark: If this pull fails with a lot of stuff to merge you might
have some ~/.gitconfig that breaks the pull above. Please try to
deactivate it for the moment.
2. Merge the tag in the debian/unstable branch
git checkout debian/unstable ; git merge <version>
3. download the upstream tarball
uscan --force-download
4. Register the upstream tarball in the pristine-tar branch directly with
the pristine-tar command directly (stay in master branch when doing this)
pristine-tar commit ../htslib_<version>.orig.tar.gz <version>
Remark by Andreas Tille: To make this work you need to create a branch
upstream at least in your local clone.
5. Update the packaging files, build with gbp - debian-branch and
upstream-branch are properly set in debian/gbp.conf
According to Charles Plessy this workflow has the advantage to propose
upstream via pull requests on GitHub. The Debian Med policy currently
does only contain a short paragraph to mention the derived workflow:
http://debian-med.alioth.debian.org/docs/policy.html#git-without-tarball
|