jangala-dev / jangala-dev/devicecode-lua

Change config files into folders with a file per service

未关闭
#310 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Lua
星标
1
派生
0
平均合并
6 天 8 小时
30 天内合并 PR
6

描述

Currently configs are made as one file per target, e.g. `bigbox-v1-cm.json`, this creates 2 issues:

1. Very large config files
2. Frequent merge conflicts when two branches change a common config

To fix both of these issues a config should now be a folder with a file per service. The config service and the capability used by the config service for config loading need to be edited for this change

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 config service 以及它用于加载 config 的 capability,然后跟踪 bigbox-v1-cm.json 等目标 config 文件是如何被发现和读取的。重构该加载路径,使其支持一个包含每个 service 一个文件的文件夹,并验证大型 config 和并发的 service 更改不再需要共享文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
lua
领域
embedded-iot
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。