summaryrefslogtreecommitdiff
path: root/tickets/8b02a339d62345ee9a0847fa0015d406/Maildir/new/1477727707.M24502P319Q1.hrun
blob: 2fb890cfc96dc6662ccc3c13cd32ebed7e409f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
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 41FE3232F5
	for <distix@pieni.net>; Sat, 29 Oct 2016 09:54:33 +0200 (CEST)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id D3A4C30B;
	Sat, 29 Oct 2016 08:54:32 +0100 (BST)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1c0OTI-00013u-N9; Sat, 29 Oct 2016 08:54:32 +0100
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1c0OTH-00013j-DX
 for <obnam-dev@obnam.org>; Sat, 29 Oct 2016 08:54:31 +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 1c0OTF-0007be-Ar
 for obnam-dev@obnam.org; Sat, 29 Oct 2016 08:54:31 +0100
Received: from exolobe3.liw.fi (82-181-57-241.bb.dnainternet.fi
 [82.181.57.241])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pieni.net (Postfix) with ESMTPSA id 8826B22D61;
 Sat, 29 Oct 2016 09:54:22 +0200 (CEST)
Received: from exolobe3 (localhost [127.0.0.1])
 by exolobe3.liw.fi (Postfix) with ESMTPS id E323B1200C2;
 Sat, 29 Oct 2016 10:54:21 +0300 (EEST)
Date: Sat, 29 Oct 2016 10:54:20 +0300
From: Lars Wirzenius <liw@liw.fi>
To: Maximilian Gaukler <development@maxgaukler.de>
Message-ID: <20161029075420.slsmmy5s5tzplpi2@exolobe3>
References: <88c2c42e-3e39-ad29-c921-d078a62aa023@maxgaukler.de>
MIME-Version: 1.0
In-Reply-To: <88c2c42e-3e39-ad29-c921-d078a62aa023@maxgaukler.de>
User-Agent: NeoMutt/20161014 (1.7.1)
X-Pepperfish-Transaction: fbed-7124-d0a8-69c9
X-Spam-Score: -2.9
X-Spam-Score-int: -28
X-Spam-Bar: --
X-Scanned-By: pepperfish.net, Sat, 29 Oct 2016 08:54:31 +0100
X-Spam-Report: Content analysis details: (-2.9 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
 0.5 PPF_MESSAGEID_NODOTS   Message-Id contains no dots after the @
 -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: 8d9bf543182325b05130c99869afadd4
Cc: obnam-dev@obnam.org
Subject: Re: [BUG] verify fails for relative root paths
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>
Content-Type: multipart/mixed; boundary="===============3348963683247208381=="
Mime-version: 1.0
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org


--===============3348963683247208381==
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="6l7rs5627qopohr2"
Content-Disposition: inline


--6l7rs5627qopohr2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm afraid I can't make up my mind about whether this is a bug. On the
one hand there is the convenience of not having to give the full path
to a file when restoring; on the other hand there is the simplicity of
always unambiguously requiring the full path.

I generally favour simplicity over convenience, however, and so I'm
going to treat this as a non-bug. Sorry.

On Sun, Aug 28, 2016 at 12:11:13PM +0200, Maximilian Gaukler wrote:
> Hi,
>=20
> verification fails when using a relative root path, as it can be seen from
> the following simple testcase:
>=20
>=20
> Commands to reproduce: (I still have to learn how to write these yarn
> files...)
>=20
> # setup test data
> mkdir -p src dest
> obnam backup --root=3Dsrc --repository=3Ddest
>=20
> # relative dir -- fails
> obnam verify --root=3Dsrc --repository=3Ddest
>=20
> # absolute dir -- works
> obnam verify --root=3D`pwd`/src --repository=3Ddest
>=20
>=20
>=20
> Output:
>=20
> Backed up 1 files (of 1 found), uploaded 0.0 B in 0s at 0.0 B/s average
> speed
>=20
> # relative dir:
> ERROR: R3E151X: Client my-hostname, generation 2 does not have file src
>=20
> # absolute dir:
> 00h00m00s verifying file 2/1 0 B/0 B 0 %: /tmp/obnam-test/src
> Verify did not find problems.
>=20
>=20
>=20
>=20
>=20
> Thanks,
>=20
> Max
>=20
> _______________________________________________
> obnam-dev mailing list
> obnam-dev@obnam.org
> http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam=
=2Eorg
>=20

--=20
I want to build worthwhile things that might last. --joeyh

--6l7rs5627qopohr2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAABCgAGBQJYFFWsAAoJEGwvphbseiAxaJ4P/iZGc37iLxYb/O9bjtWnyTUj
c0vP4gVtmMYazCUxCj8Qdwn4Qf2IIQXyrOAAAEgj3dosT5QiaaAv4Bf+O/hYbYsg
e5Bj5H6T/42gM5iWCZ/uE3fTEUJSnSErsYLL3QGS98Q2MuozohC2hfXzZNE78Cp6
H/5o++OGIFJu7yyOpqvVP47YMlsiS0MjbvdBuIIcEPrbu/2KnJ+ElGh9/6RZ5IBz
BJWWWP+U2d1EeossTXHxQd6nCdp81iLjg0eoUzJLZiexT/whKwh+ViAK+zUhRCOi
YEY64qwhEGlGGwblFLQCR5NUu7ldqdH4i5ny2laVZFawhkHZarm+qQNWtVfq03Gx
f56biR+3rK8Bf78+IVGaIEyb1vell7ZUWR29XomuPKHWhm/Izdhi7E7+SFR0jduX
rHck0OLo7A1chjehQeL15hHdJOnIGZvGYh2ZiyIVLONaXrJIg5A/vrz4LBXonfDf
BTvIFjDmDVEwjSqiX4tehrp/ustDGC3FGjjjg7sUuMgHUbUqAA/IjCNkl/RCVGDD
vdJyRaA/PSknnUi5e5p8oCxlc6FyoFLFHnQkBZUMn7bK9Lh7jBeUr9jNJL3ihY6N
BTR9YoTedbKJzw4c/nBOHV0LH89bJPgJIExXtCgNVBmrKeQUBCp1Z7AJZxPbsMhj
aVA+onJKJ5zXAOFwIGGJ
=nWGy
-----END PGP SIGNATURE-----

--6l7rs5627qopohr2--


--===============3348963683247208381==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
obnam-dev mailing list
obnam-dev@obnam.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org

--===============3348963683247208381==--