8000 migrate to go mod to maintain 3rd party libs by vcptr · Pull Request #1955 · v2ray/v2ray-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

migrate to go mod to maintain 3rd party libs #1955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 19, 2019
Merged

Conversation

vcptr
Copy link
Contributor
@vcptr vcptr commented Oct 19, 2019

Historically golang projects tend to maintain a copy of 3rd party libraries under the source tree. The situation has changed since go1.11+, go mod is officially designed for tracking the use of 3rd party libraries.

It's now time to migrate the external dir to go mod, so that we are updated to security fixes. (eg, #1950 is an upstream fix that they committed months ago.)

Here I managed to migrate the utls and websocket. But I left some untouched for they are dependencies of the quic-go lib which is still under heavy development. Migrate to their latest version would bring breaking change that different version of client and server won't be able to communicate. As documented, the plan is that we will remove the whole external directory when quic-go is tested to be mature enough in production.

@kslr kslr merged commit 98fd5ea into v2ray:master Oct 19, 2019
@vcptr vcptr deleted the nonext branch October 30, 2019 04:38
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
0