Re: Change build specification files from YAML to JSON?

2023-04-27 Thread Sebastian Huber
On 27.04.23 00:47, Joel Sherrill wrote: On Wed, Apr 26, 2023 at 3:58 PM Gedare Bloom > wrote: Is the result of this discussion to use CSafeLoader for now? Or do we still debate the transition to JSON? I see some quirks need to be dealt with as you

Re: Change build specification files from YAML to JSON?

2023-04-27 Thread Chris Johns
On 26/4/2023 6:22 pm, Sebastian Huber wrote: > On 26.04.23 01:52, Chris Johns wrote: >> On 25/4/2023 5:35 pm, Sebastian Huber wrote: >>> Tooling makes sense if you have a high change rate. >> >> That is not the use case I am discussing and it is not a factor. >> >>> This is not the case for the

Re: Change build specification files from YAML to JSON?

2023-04-26 Thread Joel Sherrill
On Wed, Apr 26, 2023 at 3:58 PM Gedare Bloom wrote: > Is the result of this discussion to use CSafeLoader for now? Or do we > still debate the transition to JSON? > > I see some quirks need to be dealt with as you mentioned with the > multi-line stuff. The yaml is pretty simple to understand and

Re: Change build specification files from YAML to JSON?

2023-04-26 Thread Gedare Bloom
Is the result of this discussion to use CSafeLoader for now? Or do we still debate the transition to JSON? I see some quirks need to be dealt with as you mentioned with the multi-line stuff. The yaml is pretty simple to understand and work with. I've dealt with hand-editing JSON and it's a pain

Re: Change build specification files from YAML to JSON?

2023-04-26 Thread Sebastian Huber
On 26.04.23 00:37, Chris Johns wrote: On 26/4/2023 4:01 am, Sebastian Huber wrote: On 25.04.23 13:02, Karel Gardas wrote: On 4/25/23 12:32, Sebastian Huber wrote: On 25.04.23 12:10, Karel Gardas wrote: On 4/25/23 11:03, Sebastian Huber wrote: On 25.04.23 11:00, Karel Gardas wrote: On

Re: Change build specification files from YAML to JSON?

2023-04-26 Thread Sebastian Huber
On 26.04.23 01:52, Chris Johns wrote: On 25/4/2023 5:35 pm, Sebastian Huber wrote: Tooling makes sense if you have a high change rate. That is not the use case I am discussing and it is not a factor. This is not the case for the RTEMS build specification items. I am not saying it is.

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Chris Johns
On 25/4/2023 5:35 pm, Sebastian Huber wrote: > Tooling makes sense if you have a high change rate. That is not the use case I am discussing and it is not a factor. > This is not the case for the RTEMS build specification items. I am not saying it is. > For which use case do we need tooling

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Chris Johns
On 26/4/2023 4:01 am, Sebastian Huber wrote: > On 25.04.23 13:02, Karel Gardas wrote: >> On 4/25/23 12:32, Sebastian Huber wrote: >>> On 25.04.23 12:10, Karel Gardas wrote: On 4/25/23 11:03, Sebastian Huber wrote: > > > On 25.04.23 11:00, Karel Gardas wrote: >> On 4/25/23

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Sebastian Huber
On 25.04.23 13:02, Karel Gardas wrote: On 4/25/23 12:32, Sebastian Huber wrote: On 25.04.23 12:10, Karel Gardas wrote: On 4/25/23 11:03, Sebastian Huber wrote: On 25.04.23 11:00, Karel Gardas wrote: On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Karel Gardas
On 4/25/23 12:32, Sebastian Huber wrote: On 25.04.23 12:10, Karel Gardas wrote: On 4/25/23 11:03, Sebastian Huber wrote: On 25.04.23 11:00, Karel Gardas wrote: On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build specification files is just an implementation

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Sebastian Huber
On 25.04.23 12:10, Karel Gardas wrote: On 4/25/23 11:03, Sebastian Huber wrote: On 25.04.23 11:00, Karel Gardas wrote: On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build specification files is just an implementation detail of the new build system. For the

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Karel Gardas
On 4/25/23 11:03, Sebastian Huber wrote: On 25.04.23 11:00, Karel Gardas wrote: On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build specification files is just an implementation detail of the new build system. For the users of the new build system nothing

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Sebastian Huber
On 25.04.23 11:00, Karel Gardas wrote: On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build specification files is just an implementation detail of the new build system. For the users of the new build system nothing changes. Let me ask for clarification. Does

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Karel Gardas
On 4/25/23 09:35, Sebastian Huber wrote: The change from YAML to JSON for the build specification files is just an implementation detail of the new build system. For the users of the new build system nothing changes. Let me ask for clarification. Does this yaml -> json transition include (or

Re: Change build specification files from YAML to JSON?

2023-04-25 Thread Sebastian Huber
On 24.04.23 23:45, Chris Johns wrote: On 25/4/2023 12:20 am, Sebastian Huber wrote: On 24.04.23 16:17, Kinsey Moore wrote: I think we've been moving away from in-file comments in the YAML and toward actual labels in the data, anyway. If it's important information, it should be kept properly.

Re: Change build specification files from YAML to JSON?

2023-04-24 Thread Chris Johns
On 25/4/2023 12:20 am, Sebastian Huber wrote: > On 24.04.23 16:17, Kinsey Moore wrote: >> I think we've been moving away from in-file comments in the YAML and toward >> actual labels in the data, anyway. If it's important information, it should >> be >> kept properly. > > Yes, there should be no

Re: Change build specification files from YAML to JSON?

2023-04-24 Thread Sebastian Huber
On 24.04.23 16:17, Kinsey Moore wrote: I think we've been moving away from in-file comments in the YAML and toward actual labels in the data, anyway. If it's important information, it should be kept properly. Yes, there should be no comments in the build specification files. They would be

Re: Change build specification files from YAML to JSON?

2023-04-24 Thread Kinsey Moore
I think we've been moving away from in-file comments in the YAML and toward actual labels in the data, anyway. If it's important information, it should be kept properly. Kinsey On Mon, Apr 24, 2023 at 8:55 AM Sam Price wrote: > Yaml files can have comments, json files can’t. So you would lose

Re: Change build specification files from YAML to JSON?

2023-04-24 Thread Sam Price
Yaml files can have comments, json files can’t. So you would lose some documentation… -- Sincerely, Sam Price ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Change build specification files from YAML to JSON?

2023-04-24 Thread Sebastian Huber
Hello Andrew, On 24.04.23 11:56, Andrew Butterfield wrote: would this also affect the specification item YAML files in RTEMS Central? no, I already added support to load specification items from JSON files. JSON files are a bit harder to write manually than YAML files. For the build items