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