-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add Dedicated Backup Directory - SAVE_CONFIG Now Applies To Includes #151
Conversation
Thank you! I am dum dum when it comes to git |
I like that.. what do you think about putting that behind a danger_option? |
I don't think that's necessary, as with proper testing it shouldn't pose any "danger" and should be the default behavior, IMO. |
@MasturMynd what happens if an include includes an include? |
@MasturMynd @rogerlz i would like this to be hidden under a danger flag, at least initially - though it likely shouldn't pose an issue, i'd rather keep stuff flagged until it's been validated by a wide range of users |
Welp, that was an oversight, but an easily remedied one. I'll get it updated so that it does recursive checks rather than only checking printer.cfg for includes |
Let me know what I need to do to put this behind a danger flag and I'll get it done. Haven't had time to sift through the code base to see how those work yet |
If I understand correctly, this PR is trying to do two things:
It would be nice to clarify that. to create a new danger_option parameter:
self.printer = config.get_printer()
self.danger_options = self.printer.lookup_object("danger_options")
if self.danger_options.adc_ignore_limits:
continue don't forget:
|
I'd like to make sure that I've addressed all of the concerns to this point and have provided information on why certain things are the way they are. First is the desire to process included files during SAVE_CONFIG. As I'm sure is known, SAVE_CONFIG in its current state will only apply autosave data to The second change, being the I still haven't had time to look into exactly what I need to do to submit a proper pull request, so all I can do at this point is provide the necessary snippets here and request that someone more knowledgeable than I proceed forward with them. I'm available in to discuss the changes via discord test\klippy\danger_options.cfg
docs\Config_Reference.md
klippy\extras\danger_options.py
klippy\configfile.py
|
refer to #153 |
#149
Submitting PR for https://github.com/MasturMynd