llnl / llnl/PnMPI

Use YAML for configuration

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
22
Forks
12
PR merge metrics
No merged PRs in 30d

Description

The current configuration parser has some memory leaks and sometimes behaves a little bit buggy for invalid configuration files. In addition we need additional features for future development of PnMPI.

Instead of fixing and enhancing the current one, I'd like to suggest to use YAML for the configuration files, so we can use existing libraries instead of maintaining our own configuration parser. In addition this simplifies third-party tools (e.g. MUST), as they don't have to dump a specific configuration syntax, but may also use a YAML emitter. However, this will break the API, so the version needs to be bumped to 2.x.

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 locating the current configuration parser and its public API, then review how invalid configuration files and third-party tools such as MUST interact with it. The proposed work is to replace that parser with YAML support, account for the API break, and determine the required 2.x version bump.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.