Skip to content

Allows to specify a proxy for GithubRepository#51

Merged
niezbop merged 4 commits intoDragonBox:masterfrom
niezbop:feature/github_proxy
Feb 26, 2018
Merged

Allows to specify a proxy for GithubRepository#51
niezbop merged 4 commits intoDragonBox:masterfrom
niezbop:feature/github_proxy

Conversation

@niezbop
Copy link
Copy Markdown
Member

@niezbop niezbop commented Feb 26, 2018

With the recent drop of support of TLS v1.0 and v1.1 by Github, we need to go through a proxy to use the GithubRepository. This implements what is needed to do so.

@niezbop
Copy link
Copy Markdown
Member Author

niezbop commented Feb 26, 2018

NOTE: This requires #50 to be merged first

@niezbop niezbop requested a review from lacostej February 26, 2018 15:45
"The proxy URL will replace 'https://api.github.com'",
MessageType.Info
);
githubProxyUrl = EditorGUILayout.TextField("Proxy URL", githubProxyUrl);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could make sure that the specified values does not end with / (or remove it if there's any).

@niezbop niezbop force-pushed the feature/github_proxy branch from 696d56c to 30e2f5d Compare February 26, 2018 16:40
MessageType.Info
);
githubProxyUrl = EditorGUILayout.TextField("Proxy URL", githubProxyUrl);
githubProxyUrl = Regex.Replace(githubProxyUrl, "/$", "");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird indentation

@niezbop niezbop force-pushed the feature/github_proxy branch from 30e2f5d to f111ad0 Compare February 26, 2018 16:46
@niezbop niezbop merged commit f28687f into DragonBox:master Feb 26, 2018
@niezbop niezbop deleted the feature/github_proxy branch February 26, 2018 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants