Skip to content

Glide should sort subpackages alphabetically to avoid spurious diffs #521

Closed

Description

@technosophos

I've noticed that the re-arrangement of subpackages: sections introduces changes to the lock file that are more just clutter than anything else. On a recent update of Kubernetes, I spent quite a bit of time just tracking movements inside of the lock file.

It seems to me that we could just sort subpackages lexicographically, and that would lead to predictable ordering. The easiest way to do this would be in a marshaling hook in the cfg/lock.go and cfg/conf.go files.

Activity

  1. added a commit that references this issue on Jul 26, 2016
    4717700
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址