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
Closed

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

rogpeppe opened this issue Oct 9, 2018 · 2 comments
Labels
FeatureRequest FrozenDueToAge GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@rogpeppe
Copy link
Contributor

rogpeppe 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
Copy link
Member

myitcv commented Oct 9, 2018

cc @bcmills

@bcmills bcmills added GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels 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
Copy link
Contributor

rsc commented Apr 30, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FeatureRequest FrozenDueToAge GoCommand cmd/go modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

6 participants