From: Daira Hopwood Date: Thu, 5 Sep 2013 18:03:35 +0000 (+0100) Subject: Sun Nov 20 23:24:26 GMT 2011 david-sarah@jacaranda.org X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/frontends/%22doc.html/somewhere?a=commitdiff_plain;h=2425a8971acac9babc4dd4e94ae7d2c0221986f5;p=tahoe-lafs%2Ftahoe-lafs.git Sun Nov 20 23:24:26 GMT 2011 david-sarah@jacaranda.org * Use a private/drop_upload_dircap file instead of the [drop_upload]upload.dircap option in tahoe.cfg. Fail if the upload.dircap option is used, or options are missing. Also updates tests and docs. fixes #1593 --- diff --git a/Makefile b/Makefile index ba83cdbd..1134e47d 100644 --- a/Makefile +++ b/Makefile @@ -202,6 +202,10 @@ test-darcs-boringfile: $(MAKE) $(PYTHON) misc/build_helpers/test-darcs-boringfile.py +test-git-ignore: + $(MAKE) + $(PYTHON) misc/build_helpers/test-git-ignore.py + test-clean: find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.old $(MAKE) diff --git a/misc/build_helpers/test-git-ignore.py b/misc/build_helpers/test-git-ignore.py new file mode 100644 index 00000000..832f775d --- /dev/null +++ b/misc/build_helpers/test-git-ignore.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python + +import sys +from subprocess import Popen, PIPE + +cmd = ["git", "status", "--porcelain"] +p = Popen(cmd, stdout=PIPE) +output = p.communicate()[0] +print output +if output == "": + sys.exit(0) +sys.exit(1) + +