atom-community / sync-settings

Synchronize all your settings and packages across atom instances
https://atom.io/packages/sync-settings
MIT License
1.14k stars 105 forks source link

Can't set proxy settings #619

Closed baatochan closed 3 years ago

baatochan commented 3 years ago

I have a problem with using this package when behind a proxy. I looked for all already created issues in this repo and couldn't find a way to set it up properly.

I'm using Manjaro Linux and have proxy env var (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY, etc.) set up. Atom gets its proxy settings from the env var. Sync settings does not even tho all issues here say it should be.

I found this comment in #273 that shows the solution with sync-settings.coffee but I have no idea how to use that. I'd be very grateful if someone could help me.

UziTech commented 3 years ago

It seems like we would need to pass a request option to octokit here in order to get this to work. I don't have a proxy that I can test but if you are willing to create a PR I would be happy to merge it.

Alternatively you could use sync-settings-git-location to sync to a git repo. I'm pretty sure that would work with git proxy settings.

UziTech commented 3 years ago

I created PR #620 that should work. Can you test it to see if it works for you?

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 5.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: