=============== Debian workflow =============== Existing package ================ Fetch all the sources of a package (origs, diffs, and dscs): This will create :file:`source-package` directory. :command:`debsnap package` Import dscs into a new git repository. This will create a git repo in :file:`package/` direcotory. :command:`git-import-dscs source-package/\*.dsc` Create an Alioth repo (on git.debian.org server): :command:`cd /git/collab-maint/` :command:`./setup-repository package 'Debian packaging for package'` Now move we need to tie Alioth's git repository with the one we just created: :command:`cd package` :command:`git remote add alioth ssh://@git.debian.org/git/collab-maint/.git` :command:`git push --all` :command:`git push --tags` New upstream ============ When new upstream comes, you can: :command:`git-import-orig package.orig.tar.gz` Now make changes in your :file:`debian/*` directory and when you are done auto generate changelog: :command:`git-dch --auto` When you are ready to upload: :command:`gbp buildpackage --git-tag-only` DFSG ==== Create dfsg source package and upload it as a new release.