This package is maintained from the upstream git repository located at
https://github.com/3dem/relion.git
using Dep14 (http://dep.debian.net/deps/dep14/) layout/workflow.

New versions should usually be built from the debian/master branch.
Note that a cuda enabled version can be built from the debian-contrib/master
branch. There is a d/gbp.conf, so building with 'gbp buildpackage' is supported.
The upstream branch is master (there are old upstream branches called upstream
and upstream-branch that were used for intermediate package versions but are now
obsolete).

Patches are managed within the patch-queue/debian/master branch (if there are
any). This branch should always be based on the (upstream) master branch. The
contents of the d/patches directory is then auto-generated using:
$ gbp pq export

To clone this repo use:
$ gbp clone --pristine-tar git@salsa.debian.org:med-team/relion.git

To build the package after cloning:
$ gbp buildpackage

To be able to receive new upstream releases/commits, after cloning, you need to
add the upstream repo address as a 'git remote' as follows:
$ git remote add upstream https://github.com/3dem/relion.git
Then you can pull upstream changes as follows:
$ git branch master
$ git pull upstream

Handling new upstream releases (e.g. for new release 3.1.0):
- Set an upstream tag 'alias' (original upstream tag would be 3.1.0):
  $ git tag upstream/3.1.0 3.1.0
- Rebase patch-queue branch (if it exists and contains needed patches)
  $ git checkout patch-queue/debian/master
  $ git rebase -i upstream/3.1.0
    Review patches, possibly fix conflicts, when done:
  $ gbp pq export
  This puts you into the debian/master branch automatically. Review the changes
  and commit.
- Merge new upstream release to the debian/master branch:
  $ git checkout debian/master (probably you're already there)
  $ git merge upstream/3.1.0
- Adjust debian files for new release ...
- Set debian release tag when done (assuming debian version 3.1.0-1)
  $ git tag debian/3.1.0-1
- Build new package including new pristine-tar generation:
  $ gbp buildpackage --git-pristine-tar --git-pristine-tar-commit \
    --git-compression=xz
- When all is fine, push the new version
  $ git push --all
  $ git push --tags

 -- Roland Fehrenbacher <rfehren@debian.org>  Thu, 01 Oct 2020 10:37:37 +0200

