summaryrefslogtreecommitdiff
path: root/tickets/829d5f9060144a30bd44cb946b0ba1c9/Maildir/new/1455998995.M536933P17339Q35.exolobe1
blob: a2adce32ccdcf8efd346ee7264ad5dc0f06cc3e2 (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
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 02C2D2BECF
	for <distix@pieni.net>; Wed, 30 Sep 2015 12:18:42 +0200 (CEST)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id 4CE6E2C8;
	Wed, 30 Sep 2015 11:18:41 +0100 (BST)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1ZhETB-0007or-5f; Wed, 30 Sep 2015 11:18:41 +0100
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1ZhET9-0007ok-8l
 for <obnam-dev@obnam.org>; Wed, 30 Sep 2015 11:18:39 +0100
Received: from mailout.easymail.ca ([64.68.201.169])
 by mx0.pepperfish.net with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256)
 (Exim 4.80) (envelope-from <hsivonen@hsivonen.fi>)
 id 1ZhET6-0007mx-FK
 for obnam-dev@obnam.org; Wed, 30 Sep 2015 11:18:39 +0100
Received: from localhost (localhost [127.0.0.1])
 by mailout.easymail.ca (Postfix) with ESMTP id AB5DFE4A9
 for <obnam-dev@obnam.org>; Wed, 30 Sep 2015 06:18:26 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca
X-Spam-Flag: NO
X-Spam-Score: -3.68
X-Spam-Level: 
X-Spam-Status: No, score=-3.68 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.027, 
 BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692]
Received: from mailout.easymail.ca ([127.0.0.1])
 by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP id nBfnbwRD5fVI for <obnam-dev@obnam.org>;
 Wed, 30 Sep 2015 06:18:26 -0400 (EDT)
Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com
 [209.85.213.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mailout.easymail.ca (Postfix) with ESMTPSA id 3428AE438
 for <obnam-dev@obnam.org>; Wed, 30 Sep 2015 06:18:26 -0400 (EDT)
Received: by igxx6 with SMTP id x6so27019265igx.1
 for <obnam-dev@obnam.org>; Wed, 30 Sep 2015 03:18:25 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.50.67.179 with SMTP id o19mr26123201igt.63.1443608305636;
 Wed, 30 Sep 2015 03:18:25 -0700 (PDT)
Received: by 10.107.183.65 with HTTP; Wed, 30 Sep 2015 03:18:25 -0700 (PDT)
In-Reply-To: <CAJQvAudeWCMhMvExSSP3whzC4TAnkeOqNU5gNSdYyGxEM9bcnQ@mail.gmail.com>
References: <CAJQvAudeWCMhMvExSSP3whzC4TAnkeOqNU5gNSdYyGxEM9bcnQ@mail.gmail.com>
Date: Wed, 30 Sep 2015 13:18:25 +0300
Message-ID: <CAJQvAucn9R4F4he1vO8EJBoRN9f1b5YyDboT=ChNeKCkJiotcw@mail.gmail.com>
From: Henri Sivonen <hsivonen@hsivonen.fi>
To: obnam-dev@obnam.org
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -2.1
X-Spam-Score-int: -20
X-Spam-Bar: --
X-Scanned-By: pepperfish.net, Wed, 30 Sep 2015 11:18:39 +0100
X-Spam-Report: Content analysis details: (-2.1 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.5 PPF_RECEIVED_HTTP      Received header mentions http
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at http://www.dnswl.org/, low
 trust [64.68.201.169 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -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: dad44cf097470dfea4dc038187207232
Subject: Re: Unlocking the repo from the VFS layer
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

On Sun, Sep 27, 2015 at 3:35 PM, Henri Sivonen <hsivonen@hsivonen.fi> wrote:
> Any advice on what I should do where my current patch says "TODO: Need
> to unlock the repo here."? I.e. how should I go about unlocking the
> repo from within the VFS layer when the repo layer doesn't know that
> the connection dropped?

Looks like I should:
 1) Make the app object available to the VFS wrapper.
 2) Reach .repo from there.
 3) Make repo objects have an unlocking method that takes the VFS as
an argument so that the wrapper can pass the delegate VFS instead of
causing a re-entrant call to the wrapper itself.

-- 
Henri Sivonen
hsivonen@hsivonen.fi
https://hsivonen.fi/

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