From: Daniel Kahn Gillmor Date: Mon, 15 Sep 2008 00:50:00 +0000 (-0400) Subject: documenting problems with the tarball generation process. X-Git-Tag: monkeysphere_0.16-1~44 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2fea7c86ef761141f00145702568ea2e3b86cd6b;hp=b5e33d44a4a838b8212a156b28b186331e5e4adb;p=monkeysphere.git documenting problems with the tarball generation process. --- 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