aboutsummaryrefslogtreecommitdiff
path: root/development.mdwn
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-05 23:59:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-05 23:59:23 -0300
commit5c0574c296ba0a1f0951f5d217f05fad0f1fcb00 (patch)
tree2f876ceb6cbc9dfce0f5098e9b3381e5368baaae /development.mdwn
parentf91709c2abaa2b3011ef0b9799ce2fa010f9d534 (diff)
downloadkeyringer-5c0574c296ba0a1f0951f5d217f05fad0f1fcb00.tar.gz
keyringer-5c0574c296ba0a1f0951f5d217f05fad0f1fcb00.tar.bz2
Adding initial development guidelines
Diffstat (limited to 'development.mdwn')
-rw-r--r--development.mdwn38
1 files changed, 38 insertions, 0 deletions
diff --git a/development.mdwn b/development.mdwn
new file mode 100644
index 0000000..874a408
--- /dev/null
+++ b/development.mdwn
@@ -0,0 +1,38 @@
+[[!meta title="Keyringer: development guidelines"]]
+
+Preparing the source code:
+
+ make build_man
+
+Commit and tag 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:
+
+ dh_make -p keyringer_0.1 --createorig
+
+Creating a release file:
+
+ git archive --format=tar HEAD | gzip >../tarballs/keyringer-0.1.tar.gz
+
+To generate a `keyringer_0.1.orig.tar.gz`-line file:
+
+ dh_make -f ../tarballs/keyringer-0.1.tar.gz -p keyringer_0.1
+
+Building a package from the git three using the upstream branch:
+
+ git-buildpackage
+
+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).
+