-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
Why do they use dashes instead of underscores for the ansible-navigator configuration file? :( |
4dfeae2
to
740bb20
Compare
740bb20
to
e31d5fe
Compare
Ok, I think I got a first version that's ready to be discussed. Tests are green and use the example settings file from https://ansible-navigator.readthedocs.io/en/latest/settings/#the-ansible-navigator-settings-file |
That is awesome and we will discuss it for sure, it was already on my todo list so that cames as a really nice xmas present. |
src/ansibleschemas/navigator.py
Outdated
@@ -0,0 +1,280 @@ | |||
# Used to generate JSON Validations chema for ansible-navigator config files | |||
# https://github.com/ansible-community/ansible-lint/blob/master/.ansible-lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Navigator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a copy&paste error. I'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets wait for @cidrblock on this one, he knows navigator better than anyone else and may be able to spot some schema mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it with 34818cc.
It's quite common and kebab-case is nicer in places where snake_case is not required for things to be compatible with Python identifiers. |
b547e35
to
550100a
Compare
Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
550100a
to
34818cc
Compare
Rebased onto current |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@ziegenberg TY for this btw..... It made my day :) |
@cidrblock You are welcome :) |
This is work-in-progress, but if there's something completely wrong I welcome comments.
Closes: ansible/ansible-navigator#188
Related: ansible/vscode-ansible#328