Skip to content

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

Closed

Description

@rogpeppe

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.

Activity

  1. myitcv commented on Oct 9, 2018

    @myitcv
    Member
  2. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Oct 9, 2018
  3. added this to the Go1.12 milestone on Oct 9, 2018
  4. added
    FeatureRequestIssues asking for a new feature that does not need a proposal.
    on Oct 9, 2018
  5. modified the milestones: Go1.12, Go1.13 on Nov 15, 2018
  6. changed the title [-]cmd/go/internal/{modfile, semver}: factor out of internal[/-] [+]cmd/go/: factor out internal/semver, internal/modfile etc[/+] on Apr 23, 2019
  7. changed the title [-]cmd/go/: factor out internal/semver, internal/modfile etc[/-] [+]cmd/go: factor out internal/semver, internal/modfile etc[/+] on Apr 23, 2019
  8. rsc commented on Apr 30, 2019

    @rsc
    Contributor

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

  9. locked and limited conversation to collaborators on Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeGoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions