[config] Merging lists
Maintainers usually reply within 1 day
@okraits is already working on this.
Since Nov 9, 2023.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
The issue does not name an implementation file, test, or entry point; start by locating the configuration and template merge logic. Review existing tests for list-of-object merging, then agree on the intended override semantics and add coverage demonstrating the behavior for both object lists and ordinary list options.
Written by the indexing model from the issue text.
Description
The way configuration is merged with templates now has a quirk:
list elements from different templates are merged with the config.
This is needed for list of objects (eg: interfaces, routes), but it's weird and has caused misunderstanding among users when they try to override list options.
I still haven't come up with an optimal solution.
- Dominant language
- Python
- Stars
- 389
- Forks
- 97
- Avg merge
- 1d 14m
- Merged PRs (30d)
- 14
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openwisp/netjsonconfig
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
openwisp/netjsonconfig#443 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
openwisp/netjsonconfig#131 ·
Maintainers usually reply within 1 day
-
wireguard_auto_client hardcodes IPv4 family/mask, and the ipv6 schema branch rejects template variablesMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
openwisp/netjsonconfig#406 ·
Maintainers usually reply within 1 day
-
[bug] Property name of VXLAN interfaceMay be free again @SajalDevX claimed this 60 days ago, and no pull request is open. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
openwisp/netjsonconfig#373 · 1 comment ·
Maintainers usually reply within 1 day
-
BATMAN-adv and 802.11s Mesh Interface SupportMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
openwisp/netjsonconfig#368 · 1 comment ·
Maintainers usually reply within 1 day
All issues in openwisp/netjsonconfig
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ClickHouse/dbt-clickhouse#829 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
volcengine/OpenViking#8432 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day