-
Notifications
You must be signed in to change notification settings - Fork 95
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
Reclass Refactor for config / option / cli / adapter / core subsystems #30
Comments
@madduck, here are a few questions I am not sure about:
|
Met up and confirmed the following:
|
@madduck, I've been a bit busy, but I want to press on and finish things up here. To that end, please take the WIP branch for a spin: https://github.com/madduck/reclass/tree/WIP This WIP has the reclass cli and config refactored, but leaves the salt/ansible adapters alone. The defaults ought to suffice, but you can play with config - here are the options:
Usage is: I am interested in your feedback and confirmation that this works well for you. The Salt and Ansible adapters are structured similarly, but I have not completed them to setup better testing. I will do that next. |
From what you describe, this looks really good. I am on the road so unable to really look Maybe "ni" and "inv" could be made aliases of the long commands, maybe argh already lets you just say n and i… anyway, thanks a lot, this is cool. |
@madduck - Argh has support for aliases, and I tossed something in at one point to use it, though it did not work as expected. I have made note to follow up on this in the future, and I'll take note of your recommendations here for 'ni', 'n', 'inv', and 'i'. Enjoy your travels, let us know how the tests go when you are able. I will keep working in the meantime. |
closing this issue as originating user is inactive |
I've been working on a refactor of how Reclass handles config, establishes the Reclass core, parses options, and is setup to be run from the cli/shell. This includes all cli scripts and the salt/ansible adapters as well. My intentions to make updates started small, but I needed to dig deeper and deeper to get this right.
Note: Splitting up the refactor into a set of issues isn't really sensible/feasible, so we'll just have to swallow this pill whole. I could split up the refactor into one part config and one part cli, but the adapters would not work. I would much rather have one set of changes to review/test in all respects (shell, python, adapters).
The primary goal of the refactor is to make reclass more accessible, more pluggable, less coupled, and easier to maintain and extend. Changes to user interaction with reclass will be kept as minimal as possible, but they are inevitable. I will create a list of these changes at some point here.
More updates to come after some more code is wrangled up to par. In the meantime, there are a few questions to work through, stay tuned.
The text was updated successfully, but these errors were encountered: