> Could we change this? Why aren't the sections just the first level in the > hierarchy of the config files?
Because there was (actually, still is, but it's unused AFAIK) more metadata than just the name, and writing something that can separate the fields and parse the sections separately is not the end of the world. I personally don't see any major driver to change that. > This is not a good practice, because we enforce the naming the files to get > the tool working, right? Whether this is good practice or not is pretty much in the eye of the beholder. This is the convention-vs-configuration debate. I personally very much prefer - in this case - the "convention" solution because one *knows* where is the configuration for a given task. With the task model name in the file, you always end up with files whose file name do not match, and then both tools and humans *have* to read all files to figure out which files are applicable to a certain model. Sylvain On Thu, Oct 20, 2016 at 6:56 AM, Raul Dominguez <raul.doming...@dfki.de> wrote: > Hello Rockers, > > > About the syntax: > > The Yaml files that are used for configuring the tasks have a syntax > which is not proper Yaml. > > To separate the sections "--- section_name" is used. Officially '---' is > the document header symbol. > > This becomes a problem when you try to use any available yaml parser > either Ruby or C++. > > Could we change this? Why aren't the sections just the first level in > the hierarchy of the config files? > > > About the content: > > Currently the task to which the config belongs is not specified in the > config file contents itself, any tool has to guess it by the name of the > file. This is not a good practice, because we enforce the naming the > files to get the tool working, right? Could we have a field "Task" which > informs about to which task the config is associated. > > > Thanks for your feedback! > > > > Kind regards, > > Raúl > > > > > -- > Raúl Domínguez (M.Sc.) > Space Robotics > > Besuchsadresse der Nebengeschäftsstelle: > DFKI GmbH > Robotics Innovation Center > Robert-Hooke-Straße 5 > 28359 Bremen, Germany > > Postadresse der Hauptgeschäftsstelle Standort Bremen: > DFKI GmbH > Robotics Innovation Center > Robert-Hooke-Straße 1 > 28359 Bremen, Germany > > Tel.: +49 421 178 45-6617 > Zentrale: +49 421 178 45-0 > Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen) > E-Mail: raul.doming...@dfki.de > > Weitere Informationen: http://www.dfki.de/robotik > ----------------------------------------------------------------------- > Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH > Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern > Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster > (Vorsitzender) Dr. Walter Olthoff > Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes > Amtsgericht Kaiserslautern, HRB 2313 > Sitz der Gesellschaft: Kaiserslautern (HRB 2313) > USt-Id.Nr.: DE 148646973 > Steuernummer: 19/673/0060/3 > > _______________________________________________ > Rock-dev mailing list > Rock-dev@dfki.de > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev _______________________________________________ Rock-dev mailing list Rock-dev@dfki.de http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev