Return-Path: 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 B529D44F61 for ; Mon, 3 Jul 2017 08:47:47 +0000 (UTC) Received: from platypus.pepperfish.net (unknown [10.112.101.20]) by yaffle.pepperfish.net (Postfix) with ESMTP id 8C7FB41CBA; Mon, 3 Jul 2017 09:47:47 +0100 (BST) Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net) by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) id 1dRx1H-00054U-HO; Mon, 03 Jul 2017 09:47:47 +0100 Received: from [10.112.101.21] (helo=inmail2.pepperfish.net) by platypus.pepperfish.net with esmtps (Exim 4.80 #2 (Debian)) id 1dRx1G-00054H-4G for ; Mon, 03 Jul 2017 09:47:46 +0100 Received: from mta01.univpm.it ([193.205.128.17]) by inmail2.pepperfish.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dRx1E-0004oL-97 for obnam-dev@obnam.org; Mon, 03 Jul 2017 09:47:46 +0100 Received: from [193.205.130.201] (thor.dii.univpm.it [193.205.130.201]) by mta01.univpm.it (8.14.8/8.14.8) with ESMTP id v638lZCe015701; Mon, 3 Jul 2017 10:47:35 +0200 To: Lars Wirzenius References: <0dc53aa0-b510-8607-ba63-f527f49bdf50@univpm.it> <20170703053310.7y5qri5l6mduhuli@liw.fi> From: Michele Alessandrini Organization: =?UTF-8?Q?DIBET_-_Universit=c3=a0_Politecnica_delle_Marche?= Message-ID: Date: Mon, 3 Jul 2017 10:47:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170703053310.7y5qri5l6mduhuli@liw.fi> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.5.12 (mta01.univpm.it [193.205.128.17]); Mon, 03 Jul 2017 10:47:35 +0200 (CEST) for IP:'193.205.130.201' DOMAIN:'thor.dii.univpm.it' HELO:'[193.205.130.201]' FROM:'m.alessandrini@univpm.it' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.12 (mta01.univpm.it [193.205.128.17]); Mon, 03 Jul 2017 10:47:35 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.98.7 at mta01.univpm.it X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.78 on 193.205.128.17 X-Pepperfish-Transaction: 7233-3a6e-d213-2ad3 X-Spam-Score: -4.9 X-Spam-Score-int: -48 X-Spam-Bar: ---- X-Scanned-By: pepperfish.net, Mon, 03 Jul 2017 09:47:46 +0100 X-Spam-Report: Content analysis details: (-4.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.5 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [193.205.128.17 listed in list.dnswl.org] -0.5 PPF_USER_AGENT User-Agent: exists -1.0 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: 0edeeffbed985245b632533d7c744088 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: obnam-dev-bounces@obnam.org Errors-To: obnam-dev-bounces@obnam.org > > 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.) > Ok. Now only 2 yarns fail, and they're about "repository format 6", maybe it's something experimental. I'll add my yarn test as you say. > 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. > No problem, I'd be happy to do it, I'll plan to do it soon. > >> + 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']: > Very well, I changed it and improved the description for the man page (set a more readable "metavar"). I'll send a revised patch together with the yarn integration. Thanks Michele La seguente informativa e' inserita in automatico dal sistema al fine esclusivo della realizzazione dei fini istituzionali dell'ente. INVESTI NELLA RICERCA il 5 per mille all'Universita' Politecnica delle Marche e' un investimento per i giovani, per il loro futuro - C.F. 00382520427 http://www.univpm.it/5_per_mille _______________________________________________ obnam-dev mailing list obnam-dev@obnam.org http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org