[Pkg-zsh-commits] [zsh] 21/26: Workflow: Don't use ./configure for testing if the package builds

Axel Beckert abe at deuxchevaux.org
Wed Oct 8 21:14:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch debian
in repository zsh.

commit 03a66070b52c46224018db326b70ba4051c34e4d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Oct 8 22:41:08 2014 +0200

    Workflow: Don't use ./configure for testing if the package builds
---
 debian/pkg-zsh-workflow.md | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/debian/pkg-zsh-workflow.md b/debian/pkg-zsh-workflow.md
index bad075e..1224017 100644
--- a/debian/pkg-zsh-workflow.md
+++ b/debian/pkg-zsh-workflow.md
@@ -325,13 +325,21 @@ patches.
 
 ### Verify that the package builds
 
-    % git reset --hard
-    % git clean -xdf
-    % QUILT_PATCHES=debian/patches
-    % export QUILT_PATCHES
-    % quilt push -a
-    % ./configure
-    % make all test
+There are many ways to do this. Important is:
+
+* Use a clean and uptodate Debian Sid chroot (e.g. by using `sbuild`,
+  or `pbuilder` and friends) to make a comprehensive test or for
+  uploading.
+
+  Axel prefers: `pdebuild -j6`
+
+* For a quick sanity check, a simple `dpkg-buildpackage -B` (just
+  builds the architecture-dependent binary packages or a `debuild -uc
+  -us` (builds source and binary packages, runs `lintian` afterwards)
+  may suffice.
+
+* Use `gbp buildpackage` to automatically make sure, you are on the
+  correct branch and that the working directory is clean.
 
 
 ### Update changelog again for the release

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list