From 2fea7c86ef761141f00145702568ea2e3b86cd6b Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 14 Sep 2008 20:50:00 -0400 Subject: [PATCH] documenting problems with the tarball generation process. --- Makefile | 4 +++- website/bugs/make-tarball-is-not-idempotent.mdwn | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 website/bugs/make-tarball-is-not-idempotent.mdwn 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 -- 2.26.2