From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.7.146 with SMTP id d18cs58731ebd; Tue, 12 Jan 2010 15:10:49 -0800 (PST) Received: by 10.224.116.137 with SMTP id m9mr3230026qaq.319.1263337848862; Tue, 12 Jan 2010 15:10:48 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 7si1814990qwf.44.2010.01.12.15.10.48; Tue, 12 Jan 2010 15:10:48 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-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-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 3F3EA15B803E; Tue, 12 Jan 2010 18:10:48 -0500 (EST) Received: from kuovi.tilus.net (kuovi.tilus.net [80.68.89.168]) by rubyforge.org (Postfix) with ESMTP id 3E54315B802A for ; Tue, 12 Jan 2010 18:10:41 -0500 (EST) Received: by kuovi.tilus.net (Postfix, from userid 1000) id A7D246011; Wed, 13 Jan 2010 01:10:40 +0200 (EET) From: Tero Tilus To: sup-talk In-reply-to: <3f81a4241001121338q6260d35dr8f050461d371e181@mail.gmail.com> References: <3f81a4241001041055t443931c6vbbe1e7a44599d4f1@mail.gmail.com> <1262728264-sup-3239@masanjin.net> <3f81a4241001061118k7fa0c9e6ub556c400a00b139b@mail.gmail.com> <1262805923-sup-3586@masanjin.net> <1262811731-sup-2447@tilus.net> <1262812952-sup-9357@masanjin.net> <1262879727-sup-9702@tilus.net> <3f81a4241001080800ja97a0bbm9c9c39504ed88bec@mail.gmail.com> <1263076756-sup-4633@tilus.net> <3f81a4241001121338q6260d35dr8f050461d371e181@mail.gmail.com> Date: Wed, 13 Jan 2010 01:10:40 +0200 Message-Id: <1263336305-sup-2783@tilus.net> User-Agent: Sup/git Subject: Re: [sup-talk] sent_source - singular or per-account? X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup 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-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Bryan Richardson, 2010-01-12 23:38: > Would someone be nice enough to tell me when/where the source gets > set in SentManager? Look at bin/sup lines 157-161. > Also, where's the code that checks the front of the sent_source uri > for 'maildir' in order to know to create a new Maildir source > object? That would be only in bin/sup-add. If you look inside sources.yaml, you see that source classes are stored there (together with instance attributes) and thats how SourceManager#load_sources (actually YAML::load_file inside it) knows what source classes to instantiate. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/ _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk