-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder Structure Patterns #34
Comments
Is this just a documentation task, or does some coding need to take place? I think that it should already work, but haven't tried it. |
I believe it is just a documentation task. |
Related to #14 |
How about this pattern ?
|
I am good with it |
I also prefer this structure with everything in a self-contained folder. I guess that's why there's multiple |
Does this require calling load_jobs() in each jobs.py or do we still need to do that from the root? |
|
Fixed in #73 |
Environment
Proposed Functionality
I believe anything can be done, since it is just Python, but I am suggesting to create a documented standard of what should be done.
Currently you may end up with a folder structure like this
It would be cleaner imho to have a folder with all designs, here are two options
. ├── __init__.py ├── backbone │ ├── 100_base_elements.yaml.j2 │ ├── 200_cables.yaml.j2 │ ├── __init__.py │ ├── context.py │ ├── context.yml │ └── pops_report.md.j2 └── branch ├── 100_branch_base_elements.yaml.j2 ├── 200_branch.yaml.j2 ├── 300_branch_access_switch.yaml.j2 ├── __init__.py ├── branch_context.py └── branch_context.yml
You can still import the Jobs in a central location
So one of:
Use Case
A folder structure that reenforces the design.
The text was updated successfully, but these errors were encountered: