jangala-dev / jangala-dev/devicecode-lua

Change config files into folders with a file per service

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
1
Forks
0
Avg merge
6d 8h
Merged PRs (30d)
6

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the config service and the capability it uses for config loading, then trace how target config files such as bigbox-v1-cm.json are discovered and read. Refactor that loading path to support a folder containing one file per service, and verify that large configs and concurrent service changes no longer require a shared file.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
embedded-iot
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.