NWChemEx / NWChemEx/PluginPlay

Add support for module namespaces

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

Nobody has claimed this yet.

good first issue
Dominant language
C++
Stars
13
Forks
1
Avg merge
43m
Merged PRs (30d)
4

Description

Over time it's likely that module collections will contribute modules with the same key. To disambiguate among the keys it would be nice to have namespaces. Like C++, the namespaces should support arbitrary nesting (it should suffice to concatenate the strings together into one namespace under the hood).

This would require modifying the way the ModuleManager stores modules. If we only require namespaces to be specified when there is ambiguity this should not break anything that currently exists.

Contributor guide

Open the contributing guide

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 ModuleManager and the module collection code that stores and resolves module keys. Trace how keys are registered and looked up, then review existing tests for module retrieval. Done should include arbitrarily nested namespaces, disambiguation when keys collide, and unchanged behavior for existing unambiguous modules.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.