Replies: 3 comments 8 replies
-
|
Hey @ankushg thanks for bringing this up! You have an excellent point, and it actually is really helpful to know that you are even looking / editing the YAML. I was considering to myself whether people actually would. This confirms that A) totally people are and B) we could make the YAML config more visible/accessible. I am currently in the midst of changing the schema to support multi-rack and bayed rack config, so I have avoided making it more front-and-center though this is a good reminder to do so. I am going to convert this to a discussion because there is more to be said here, though I should say I am glad you brought this up. |
Beta Was this translation helpful? Give feedback.
-
|
@ankushg a couple further questions around how you are using the raw files:
|
Beta Was this translation helpful? Give feedback.
-
|
Created issues for custom device type cleanup (v0.7.0):
Design: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When planning a rack, I often find myself editing the raw YAML so I can get things Just Right, and then re-importing it into Rackula for the pretty GUI :)
But it's also tricky to make sure I don't make any errors when manually defining ports and such
Proposed solution
Add an autogenerated jsonschema to the repo and reference it in the yaml files with
# yaml-language-server: $schema=https://raw.githubusercontent.com/RackulaLives/Rackula/master/schema/rack-spec.jsonor similar
This would allow editors to validate against the schema when hand-editing things!
Alternatives considered
No response
How important is this to you?
Nice to have
Beta Was this translation helpful? Give feedback.
All reactions