From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.142.50.5 with SMTP id x5cs24817wfx; Sun, 19 Jun 2011 14:59:29 -0700 (PDT) Received: by 10.224.193.70 with SMTP id dt6mr2207333qab.213.1308520768303; Sun, 19 Jun 2011 14:59:28 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id fu2si7720592qab.16.2011.06.19.14.59.26; Sun, 19 Jun 2011 14:59:27 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id CB66E185838E; Sun, 19 Jun 2011 17:59:26 -0400 (EDT) Received: from masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id D05E61858367 for ; Sun, 19 Jun 2011 17:52:15 -0400 (EDT) Received: from w by masanjin.net with local (Exim 4.71) (envelope-from ) id 1QYQ43-0003rD-4f; Sun, 19 Jun 2011 22:01:55 +0000 From: William Morgan To: Vivien Didelot In-reply-to: References: Date: Sun, 19 Jun 2011 22:01:55 +0000 Message-Id: <1308520505-sup-4762@masanjin.net> User-Agent: Sup/git Cc: notmuch , Sup developer discussion Subject: Re: [sup-devel] Turn Turnsole into a generic mail client X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Hi Vivien, Reformatted excerpts from Vivien Didelot's message of 2011-06-19: > As Turnsole is a great mail interface, I was thinking about having it > generic to multiple servers or mail sources, to fit many use cases. > > Explicitely, the Turnsole::Client class ( > https://github.com/wmorgan/turnsole/blob/master/lib/turnsole/client.rb) > could be turned into a Turnsole::Client module instead, The server portion of turnsole, heliotrope, is explicitly designed to support multiple clients and provides a JSON-over-HTTP interface for that purpose. The specifics of the protocol are still subject to change, but see e.g. https://github.com/wmorgan/heliotrope/blob/master/lib/heliotrope-client.rb for the ruby client that turnsole uses to communicate with the server. -- William _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel