summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 20:50:00 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 20:50:00 -0400
commit2fea7c86ef761141f00145702568ea2e3b86cd6b (patch)
treed09a802b2ad4c387f9560463b6c12af80d59c905
parentb5e33d44a4a838b8212a156b28b186331e5e4adb (diff)
documenting problems with the tarball generation process.
-rw-r--r--Makefile4
-rw-r--r--website/bugs/make-tarball-is-not-idempotent.mdwn12
2 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 779bb1a..4ea3898 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,9 @@ debian-package: tarball
(cd monkeysphere-$(MONKEYSPHERE_VERSION) && debuild -uc -us)
rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
-freebsd-distinfo: tarball
+# don't explicitly depend on the tarball, since our tarball
+# (re)generation is not idempotent even when no source changes.
+freebsd-distinfo:
./utils/build-freebsd-distinfo
clean:
diff --git a/website/bugs/make-tarball-is-not-idempotent.mdwn b/website/bugs/make-tarball-is-not-idempotent.mdwn
new file mode 100644
index 0000000..57012cb
--- /dev/null
+++ b/website/bugs/make-tarball-is-not-idempotent.mdwn
@@ -0,0 +1,12 @@
+[[ meta title="make tarball is not idempotent" ]]
+
+The current monkeysphere Makefile has a "tarball" target, which
+produces the "upstream tarball". Unfortunately, it is not idempotent.
+That is, if you run it twice in a row (without changing any other
+source), the second .orig.tar.gz file is bytewise different from the
+first.
+
+We should fix this so that the tarball generated is the same at least
+as long as no local file has been touched.
+
+--dkg