From bced627337a0882f69b4468c4b04f91e9e2c8f21 Mon Sep 17 00:00:00 2001 From: dancer Date: Sun, 29 Oct 2006 02:16:49 +0000 Subject: revised developer documentation. --- Documentation/pbuilder-doc.xml | 70 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 5 deletions(-) (limited to 'Documentation') diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml index 4addab6..7ce6206 100644 --- a/Documentation/pbuilder-doc.xml +++ b/Documentation/pbuilder-doc.xml @@ -1159,7 +1159,7 @@ BINDMOUNTS="${CCACHE_DIR}" - Development + Information for pbuilder developers This section tries to document current development practices and how things generally operate in development. @@ -1176,23 +1176,83 @@ cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/pbuilder login cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/pbuilder co pbuilder - Test-suites are available in tests/ directory, and - changes are expected not to break the test-suites. + Test-suites are available in ./testsuite/ directory. + Changes are expected not to break the test-suites. ./run-test.sh is a basic test-suite, which puts a summary in run-test.log, and run-test-cdebootstrap.log. ./run-test-regression.sh is a regression test-suite, which puts the result in run-test-regression.log. Currently, run-test.sh is ran automatically daily to ensure that pbuilder is working. + + Directory structure of the testsuite + + + + + + Directory + Meaning + + + + + ./testsuite/ + Directory for testsuite + + + ./testsuite/run-test.sh + Daily regression test to test against Debian Archive changes breaking pbuilder. + + + ./testsuite/run-test.log + A summary of testsuite + + + ./testsuite/normal/ + Directory for testsuite results of running pbuilder with debootstrap + + + ./testsuite/cdebootstrap/ + Directory for testsuite results of running pbuilder with cdebootstrap + + + ./testsuite/run-regression.sh + Regression testsuite, ran every time change is made to pbuilder to make sure there is no regression. + + + ./testsuite/run-regression.log + Summary of test result + + + ./testsuite/regression/BugID-*.sh + Regression tests, exit 0 for success, exit 1 for failure + + + ./testsuite/regression/BugID-* + Files used for the regression testsuite. + + + ./testsuite/regression/log/BugID-*.sh.log + Output of the regression test, output from the script is redirected by run-regression.sh + + + +
When making changes, a description of the change targeted at developers should be documented in - ChangeLog, and committed. A brief + ChangeLog + ChangeLog is edited using emacs ChangeLog mode. + , and committed. A brief summary of the change targeting end users should be documented in debian/changelog, so that users can - see them. Note that the description of + see them. + + It is important to note that the description of debian/changelog is targeted at users, and ChangeLog is targeted at developers. + For CVS commit messages, a cut-n-paste of ChangeLog diff should be enough. -- cgit v1.2.3