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 摘要。