Skip to content
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

cmd/go: factor out internal/semver, internal/modfile etc #28101

Closed
rogpeppe opened this issue Oct 9, 2018 · 2 comments

Comments

Projects
None yet
5 participants
@rogpeppe
Copy link
Contributor

commented Oct 9, 2018

The parsing functionality found in the modfile package is useful to external tools
(for example for tools that wish to edit go.mod files in ways not supported by go mod edit, such as gohack).

The semver functionality found in semver is not quite the same as other semver packages, and is likewise useful for external packages.

There are already at least two repositories containing copies of these packages 1 2. It would be nice if there was a commonly recognized place for them.

@myitcv

This comment has been minimized.

Copy link
Member

commented Oct 9, 2018

@bcmills bcmills added this to the Go1.12 milestone Oct 9, 2018

@bcmills bcmills modified the milestones: Go1.12, Go1.13 Nov 15, 2018

@rsc rsc changed the title cmd/go/internal/{modfile, semver}: factor out of internal cmd/go/: factor out internal/semver, internal/modfile etc Apr 23, 2019

@rsc rsc changed the title cmd/go/: factor out internal/semver, internal/modfile etc cmd/go: factor out internal/semver, internal/modfile etc Apr 23, 2019

@rsc

This comment has been minimized.

Copy link
Contributor

commented Apr 30, 2019

Closing as duplicate of #31761 (assuming something like that is accepted and implemented).

@mvdan mvdan closed this May 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.