InfiniTimeOrg / InfiniTimeOrg/InfiniSim

littlefs-do: Parse C++ class Settings to reduce maintenance burden

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
203
Forks
97
PR merge metrics
No merged PRs in 30d

Description

happy you like the settings command, unfortunately it is high maintenance, but I like it as well :)

Theoretically, it should be possible to parse the class Settings to discover the fields of the settings at build or run time. Probably not easy to do, but that would reduce the maintenance for this feature :)

Originally posted by @JF002 in https://github.com/InfiniTimeOrg/InfiniSim/issues/52#issuecomment-1229546345

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading InfiniTime's src/components/settings/Settings.h and inspect the existing littlefs-do settings command mentioned in the issue. The issue does not identify an InfiniSim entry point or tests; completion would require agreeing on how Settings fields should be discovered and replacing the current maintenance-heavy approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.