Debian packaging notes for ooniprobe
====================================

ooniprobe is managed in a Git repository using git-buildpackage (with
pristine-tar). It follows most of the advice provided by Russ Allbery at:
http://www.eyrie.org/~eagle/notes/debian/git.html

Creating an updated package for a new upstream release goes as:

0. Add a remote with upstream repository if not already done:

    $ git remote add github-upstream https://github.com/TheTorProject/ooni-probe.git

1. Fetch new commits from upstream repository:

    $ git fetch --tags github-upstream

2. Verify the upstream tag:

    $ git tag -v v$VERSION

3. Retrieve the new upstream tarball:

    $ uscan --verbose

4. Import it:

    $ gbp import-orig ../ooniprobe-$VERSION.tar.gz --upstream-vcs-tag=v$VERSION

6. Hack, improve, update debian/changelog…

7. Build a new package:

    $ gbp buildpackage
