altgraph for Debian
===================
# repacking upstream sources
The source for this package has the following parts removed:
- doc/_build/*
pre-built documentation
- altgraph.egg-info/*
# packaging guidelines
the python modules team uses `git-dpm` for managing the repository.
See https://wiki.debian.org/Python/GitPackaging#git_workflows for a short
introduction and tips...
## Updating your quilt patch stack
$ git-dpm checkout-patched
$ git rebase -i upstream
<edit>
$ git-dpm update-patches
-- IOhannes m zmölnig (Debian/GNU) <[email protected]> Tue, 24 Oct 2016 11:11:03 +0100
# gbp clone
Starting with gbp>0.8.1, here's a simple way to automatically fine-tune the
repository in the following ways:
- make git ignore any .pc/ directory (created by quilt)
- enable the "--follow-tags" when running 'git-push', so it's harder
to forget to push packaging tags along with the branches.
To enable this for ALL repositories cloned via 'gbp' (in the future), do
something like the following:
$ mkdir -p ~/bin
$ cat >> ~/bin/gbphook-postclone <<EOF
#!/bin/sh
## script to initialize a cloned repository
# - enable the "--follow-tags" mode for pushing
echo "tuning git-repository for ${NAME}"
git config push.followTags true && echo "enabled push.followTags"
# - ignore quilt's .pc/ directory
GITEXCLUDE=".git/info/exclude"
egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \
|| (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/")
EOF
$ chmod u+x ~/bin/gbphook-postclone
$ cat >> ~/.gbp.conf <<EOF
[clone]
postclone = ~/bin/gbphook-postclone
EOF
$ gbp clone ...
-- IOhannes m zmölnig (Debian/GNU) <[email protected]> Mon, 1 Aug 2016 12:15:50 +0200