Hadron / Hadron/carthage

ConfigPath should be relative to something

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
11
Forks
8
Avg merge
9h 26m
Merged PRs (30d)
6

Description

Currently it's possible to get relative paths into the config schema.
Some things like sshfs do not like state_dir being relative, and there are all sorts of ways in which this could behave unexpectedly.
Other things like include and plugins are relative to the config file from which they are loaded.
It would be nice if ConfigPath was always relative to the config file it was loaded from,.
Dealing with that probably involves injecting something into base_injector or using a context variable to keep track of what to be relative to.
It also may be complicated depending on when things are resolved.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.