[Feature] Automatic Sync
PHLAK opened this issue · comments
I would like my configuration to sync automatically. I understand this might be complex (if not impossible) but wanted to open a request to track it. At a minimum I would like an upload to triggered whenever one of the following occurs:
- New extension installed
- Extension is uninstalled
- Extension settings are changed
A potential issue with this is if you're making changes on two computers simultaneously you risk overriding the synced config when you change something on one PC then change something different on the other PC. This is potentially solvable by pulling the remote configure first and doing some sort of merge between the two but that would potentially cause conflicts. In that case a user option to override or not might be useful but this would be a lot of work.
I'm not even sure if automatic downloading would be possible without polling the gist for changes periodically which doesn't seem like an elegant option.
Thanks for the feedback. I will look into this.
I came here to ask this feature LOL.
Just a personal input to this in case this ever get released : auto sync should be a choice in settings.
Use case : I have "core" extensions I want on every workstation I install, then each one can add or remove some extensions.
I like this idea @HugoFerrant, I also sometimes have extensions that are only installed on one or two machines (not all).
Wow, one issue, which is a request, and it seems popular :)
For the selective sync, I guess something like the way that Dropbox works where you can selectively sync certain folders. You'd probably have to do this in the extension, select the extensions that you'd like to be synchronised.
I will implement a couple more features like keyboard shortcuts sync and tweaks settings sync. Then I will start working on this. Thank you all for the feedback :)
Adding one more trigger to original list from @PHLAK :
- when I install this extension (gnome-shell-extensions-sync)
auto-nope : after brianstorming it with myself, I think it wont be possible, as the extension would not have github/gitlab parameters yet when installed. Correct ?
You can now use these commands for any workflow you want