[leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-08-19 Thread Yves Blusseau
Hi all,

i have commit in the next branch a "feature". I have split the big 
conf/sources.cfg into small ones in conf/sources.d/*.cfg.
I thinks it's easier to maintain and follow changes in small files than a big 
one.
I've also commit the script to split the files in tools 
(tools/split-sources-configuration-file) so you can recreate a big file then 
split it is you want to change for example the same thing in all the 
package/source configurations.

Please can you checkout the next branch and tell me what you think about.

Regards,
Yves
--
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


Re: [leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-08-19 Thread KP Kirchdoerfer
Am 19.08.2012 18:07, schrieb Yves Blusseau:
> Hi all,
> 
> i have commit in the next branch a "feature". I have split the big 
> conf/sources.cfg into small ones in conf/sources.d/*.cfg.
> I thinks it's easier to maintain and follow changes in small files than a big 
> one.
> I've also commit the script to split the files in tools 
> (tools/split-sources-configuration-file) so you can recreate a big file then 
> split it is you want to change for example the same thing in all the 
> package/source configurations.
> 
> Please can you checkout the next branch and tell me what you think about.
>

Hi Yves;

David proposed it a few weeks ago, so it will be a welcome replacement.
Anyway it looks it's not committed to next branch.

kp


--
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


Re: [leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-08-19 Thread Andrew
19.08.2012 19:07, Yves Blusseau пишет:
> Hi all,
>
> i have commit in the next branch a "feature". I have split the big 
> conf/sources.cfg into small ones in conf/sources.d/*.cfg.
> I thinks it's easier to maintain and follow changes in small files than a big 
> one.
> I've also commit the script to split the files in tools 
> (tools/split-sources-configuration-file) so you can recreate a big file then 
> split it is you want to change for example the same thing in all the 
> package/source configurations.
>
> Please can you checkout the next branch and tell me what you think about.
>
> Regards,
> Yves
Good idea.
Is it possible to provide in some way also separate directories for 
different toolchains (for arch-specific low-level stuff like drivers for 
some platforms, switch-configuration tools and so on)? One of ways to do 
this - to add symlink that will be re-created on every run of 
biuldtool/buildpacket utility, but this looks some ugly.

--
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


Re: [leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-08-19 Thread Yves Blusseau

Le 19 août 2012 à 20:08, KP Kirchdoerfer a écrit :

> Am 19.08.2012 18:07, schrieb Yves Blusseau:
>> Hi all,
>> 
>> i have commit in the next branch a "feature". I have split the big 
>> conf/sources.cfg into small ones in conf/sources.d/*.cfg.
>> I thinks it's easier to maintain and follow changes in small files than a 
>> big one.
>> I've also commit the script to split the files in tools 
>> (tools/split-sources-configuration-file) so you can recreate a big file then 
>> split it is you want to change for example the same thing in all the 
>> package/source configurations.
>> 
>> Please can you checkout the next branch and tell me what you think about.
>> 
> 
> Hi Yves;
> 
> David proposed it a few weeks ago, so it will be a welcome replacement.
> Anyway it looks it's not committed to next branch.
> 
> kp
> 

Sorry, committed !

Yves
--
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


Re: [leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-08-19 Thread Yves Blusseau

Le 19 août 2012 à 20:18, Andrew a écrit :

> 19.08.2012 19:07, Yves Blusseau пишет:
>> Hi all,
>> 
>> i have commit in the next branch a "feature". I have split the big 
>> conf/sources.cfg into small ones in conf/sources.d/*.cfg.
>> I thinks it's easier to maintain and follow changes in small files than a 
>> big one.
>> I've also commit the script to split the files in tools 
>> (tools/split-sources-configuration-file) so you can recreate a big file then 
>> split it is you want to change for example the same thing in all the 
>> package/source configurations.
>> 
>> Please can you checkout the next branch and tell me what you think about.
>> 
>> Regards,
>> Yves
> Good idea.
> Is it possible to provide in some way also separate directories for 
> different toolchains (for arch-specific low-level stuff like drivers for 
> some platforms, switch-configuration tools and so on)? One of ways to do 
> this - to add symlink that will be re-created on every run of 
> biuldtool/buildpacket utility, but this looks some ugly.
> 
Yes it's a good idea. We need to think how to do this 'properly'.

Yves


--
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


Re: [leaf-devel] Splitting of sources.cfg into dedicated configuration files

2012-09-08 Thread Andrew
19.08.2012 21:57, Yves Blusseau пишет:
> Le 19 août 2012 à 20:18, Andrew a écrit :
>
>> 19.08.2012 19:07, Yves Blusseau пишет:
>>> Hi all,
>>>
>>> i have commit in the next branch a "feature". I have split the big 
>>> conf/sources.cfg into small ones in conf/sources.d/*.cfg.
>>> I thinks it's easier to maintain and follow changes in small files than a 
>>> big one.
>>> I've also commit the script to split the files in tools 
>>> (tools/split-sources-configuration-file) so you can recreate a big file 
>>> then split it is you want to change for example the same thing in all the 
>>> package/source configurations.
>>>
>>> Please can you checkout the next branch and tell me what you think about.
>>>
>>> Regards,
>>> Yves
>> Good idea.
>> Is it possible to provide in some way also separate directories for
>> different toolchains (for arch-specific low-level stuff like drivers for
>> some platforms, switch-configuration tools and so on)? One of ways to do
>> this - to add symlink that will be re-created on every run of
>> biuldtool/buildpacket utility, but this looks some ugly.
>>
> Yes it's a good idea. We need to think how to do this 'properly'.
>
> Yves
>
Hi.
I thinked about this, and I see 2 variants that are enough simple to 
implement:
1) Generic sources.cfg file and sources-.cfg that has 
arch-specific packages
2) Just one sources-.cfg that includes conf/sources.d/*.cfg and 
contains/includes arch-specific packages description.

I think that 2nd way will be preferrable.

--
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