Package Maintenance Tips
========================

Clone and add upstream repo:
  $ gbp clone --pristine-tar https://anonscm.debian.org/git/pkg-go/packages/golang-github-xtaci-kcp.git
  $ cd golang-github-xtaci-kcp
  $ git remote add xtaci https://github.com/xtaci/kcp-go

When upstream releases a new version:
  $ debian/maint-tools/new_upstream
## command below is optional.
## if you want to touch ds source of new version from upstream,
## e.g. remove more files, please do it now and then:
  $ git add -u
  # git diff --name-status <old-version-tag> <new-version-tag>
  $ git commit --amend --no-edit
  $ debian/maint-tools/update_ds_tag
## make a new release
  $ dch -i
  $ dch -r
  $ git add -u
  $ git commit -m "Prepare to release x.y.z+ds-1"

Build:
## general gbp build
  $ gbp buildpackage -uc -us --git-pristine-tar
## gbp build with pbuilder
  $ gbp buildpackage --git-pristine-tar --git-pbuilder --git-export-dir=../build-area
