Skip to content

Settings Sync : Allow for custom backend service end points #92357

Open

Description

According to the Settings Sync Plan #90129 and to the Settings Sync documentation ( https://code.visualstudio.com/docs/editor/settings-sync ) it seems that only Microsoft and public Github account are supported.

What if we wanted to use a Github Enterprise backend, or any other git remote ( Gitlab, Gogs, whatever... ) ?

Activity

  1. sandy081 commented on Mar 10, 2020

    @sandy081
    Member

    We have plans to open backend for other service providers but it depends on the demand.

  2. changed the title [-]Settings Sync : Allow for costum Git backend[/-] [+]Settings Sync : Allow for custom backend service end points[/+] on Mar 10, 2020
  3. added
    feature-request
    on Mar 10, 2020
  4. vscodebot commented on Mar 10, 2020

    @vscodebot

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. IllusionMH commented on Mar 10, 2020

    @IllusionMH
    Contributor
  6. sandy081 commented on Mar 11, 2020

    @sandy081
    Member

    Yes. #84332 is for auth provider API. This is one piece of Settings Sync. This issue is for second piece - custom back ends for which we need standardise the settings sync service end point API.

    Hence, based on the demand we will look into this.

    Daniel Imms (@Tyriar) FYI

  7. added
    under-discussion
    on Mar 11, 2020
  8. 3 remaining items

  9. borekb commented on Mar 13, 2020

    @borekb

    Is Gist one of such possible backends? Or is it too simple for that?

    I love how I can easily view my VSCode settings and the diffs between versions when Gist is used as a storage (this is done via the Settings Sync extension):

    Screenshot 2020-03-13 at 13 18 22

  10. sandy081 commented on Mar 13, 2020

    @sandy081
    Member

    Borek Bernard (@borekb) Same is also supported in the current Settings Sync solution - #85619

  11. borekb commented on Mar 13, 2020

    @borekb

    Sandeep Somavarapu (@sandy081) I don't see it yet:

    Screenshot 2020-03-13 at 16 05 56

    But even when this becomes available (and I'm glad for that!), I'd still prefer Gist as a transparent storage for my settings. For example, GitHub's UI is often more convenient / superior for certain tasks.


    So back to my question, is Gist going to be (at least theoretically) one of the supported backends? Or would it need to be a more complex backend, implementing some prescribed set of APIs?

  12. sandy081 commented on Mar 13, 2020

    @sandy081
    Member

    I don't see it yet:

    Issue was open then. I just enabled remote view and close the issue. You shall see it in next insiders.

    So back to my question, is Gist going to be (at least theoretically) one of the supported backends? Or would it need to be a more complex backend, implementing some prescribed set of APIs?

    This issue is for tracking the same. Its under discussion yet.

  13. removed
    under-discussion
    on Mar 17, 2020
  14. chrisdias commented on Mar 17, 2020

    @chrisdias
    Contributor

    This is a good suggestion, but it not currently on the roadmap. We will put it on the backlog and consider it in the future.

  15. gudvinr commented on Apr 14, 2020

    @gudvinr

    To be honest, vendor lock-in on Microsoft (using built-in extension rather than opt-in installation) is really not looking good.

    From all extensions (except telemetry which is not extension) Settings Sync is the first one which is tightly coupled with Microsoft online services and you can't just "not install" it.

    This issue is the one that should be available when Setting Sync will go out in the wild.
    Use of plain old directories or raw git access are things that deserve to be built-in and not some vendor specific API.

    Relying on single provider is not future-proof solution.

  16. borekb commented on Aug 14, 2020

    @borekb

    Now that Settings Sync is becoming available in VSCode stable, see 1.48 update, I had to drop my previous sync data to start using the new Insiders service, i.e., a small data loss 😕 (see #104584).

    I don't mind losing Insiders settings history too much but still, it made some problems of the current setup more apparent to me:

    • I don't like it that my sync history is not owned by me. It is somewhere on Microsoft's servers, in some proprietary format.
    • The format is also important – the settings sync extension used Gists which meant that not only I owned my data but also they were in a format that other "clients" could work with, for example, I could use GitHub's user interface to browse the history of my settings or git CLI to e.g. merge between Insiders and Stable.
    • The VSCode team decides which "services" are available, for example, what if I wanted to have a third service for GitHub Codespaces?

    I understand that custom backends are on VSCode's team mind, just not prioritized yet. My point is only to add some more arguments for support of custom backends.

  17. Chiramisudo commented on Sep 15, 2020

    @Chiramisudo

    Just to throw my two cents, I think this is a great ideas for teams to implement a standard base set of Extensions and Settings, especially for new developers, or even to keep them all in sync. I suspect the former would be most probable though as most developers will likely want a quick "getting started" config, then to add or tweak those extensions and settings as they see fit for their own productivity. 😉

  18. mrdulin commented on Oct 23, 2020

    @mrdulin

    I want to use my private github repo to store the sync data. Does it support?

  19. akosyakov commented on Apr 11, 2022

    @akosyakov
    Contributor

    Hi 👋 is this issue opened for contributions in regards of alternative auth? At Gitpod we are running our Setting Sync Server which is compatible with VS Code and our users would like to be able to sync between local and Gitpod. Right now setting sync provider configuration is hard coded in product.json but it can be rather extended by 3rd party extensions similar to auth.

  20. removed their assignment
    on Dec 12, 2022
  21. scogginsnl commented on Jan 18, 2023

    @scogginsnl

    Seems like any git repo should work.

    This would be a great feature for people on closed networks. (yes there are plenty of other problems on closed networks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestsettings-sync

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions