feat: copy instances/endpoints info while updating mainsail/fluidd #463
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe
Right now every update removes instances/endpoints configuration from config.json in both mainsail and fluidd.
Describe the solution you'd like
While updating read and copy to new config the instances configuration:
In mainsail (config.json):
In fluidd (config.json):
And I think there is a lot more info that can be copied with that.
Maybe walking through the config and only copying from new config.json data that's been added and leaving old settings untouched?
Describe alternatives you've considered
Reconfiguring by manually editing config files after every update is such a waste of time.
Additional information
No response
Thanks for the request. I added it to the backlog. It will not be implemented in the current v5 of KIAUH. I consider to implement it in v6, as the migration from bash to python will drastically help in that regard.
That's great. Thank you for taking it into consideration.