diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-10-04 13:05:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-10-04 13:05:51 -0300 |
commit | 1b1197728cfd029deb46ebbe6ac0a70bcee58510 (patch) | |
tree | c29ce11cc1faeab4cb42c9179cb0cff54f7e72d0 /development.mdwn | |
parent | 6b1a9638aa417da337e68e3d073e5ecc1f113b9b (diff) | |
parent | 6799fd6ea063e910fef1c03c72aa664ee29875c9 (diff) | |
download | keyringer-1b1197728cfd029deb46ebbe6ac0a70bcee58510.tar.gz keyringer-1b1197728cfd029deb46ebbe6ac0a70bcee58510.tar.bz2 |
Imported Upstream version 0.2.6upstream_keyringer_0.2.6
Diffstat (limited to 'development.mdwn')
-rw-r--r-- | development.mdwn | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/development.mdwn b/development.mdwn index 1313e9a..d312bf2 100644 --- a/development.mdwn +++ b/development.mdwn @@ -44,29 +44,15 @@ Prepare the source code: $EDITOR ChangeLog make build_man -Update debian changelog: - - cd debian - dch -i - cd - - Commit and tag a release: git commit -a -m "Keyringer $VERSION" git tag -s $VERSION -m "Keyringer $VERSION" - git checkout upstream - git merge master - git checkout debian - git merge upstream Create a release file: make tarball -Generate a `keyringer_VERSION.orig.tar.bz2` file: - - make dh - Sign the release ([see backupninja development guidelines](https://labs.riseup.net/code/projects/backupninja/wiki/Release)): cd ../tarballs @@ -77,15 +63,17 @@ Upload the release: scp keyringer-$VERSION.tar.bz2* server:/var/sites/keyringer/releases/ cd - -Add the release into the `pristine-tar` branch: +Update the debian branch: - pristine-tar commit ../tarballs/keyringer_$VERSION.orig.tar.bz2 $VERSION + git checkout debian + git-import-orig --upstream-vcs-tag=$VERSION ../tarballs/keyringer-$VERSION.tar.bz2 + dch -e # fine tune the changelog prepared by git-dch Push everything: git push --tags -Build the package from the git three using the upstream branch: +Build the package from the debian Git branch: git-buildpackage @@ -94,6 +82,11 @@ Run lintian (or [add it to your pbuilder hooks](http://askubuntu.com/questions/1 lintian --info --display-info --pedantic --color auto \ ../build-area/keyringer_$VERSION*.changes +Notes: + +* `git-import-orig` takes care of running `pristine-tar commit`, of merging of the tag and orig tarball into the upstream branch, and then it merges the result into the debian branch. With the above configuration, it also runs git-dch to do the bulk of the work in `debian/changelog`. +* To build a development package, checkout the debian branch, merge master, run `git-dch --auto --snapshot` and build. + Adding a subcommand ------------------- |