summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-06-24 20:27:19 +0300
committerLars Wirzenius <liw@liw.fi>2015-06-25 18:48:14 +0300
commit7a9ed0e24a3a23b543edacf1ca43c351c1090ffe (patch)
treeeeeb99fdc9585042e172083158d069ddf2ab97b8 /doc
parent4dda56e18912bdc0b0b8cca30e0147883d36c5cd (diff)
downloadick-7a9ed0e24a3a23b543edacf1ca43c351c1090ffe.tar.gz
Mangle release version's Debian part with suite
Diffstat (limited to 'doc')
-rw-r--r--doc/060-cleanly.yarn18
-rw-r--r--doc/900-implements.yarn1
2 files changed, 17 insertions, 2 deletions
diff --git a/doc/060-cleanly.yarn b/doc/060-cleanly.yarn
index 7d79e22..859ef98 100644
--- a/doc/060-cleanly.yarn
+++ b/doc/060-cleanly.yarn
@@ -31,7 +31,7 @@ this, we need to tell it the build number.
In release build mode, however, we want no mangling.
WHEN user runs, in foo,
- ... cleanly --release get-upstream-version
+ ... cleanly --release --debian-release debian8 get-upstream-version
THEN the output is "3.2\n"
## Create upstream release tar archive
@@ -46,7 +46,7 @@ builds, the mangled upstream version is used.
For release builds, it's the declared upstream version.
WHEN user runs, in foo,
- ... cleanly --release tarball
+ ... cleanly --release --debian-release debian7 tarball
THEN file foo-3.2.tar.xz exists
## Create Debian source package
@@ -64,6 +64,20 @@ appended.
AND file foo_3.2.ci42-1.debian7.debian.tar.xz exists
AND file foo_3.2.ci42-1.debian7.dsc exists
+For a release build, once again, no version mangling. (Boring to read?
+Imagine how boring this is to write. I need writing lessons.)
+
+Actually, that's a lie. The release build _will_ mangle versions, by
+adding the upload target's release number to the Debian part of the
+full version number. This is so that we can build an upstream version
+separately for each supported Debian release (e.g., Debian 7 and 8).
+
+ WHEN user runs, in foo,
+ ... cleanly --release --debian-release debian7 dsc
+ THEN file foo_3.2.orig.tar.xz exists
+ AND file foo_3.2-1.debian7.debian.tar.xz exists
+ AND file foo_3.2-1.debian7.dsc exists
+
## Build a Debian binary package
This is where things get interesting. We build a Debian binary
diff --git a/doc/900-implements.yarn b/doc/900-implements.yarn
index 371e2cd..de7c52c 100644
--- a/doc/900-implements.yarn
+++ b/doc/900-implements.yarn
@@ -154,6 +154,7 @@ Check what the output of the latest invocation of `cleanly` was.
Does a file exist?
IMPLEMENTS THEN file (.+) exists
+ ls -a "$DATADIR"
test -e "$DATADIR/$MATCH_1"
## Checking for package files in the APT repository