summaryrefslogtreecommitdiff
path: root/tickets/d9cb60c88af64fb3853f8c002db95b6e
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-02-20 22:10:13 +0200
committerLars Wirzenius <liw@liw.fi>2016-02-20 22:10:13 +0200
commit8c087e41fdda5d9508b9c95ea57fbd079142633d (patch)
tree44bbbcec3aac27d6ca26d498ac1b4f77ae15c190 /tickets/d9cb60c88af64fb3853f8c002db95b6e
parentea12bbd09cf9e03d4b50f139f55925aad10dcec0 (diff)
downloadobnam-dev-distix-8c087e41fdda5d9508b9c95ea57fbd079142633d.tar.gz
imported mails
Diffstat (limited to 'tickets/d9cb60c88af64fb3853f8c002db95b6e')
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/cur/.this-dir-not-empty/.empty/empty-file0
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/.this-dir-not-empty/.empty/empty-file0
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M161241P17339Q160.exolobe1140
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M188163P17339Q161.exolobe1140
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999008.M97732P17339Q187.exolobe1150
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/tmp/.this-dir-not-empty/.empty/empty-file0
-rw-r--r--tickets/d9cb60c88af64fb3853f8c002db95b6e/ticket.yaml4
7 files changed, 434 insertions, 0 deletions
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/cur/.this-dir-not-empty/.empty/empty-file b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/cur/.this-dir-not-empty/.empty/empty-file
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/cur/.this-dir-not-empty/.empty/empty-file
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/.this-dir-not-empty/.empty/empty-file b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/.this-dir-not-empty/.empty/empty-file
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/.this-dir-not-empty/.empty/empty-file
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M161241P17339Q160.exolobe1 b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M161241P17339Q160.exolobe1
new file mode 100644
index 0000000..4194e05
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M161241P17339Q160.exolobe1
@@ -0,0 +1,140 @@
+Return-Path: <obnam-dev-bounces@obnam.org>
+X-Original-To: distix@pieni.net
+Delivered-To: distix@pieni.net
+Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
+ (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
+ (No client certificate requested)
+ by pieni.net (Postfix) with ESMTPS id AC2052C713
+ for <distix@pieni.net>; Sat, 3 Oct 2015 13:30:53 +0200 (CEST)
+Received: from platypus.pepperfish.net (unknown [10.112.100.20])
+ by bagpuss.pepperfish.net (Postfix) with ESMTP id 1D2BB5E6;
+ Sat, 3 Oct 2015 12:30:53 +0100 (BST)
+Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZiL1g-00040y-Uz; Sat, 03 Oct 2015 12:30:52 +0100
+Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZiL1f-00040r-H6
+ for <obnam-dev@obnam.org>; Sat, 03 Oct 2015 12:30:51 +0100
+Received: from benson.vm.bytemark.co.uk ([212.110.190.137])
+ by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
+ (Exim 4.80)
+ (envelope-from <ijc-relay-phiayoh8@benson.vm.bytemark.co.uk>)
+ id 1ZiL1c-0004rJ-TI
+ for obnam-dev@obnam.org; Sat, 03 Oct 2015 12:30:51 +0100
+Received: from cpc22-cmbg14-2-0-cust482.5-4.cable.virginm.net ([86.6.25.227]
+ helo=celaeno.hellion.org.uk)
+ by benson.vm.bytemark.co.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
+ (Exim 4.80)
+ (envelope-from <ijc-relay-phiayoh8@benson.vm.bytemark.co.uk>)
+ id 1ZiL1W-0001gz-47; Sat, 03 Oct 2015 12:30:42 +0100
+Received: from dagon.hellion.org.uk ([192.168.1.7])
+ by celaeno with smtp (Exim 4.84) (envelope-from <ijc@hellion.org.uk>)
+ id 1ZiL1U-0005UT-BX; Sat, 03 Oct 2015 12:30:41 +0100
+Received: by dagon.hellion.org.uk (sSMTP sendmail emulation);
+ Sat, 03 Oct 2015 12:30:40 +0100
+From: Ian Campbell <ijc@hellion.org.uk>
+To: obnam-dev@obnam.org
+Date: Sat, 3 Oct 2015 12:30:40 +0100
+Message-Id: <1443871840-4436-1-git-send-email-ijc@hellion.org.uk>
+X-Mailer: git-send-email 2.5.3
+X-Spam-Score: -2.9
+X-Spam-Score-int: -28
+X-Spam-Bar: --
+X-Scanned-By: pepperfish.net, Sat, 03 Oct 2015 12:30:51 +0100
+X-Spam-Report: Content analysis details: (-2.9 points)
+ pts rule name description
+ ---- ---------------------- --------------------------------------------------
+ -0.3 PPF_FROM_UK RBL: A Received line involves an address from the UK
+ [86.6.25.227 listed in gb.country.dnsbl.rjek.com]
+ -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
+ trust [212.110.190.137 listed in list.dnswl.org]
+ -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
+ domain
+ -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
+ [score: 0.0000]
+X-ACL-Warn: message may be spam
+X-Scan-Signature: f11bba8f41b8bc2894d5c90ad7eebf09
+Cc: Florian Geyer <blueice@fobos.de>, Ian Campbell <ijc@hellion.org.uk>
+Subject: [PATCH] kdirstat: Handled named pipes (fifos)
+X-BeenThere: obnam-dev@obnam.org
+X-Mailman-Version: 2.1.5
+Precedence: list
+List-Id: Obnam development discussions <obnam-dev-obnam.org>
+List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
+List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
+List-Post: <mailto:obnam-dev@obnam.org>
+List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
+List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=subscribe>
+Sender: obnam-dev-bounces@obnam.org
+Errors-To: obnam-dev-bounces@obnam.org
+
+For some reason this was missing from the mode_str lookup, it is the only type
+listed on
+https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt
+which wasn't handled.
+
+For unknown file types emit a commented "#UNHANDLED ..." line rather than
+crashing with a backtrace.
+
+Add a yarn for this scenario, although I've not been able to run it due to
+"ASSUMING extended attributes are allowed for users".
+
+Real world use has been tested by Florian Geyer,
+http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2015-September/003836.html
+
+Cc: Florian Geyer <blueice@fobos.de>
+---
+ obnamlib/plugins/show_plugin.py | 5 +++++
+ yarns/0300-kdirstat-integration.yarn | 10 ++++++++++
+ 2 files changed, 15 insertions(+)
+
+diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
+index 2e942f0..4b97ea8 100644
+--- a/obnamlib/plugins/show_plugin.py
++++ b/obnamlib/plugins/show_plugin.py
+@@ -287,8 +287,13 @@ class ShowPlugin(obnamlib.ObnamPlugin):
+ mode_str = "BlockDev\t"
+ elif stat.S_ISCHR(mode):
+ mode_str = "CharDev\t"
++ elif stat.S_ISFIFO(mode):
++ mode_str = "FIFO"
+ elif stat.S_ISSOCK(mode):
+ mode_str = "Socket\t"
++ else:
++ # Unhandled, make it look like a comment
++ mode_str = "#UNHANDLED\t"
+
+ enc_filename = filename.replace("%", "%25")
+ enc_filename = enc_filename.replace(" ", "%20")
+diff --git a/yarns/0300-kdirstat-integration.yarn b/yarns/0300-kdirstat-integration.yarn
+index a2ff8e6..695994f 100644
+--- a/yarns/0300-kdirstat-integration.yarn
++++ b/yarns/0300-kdirstat-integration.yarn
+@@ -17,6 +17,16 @@ file.
+ THEN first line of C matches [kdirstat 4.0 cache file]
+ AND for each file in directory L a line in the kdircache C matches it
+
++Now a backup containing some interesting objects
++
++ SCENARIO create and do a check of a kdirstat cache of interesting objects
++ ASSUMING extended attributes are allowed for users
++ GIVEN directory L with interesting filesystem objects
++ WHEN user U backs up directory L to repository R
++ AND user U creates a kdirstat cache file C of repository R
++ THEN first line of C matches [kdirstat 4.0 cache file]
++ AND for each file in directory L a line in the kdircache C matches it
++
+ Validating the cache file
+ -------------------------
+
+--
+2.5.3
+
+
+_______________________________________________
+obnam-dev mailing list
+obnam-dev@obnam.org
+http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M188163P17339Q161.exolobe1 b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M188163P17339Q161.exolobe1
new file mode 100644
index 0000000..4194e05
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999006.M188163P17339Q161.exolobe1
@@ -0,0 +1,140 @@
+Return-Path: <obnam-dev-bounces@obnam.org>
+X-Original-To: distix@pieni.net
+Delivered-To: distix@pieni.net
+Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
+ (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
+ (No client certificate requested)
+ by pieni.net (Postfix) with ESMTPS id AC2052C713
+ for <distix@pieni.net>; Sat, 3 Oct 2015 13:30:53 +0200 (CEST)
+Received: from platypus.pepperfish.net (unknown [10.112.100.20])
+ by bagpuss.pepperfish.net (Postfix) with ESMTP id 1D2BB5E6;
+ Sat, 3 Oct 2015 12:30:53 +0100 (BST)
+Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZiL1g-00040y-Uz; Sat, 03 Oct 2015 12:30:52 +0100
+Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZiL1f-00040r-H6
+ for <obnam-dev@obnam.org>; Sat, 03 Oct 2015 12:30:51 +0100
+Received: from benson.vm.bytemark.co.uk ([212.110.190.137])
+ by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
+ (Exim 4.80)
+ (envelope-from <ijc-relay-phiayoh8@benson.vm.bytemark.co.uk>)
+ id 1ZiL1c-0004rJ-TI
+ for obnam-dev@obnam.org; Sat, 03 Oct 2015 12:30:51 +0100
+Received: from cpc22-cmbg14-2-0-cust482.5-4.cable.virginm.net ([86.6.25.227]
+ helo=celaeno.hellion.org.uk)
+ by benson.vm.bytemark.co.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
+ (Exim 4.80)
+ (envelope-from <ijc-relay-phiayoh8@benson.vm.bytemark.co.uk>)
+ id 1ZiL1W-0001gz-47; Sat, 03 Oct 2015 12:30:42 +0100
+Received: from dagon.hellion.org.uk ([192.168.1.7])
+ by celaeno with smtp (Exim 4.84) (envelope-from <ijc@hellion.org.uk>)
+ id 1ZiL1U-0005UT-BX; Sat, 03 Oct 2015 12:30:41 +0100
+Received: by dagon.hellion.org.uk (sSMTP sendmail emulation);
+ Sat, 03 Oct 2015 12:30:40 +0100
+From: Ian Campbell <ijc@hellion.org.uk>
+To: obnam-dev@obnam.org
+Date: Sat, 3 Oct 2015 12:30:40 +0100
+Message-Id: <1443871840-4436-1-git-send-email-ijc@hellion.org.uk>
+X-Mailer: git-send-email 2.5.3
+X-Spam-Score: -2.9
+X-Spam-Score-int: -28
+X-Spam-Bar: --
+X-Scanned-By: pepperfish.net, Sat, 03 Oct 2015 12:30:51 +0100
+X-Spam-Report: Content analysis details: (-2.9 points)
+ pts rule name description
+ ---- ---------------------- --------------------------------------------------
+ -0.3 PPF_FROM_UK RBL: A Received line involves an address from the UK
+ [86.6.25.227 listed in gb.country.dnsbl.rjek.com]
+ -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
+ trust [212.110.190.137 listed in list.dnswl.org]
+ -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
+ domain
+ -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
+ [score: 0.0000]
+X-ACL-Warn: message may be spam
+X-Scan-Signature: f11bba8f41b8bc2894d5c90ad7eebf09
+Cc: Florian Geyer <blueice@fobos.de>, Ian Campbell <ijc@hellion.org.uk>
+Subject: [PATCH] kdirstat: Handled named pipes (fifos)
+X-BeenThere: obnam-dev@obnam.org
+X-Mailman-Version: 2.1.5
+Precedence: list
+List-Id: Obnam development discussions <obnam-dev-obnam.org>
+List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
+List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
+List-Post: <mailto:obnam-dev@obnam.org>
+List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
+List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=subscribe>
+Sender: obnam-dev-bounces@obnam.org
+Errors-To: obnam-dev-bounces@obnam.org
+
+For some reason this was missing from the mode_str lookup, it is the only type
+listed on
+https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt
+which wasn't handled.
+
+For unknown file types emit a commented "#UNHANDLED ..." line rather than
+crashing with a backtrace.
+
+Add a yarn for this scenario, although I've not been able to run it due to
+"ASSUMING extended attributes are allowed for users".
+
+Real world use has been tested by Florian Geyer,
+http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2015-September/003836.html
+
+Cc: Florian Geyer <blueice@fobos.de>
+---
+ obnamlib/plugins/show_plugin.py | 5 +++++
+ yarns/0300-kdirstat-integration.yarn | 10 ++++++++++
+ 2 files changed, 15 insertions(+)
+
+diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
+index 2e942f0..4b97ea8 100644
+--- a/obnamlib/plugins/show_plugin.py
++++ b/obnamlib/plugins/show_plugin.py
+@@ -287,8 +287,13 @@ class ShowPlugin(obnamlib.ObnamPlugin):
+ mode_str = "BlockDev\t"
+ elif stat.S_ISCHR(mode):
+ mode_str = "CharDev\t"
++ elif stat.S_ISFIFO(mode):
++ mode_str = "FIFO"
+ elif stat.S_ISSOCK(mode):
+ mode_str = "Socket\t"
++ else:
++ # Unhandled, make it look like a comment
++ mode_str = "#UNHANDLED\t"
+
+ enc_filename = filename.replace("%", "%25")
+ enc_filename = enc_filename.replace(" ", "%20")
+diff --git a/yarns/0300-kdirstat-integration.yarn b/yarns/0300-kdirstat-integration.yarn
+index a2ff8e6..695994f 100644
+--- a/yarns/0300-kdirstat-integration.yarn
++++ b/yarns/0300-kdirstat-integration.yarn
+@@ -17,6 +17,16 @@ file.
+ THEN first line of C matches [kdirstat 4.0 cache file]
+ AND for each file in directory L a line in the kdircache C matches it
+
++Now a backup containing some interesting objects
++
++ SCENARIO create and do a check of a kdirstat cache of interesting objects
++ ASSUMING extended attributes are allowed for users
++ GIVEN directory L with interesting filesystem objects
++ WHEN user U backs up directory L to repository R
++ AND user U creates a kdirstat cache file C of repository R
++ THEN first line of C matches [kdirstat 4.0 cache file]
++ AND for each file in directory L a line in the kdircache C matches it
++
+ Validating the cache file
+ -------------------------
+
+--
+2.5.3
+
+
+_______________________________________________
+obnam-dev mailing list
+obnam-dev@obnam.org
+http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999008.M97732P17339Q187.exolobe1 b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999008.M97732P17339Q187.exolobe1
new file mode 100644
index 0000000..db0b6cf
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/new/1455999008.M97732P17339Q187.exolobe1
@@ -0,0 +1,150 @@
+Return-Path: <obnam-dev-bounces@obnam.org>
+X-Original-To: distix@pieni.net
+Delivered-To: distix@pieni.net
+Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
+ (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
+ (No client certificate requested)
+ by pieni.net (Postfix) with ESMTPS id 40EE32DA23
+ for <distix@pieni.net>; Sun, 11 Oct 2015 13:42:54 +0200 (CEST)
+Received: from platypus.pepperfish.net (unknown [10.112.100.20])
+ by bagpuss.pepperfish.net (Postfix) with ESMTP id A7AAA2BF;
+ Sun, 11 Oct 2015 12:42:53 +0100 (BST)
+Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZlF1h-0004BM-Go; Sun, 11 Oct 2015 12:42:53 +0100
+Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
+ by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
+ id 1ZlF1g-0004BG-FN
+ for <obnam-dev@obnam.org>; Sun, 11 Oct 2015 12:42:52 +0100
+Received: from pieni.net ([95.142.166.37] ident=postfix)
+ by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
+ (Exim 4.80) (envelope-from <liw@liw.fi>) id 1ZlF1e-0002iN-3J
+ for obnam-dev@obnam.org; Sun, 11 Oct 2015 12:42:52 +0100
+Received: from exolobe1.liw.fi (82-181-8-107.bb.dnainternet.fi [82.181.8.107])
+ (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
+ (No client certificate requested)
+ by pieni.net (Postfix) with ESMTPSA id 05A2C2DA23;
+ Sun, 11 Oct 2015 13:42:44 +0200 (CEST)
+Received: from exolobe1.liw.fi (localhost [127.0.0.1])
+ by exolobe1.liw.fi (Postfix) with ESMTPS id 4BCCE4095C;
+ Sun, 11 Oct 2015 14:42:43 +0300 (EEST)
+Date: Sun, 11 Oct 2015 14:42:42 +0300
+From: Lars Wirzenius <liw@liw.fi>
+To: Ian Campbell <ijc@hellion.org.uk>
+Message-ID: <20151011114242.GP2384@exolobe1.liw.fi>
+References: <1443871840-4436-1-git-send-email-ijc@hellion.org.uk>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=iso-8859-1
+Content-Disposition: inline
+Content-Transfer-Encoding: 8bit
+In-Reply-To: <1443871840-4436-1-git-send-email-ijc@hellion.org.uk>
+User-Agent: Mutt/1.5.23 (2014-03-12)
+X-Spam-Score: -3.4
+X-Spam-Score-int: -33
+X-Spam-Bar: ---
+X-Scanned-By: pepperfish.net, Sun, 11 Oct 2015 12:42:52 +0100
+X-Spam-Report: Content analysis details: (-3.4 points)
+ pts rule name description
+ ---- ---------------------- --------------------------------------------------
+ -1.0 PPF_USER_AGENT_MUTT User-Agent: contains Mutt (Mutt isn't a spam
+ tool) -0.5 PPF_USER_AGENT User-Agent: exists
+ -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
+ [score: 0.0000]
+X-ACL-Warn: message may be spam
+X-Scan-Signature: cb3ee7de316b4489dec5a195b4b4db2c
+Cc: Florian Geyer <blueice@fobos.de>, obnam-dev@obnam.org
+Subject: Re: [PATCH] kdirstat: Handled named pipes (fifos)
+X-BeenThere: obnam-dev@obnam.org
+X-Mailman-Version: 2.1.5
+Precedence: list
+List-Id: Obnam development discussions <obnam-dev-obnam.org>
+List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
+List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
+List-Post: <mailto:obnam-dev@obnam.org>
+List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
+List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
+ <mailto:obnam-dev-request@obnam.org?subject=subscribe>
+Sender: obnam-dev-bounces@obnam.org
+Errors-To: obnam-dev-bounces@obnam.org
+
+Thank you, merged and pushed to git.liw.fi.
+
+On Sat, Oct 03, 2015 at 12:30:40PM +0100, Ian Campbell wrote:
+> For some reason this was missing from the mode_str lookup, it is the only type
+> listed on
+> https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt
+> which wasn't handled.
+>
+> For unknown file types emit a commented "#UNHANDLED ..." line rather than
+> crashing with a backtrace.
+>
+> Add a yarn for this scenario, although I've not been able to run it due to
+> "ASSUMING extended attributes are allowed for users".
+>
+> Real world use has been tested by Florian Geyer,
+> http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2015-September/003836.html
+>
+> Cc: Florian Geyer <blueice@fobos.de>
+> ---
+> obnamlib/plugins/show_plugin.py | 5 +++++
+> yarns/0300-kdirstat-integration.yarn | 10 ++++++++++
+> 2 files changed, 15 insertions(+)
+>
+> diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
+> index 2e942f0..4b97ea8 100644
+> --- a/obnamlib/plugins/show_plugin.py
+> +++ b/obnamlib/plugins/show_plugin.py
+> @@ -287,8 +287,13 @@ class ShowPlugin(obnamlib.ObnamPlugin):
+> mode_str = "BlockDev\t"
+> elif stat.S_ISCHR(mode):
+> mode_str = "CharDev\t"
+> + elif stat.S_ISFIFO(mode):
+> + mode_str = "FIFO"
+> elif stat.S_ISSOCK(mode):
+> mode_str = "Socket\t"
+> + else:
+> + # Unhandled, make it look like a comment
+> + mode_str = "#UNHANDLED\t"
+>
+> enc_filename = filename.replace("%", "%25")
+> enc_filename = enc_filename.replace(" ", "%20")
+> diff --git a/yarns/0300-kdirstat-integration.yarn b/yarns/0300-kdirstat-integration.yarn
+> index a2ff8e6..695994f 100644
+> --- a/yarns/0300-kdirstat-integration.yarn
+> +++ b/yarns/0300-kdirstat-integration.yarn
+> @@ -17,6 +17,16 @@ file.
+> THEN first line of C matches [kdirstat 4.0 cache file]
+> AND for each file in directory L a line in the kdircache C matches it
+>
+> +Now a backup containing some interesting objects
+> +
+> + SCENARIO create and do a check of a kdirstat cache of interesting objects
+> + ASSUMING extended attributes are allowed for users
+> + GIVEN directory L with interesting filesystem objects
+> + WHEN user U backs up directory L to repository R
+> + AND user U creates a kdirstat cache file C of repository R
+> + THEN first line of C matches [kdirstat 4.0 cache file]
+> + AND for each file in directory L a line in the kdircache C matches it
+> +
+> Validating the cache file
+> -------------------------
+>
+> --
+> 2.5.3
+>
+>
+> _______________________________________________
+> obnam-dev mailing list
+> obnam-dev@obnam.org
+> http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org
+>
+
+--
+Schrödinger's backup hypothesis: the condition of any backup is
+undefined until a restore is attempted. -- andrewsh
+
+_______________________________________________
+obnam-dev mailing list
+obnam-dev@obnam.org
+http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/tmp/.this-dir-not-empty/.empty/empty-file b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/tmp/.this-dir-not-empty/.empty/empty-file
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/Maildir/tmp/.this-dir-not-empty/.empty/empty-file
diff --git a/tickets/d9cb60c88af64fb3853f8c002db95b6e/ticket.yaml b/tickets/d9cb60c88af64fb3853f8c002db95b6e/ticket.yaml
new file mode 100644
index 0000000..aef1573
--- /dev/null
+++ b/tickets/d9cb60c88af64fb3853f8c002db95b6e/ticket.yaml
@@ -0,0 +1,4 @@
+ticket-id:
+- d9cb60c88af64fb3853f8c002db95b6e
+title:
+- '[PATCH] kdirstat: Handled named pipes (fifos)'