Starting a Debian™ package from scratch

So far, we assumed you already have a Debian™ package to start with, but what if you want to start a new package? First, create an empty repository:

  mkdir package-0.1
  cd package-0.1
  git init

Then, you import the upstream sources, branch off the upstream-branch branch and add the Debian™ files (e.g. via dh_make):

  gbp import-orig -u 0.1 ../package-0.1.tar.gz

That's it, you're done. If you want to publish your new repository, you can use gbp create-remote-repo.