summaryrefslogtreecommitdiff
path: root/tickets/2173d4e7d8a4497da071ca9d46be611b/Maildir/new/1499060339.M636878P15813Q1.koom
blob: 8bece8f8267f058ca55594d81becf4efe653caa9 (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
181
182
183
184
185
Return-Path: <obnam-dev-bounces@obnam.org>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from yaffle.pepperfish.net (yaffle.pepperfish.net [88.99.213.221])
	by pieni.net (Postfix) with ESMTPS id 6685B41810
	for <distix@pieni.net>; Mon,  3 Jul 2017 05:33:21 +0000 (UTC)
Received: from platypus.pepperfish.net (unknown [10.112.101.20])
	by yaffle.pepperfish.net (Postfix) with ESMTP id 3DC3941C94;
	Mon,  3 Jul 2017 06:33:21 +0100 (BST)
Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1dRtz7-0008VO-7Y; Mon, 03 Jul 2017 06:33:21 +0100
Received: from [10.112.101.21] (helo=inmail2.pepperfish.net)
 by platypus.pepperfish.net with esmtps (Exim 4.80 #2 (Debian))
 id 1dRtz5-0008VA-MI
 for <obnam-dev@obnam.org>; Mon, 03 Jul 2017 06:33:19 +0100
Received: from koom.pieni.net ([88.99.190.206] helo=pieni.net)
 by inmail2.pepperfish.net with esmtps
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <liw@liw.fi>) id 1dRtz4-00043w-4k
 for obnam-dev@obnam.org; Mon, 03 Jul 2017 06:33:19 +0100
Received: from exolobe3.liw.fi (82-181-57-241.bb.dnainternet.fi
 [82.181.57.241]) by pieni.net (Postfix) with ESMTPSA id 7078F41810;
 Mon,  3 Jul 2017 05:33:12 +0000 (UTC)
Received: from liw.fi (localhost [127.0.0.1])
 by exolobe3.liw.fi (Postfix) with ESMTPS id C7E7E1200D0;
 Mon,  3 Jul 2017 08:33:11 +0300 (EEST)
Date: Mon, 3 Jul 2017 08:33:10 +0300
From: Lars Wirzenius <liw@liw.fi>
To: Michele Alessandrini <m.alessandrini@univpm.it>
Message-ID: <20170703053310.7y5qri5l6mduhuli@liw.fi>
References: <0dc53aa0-b510-8607-ba63-f527f49bdf50@univpm.it>
MIME-Version: 1.0
In-Reply-To: <0dc53aa0-b510-8607-ba63-f527f49bdf50@univpm.it>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Pepperfish-Transaction: 9a01-3ce8-88a6-4cc5
X-Spam-Score: -3.4
X-Spam-Score-int: -33
X-Spam-Bar: ---
X-Scanned-By: pepperfish.net, Mon, 03 Jul 2017 06:33:19 +0100
X-Spam-Report: Content analysis details: (-3.4 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.5 PPF_USER_AGENT         User-Agent: exists
 -1.0 PPF_USER_AGENT_MUTT    User-Agent: contains Mutt (Mutt isn't a spam
 tool)
 -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: dac7127c6b0e4a408c863dfea4046687
Cc: obnam-dev@obnam.org
Subject: Re: "exclude-if-present" option
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="===============8028953905777979665=="
Mime-version: 1.0
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org


--===============8028953905777979665==
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="25dz43n4rurbvt5b"
Content-Disposition: inline


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

I've not had time to try this yet, but from reading the patch it looks
good. A few comments below.

On Thu, Jun 29, 2017 at 12:08:29PM +0200, Michele Alessandrini wrote:
> The "./check" suite mostly passes (I had to fight a little with pep8), but
> it gives some errors at the end, I suspect they're not related to code, I
> report the output at the end. Maybe I have not all the needed programs
> installed? I followed the README, and by the way I use debian testing so I
> conveniently found all your packages right in aptitude.

I'll have a look and see if I can figure out what's wrong. The README
may be out of date, but debian/control should be up to date.

> About unit tests, I found there is no similar tests for exclusion cases, =
so
> it would be difficult for me to write one from scratch, and I added it to
> "without-tests" file together with the other exclude plugins. I hope this=
 is
> not a big problem.

Yeah, that's OK. In principle it'd be good to add a yarn test for
integration testing, so that there is _some_ assurance the new feature
work. Adapting the "exclude cache directories" section in
yarns/0030-basic.yarn should be fairly easy.

(Yarn in my tool for integration testing. It's in the cmdtest package.)

> Now about the documentation: I modified the english markdown manual,
> obviously I cannot modify german and french. By the way I'm Italian, it
> would be nice if I could contribute a translation, but I'm not sure I'd h=
ave
> the needed time, and secondly I think technical things are better in
> original english. But let me know what you think.

I'd love for the Obnam manual to be translated to Italian, and other
languages. While I prefer English myself, a lot of people don't know
much or any English.

> A note: the German PDF fails to build on my computer.

I believe Jan has responsded to this. I tend to install the
texlive-full package, since life is too short to find the minimal
required set of packages from the TeX universe.

> A doubt: where is the man page? Because it needs to be updated too, but I
> can't find its sources.

See obnam.1.in for the English version. It gets filled in with
information about options automatically during the build process,
using the help text for the options.

> A suggestion: adding "*.pyc" to .gitignore, otherwise the git status is a
> mess with all the compiled python files.

I prefer to add *.pyc to my global git ignore file, instead of adding
it to .gitignore in every Python project separately.

> +    def config_loaded(self):
> +        if len(self.app.settings['exclude-if-present']) > 0:

This would feel more Pythonic to me like this:

    if self.app.settings['exclude-if-present']:

Not a big deal.

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

--25dz43n4rurbvt5b
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAllZ1xUACgkQbC+mFux6
IDF/NQ//V936xNldXMtlDDS55UqByqYoZhRhdw2/1uWKFntva+3r7EglWkFBvMvT
1KdMfEypJ3PeUs3JwCQ0PEQrx3BIBJg/4r4p7UqLYudDk2CpCf7aZuSRriqtkw1/
TRKf8/pjlghRfDpxh/NkWx4ufEVlkZKGM+Str/0BnbJoGAPhruHV9biPeS8uSqce
fSW4UfE2b7JhnE8vncGzQmiTi1BpiM1DIojIVNgncwaAGHLOLy4YQLOq/DFLBHgk
T7UCMUi1PDYXgGOBgHapeg7SDA43KdigEuUPfgKJkuQ8mdtThXKTHPSGsqLfcAg7
0TRgRVnaob/T18fg52rmNPuwZDzOepPgRnusWMRnmlwiB44CPb4eJ13KuxeDDSJY
d2MVb+hk1WtaM2guc+v7LrifqIMJAJjCuNUAllXDUwVWQmtUkMr6ZQE8U9gSd08h
LgtV/C4yn787kdMiwcmu0enYVsrfGVC5+lWJfRbaLN3hhR08U3X6B0fGt8yavOFr
DnL/P83wvh6QOTXn6SOTpU/IHa/F4CLLLZf6+Njc7T41kqd135wiZm0jMAZWsW2o
k/8IYVqrSnc6iDiqPIccYqKOzUJ41fp/jfCJ22aR5t0XAn5pTu1PfPYu6YLhX5a3
y+D0yLhJB9nqLlFOIoL8CE6LRS+19IG1Jj39iAZH4B9o/1ZYhMI=
=Rc9u
-----END PGP SIGNATURE-----

--25dz43n4rurbvt5b--


--===============8028953905777979665==
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

--===============8028953905777979665==--