blob: 5444971d1b08d3d2955eb63b4f6f725bafbc81a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
[[!meta title="Keyringer: development guidelines and workflow"]]
Preparing the source code:
make build_man
Commit and tag a release:
git checkout master
git commit -m "Keyringer 0.1"
git tag -s
git checkout upstream
git merge master
git checkout debian
git merge master
git push --tags
Creating the `debian/` structure (needed just once):
dh_make -p keyringer_0.1 --createorig
Creating a release file:
make tarball
To generate a `keyringer_VERSION.orig.tar.gz` file:
make dh
Setting up a sid pbuilder chroot:
DIST=sid sudo pbuilder create --debootstrapopts --variant=buildd
Setting up a sid cowbuilder chroot:
DIST=sid sudo cowbuilder --create
Building a package from the git three using the upstream branch:
git-buildpackage
Running lintian (or [add it to your pbuilder hooks](http://askubuntu.com/questions/140697/how-do-i-run-lintian-from-pbuilder-dist):
lintian ../build-area/keyringer_*.deb
References:
* [Using Git for Debian Packaging](http://www.eyrie.org/~eagle/notes/debian/git.html).
* [Building packages from the Git repository](http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.building.html).
* [Cowbuilder](https://wiki.debian.org/cowbuilder).
* [git-pbuilder](https://wiki.debian.org/git-pbuilder).
* [PackagingWithGit - Debian Wiki](https://wiki.debian.org/PackagingWithGit).
|