From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Thu, 08 Nov 2007 11:21:06 +0000 Subject: [sup-talk] Sup sources question In-Reply-To: <1194520465-sup-413@tomsk> References: <1194520465-sup-413@tomsk> Message-ID: <1194520783-sup-4954@tomsk> On 8.11.2007, Marcus Williams wrote: > What I'm thinking is, rather than use an auto-generated id which I > assume is some index into the source.yaml could you not name the > sources in some way in the yaml so that you can then use this name to > look up certain sources? This would also stop your source.yaml and > your source_id's getting out of sync which I assume they can if you > add a source to your yaml file in the middle somewhere. On startup you > could check for uniqueness if needed. Rather embarrassingly, I just noticed the id flag in sources.yaml which probably does exactly this :) Ignore the noise..