On Tue, 2012-05-22 at 23:10 +0200, Erich Titl wrote:
> on 22.05.2012 18:14, davidMbrooke wrote:
> > Hi all,
> > 
> > I've noticed that we sometimes get conflicting updates to
> > conf/sources.cfg - especially when different developers add new Packages
> > at roughly the same time.
> > 
> > One option to reduce this problem would be to change buildtool.pl to
> > automatically "include" every .cfg file in a specific directory.
> > The directory structure could look something like:
> 
> I am not really clear why this would buy us anything, sources.cfg would
> still be a single instance.
> 
> cheers
> 
> Erich

Hi Erich,

I guess I didn't explain very well...
The "new" sources.cfg would not contain any <Source xyz> or <Package
xyz>definitions itself, just <Server xyz> entries and something like
<<include sources.d/*.cfg>>

Then we'd have e.g. sources.d/busybox.cfg containing:
    <Source busybox>
        Server = localrepo
        Revision = HEAD
        Directory = busybox
        Description = busybox
        <Requires>
            Name = buildenv
        </Requires>
    </Source>

david


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to