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

Clone and add upstream repo:
  $ gbp clone --pristine-tar https://salsa.debian.org/bridges-team/shadowsocks-libev.git
  $ cd shadowsocks-libev
  $ git remote add github https://github.com/shadowsocks/shadowsocks-libev.git

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
