Load project level configuration files earlier
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing how invoke.yaml is discovered and how the tasks directory is loaded when execution begins. Check how search_root is applied to the tools/ layout, then verify that a root-level configuration can be read before task discovery and that the existing layout still works.
Written by the indexing model from the issue text.
Description
We've moved most of our codebase to a mono repo and have moved our tasks directory to a subdirectory.
Our project-structure looks like this:
- tools/
- tasks/init.py
- ...
- invoke.yaml
We were hoping to use the invoke.yaml at project root with the search_root setting set to the subdirectory "tools".
Sadly this is not possible since the tasks directory must be persent at the directory of invoke execution.
Can this somehow be changed, so that the project level configuration file is loaded, before invoke is trying to load the tasks.py/tasks directory?
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 pyinvoke/invoke
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100