Re: Runtime "configuration" system naming


Nashif, Anas
 

I like settings. Do not thing it is long, sett just makes it ugly.

 

Anas

 

From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of Cufi, Carles
Sent: Tuesday, March 27, 2018 11:41 AM
To: Erwan Gouriou <erwan.gouriou@...>; Jukka Rissanen <jukka.rissanen@...>
Cc: devel@...
Subject: Re: [Zephyr-devel] Runtime "configuration" system naming

 

The advantage of “settings” is that it matches what other people mean by those:

 

https://support.apple.com/en-us/HT201274

 

The disadvantage is that it is a bit long J “sett_” perhaps as a prefix?

 

From: Erwan Gouriou <erwan.gouriou@...>
Sent: 27 March 2018 17:32
To: Jukka Rissanen <jukka.rissanen@...>
Cc: Cufi, Carles <Carles.Cufi@...>; devel@...
Subject: Re: [Zephyr-devel] Runtime "configuration" system naming

 

I actually like "settings",

I find it carries well the idea of run time configuration

 

On 27 March 2018 at 17:21, Jukka Rissanen <jukka.rissanen@...> wrote:

Hi Carles,

as this seems to be about configuration settings, why not

settings
cfgdb

or something like that. Why do we need to mention the serialization at
all in the function names, that sounds like implementation detail.


Cheers,
Jukka




On Tue, 2018-03-27 at 15:29 +0200, Erwan Gouriou wrote:
> Hi Carles,
>
> Serialization is also sometime called marshalling, so an alternative
> could be "marshal"/"cfg_marshal"/"rtcfg_marshal"
>
> Cheers
> Erwan
>
> On 27 March 2018 at 14:51, Cufi, Carles <Carles.Cufi@...>
> wrote:
> > Hi all,
> >
> > Andrzej from Nordic has just ported the *run-time* configuration
> > system from Mynewt into Zephyr [1].
> > This is essentially a system-wide way of loading and storing all
> > state from and to non-volatile memory (i.e. flash) in a completely
> > centralized way.
> >
> > Since it serializes the data before storing it (and deserializes it
> > after loading), and we already use the word "config" for *compile-
> > time* configuration, we have currently renamed it to "s11n" (for
> > serialization).
> >
> > But some people find this name confusing, so I am now addressing a
> > wider audience for feedback.
> >
> > The currently proposed names are:
> >
> > * s11n
> > * syscfg
> >
> > Any preferences or alternatives?
> >
> > Thanks,
> >
> > Carles
> >
> > [1] https://github.com/zephyrproject-rtos/zephyr/pull/6408
> >
> >
> > _______________________________________________
> > Zephyr-devel mailing list
> > Zephyr-devel@...
> > https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel
>
> _______________________________________________
> Zephyr-devel mailing list
> Zephyr-devel@...
> https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.