Skip to content

Glide should sort subpackages alphabetically to avoid spurious diffs #521

Closed
@technosophos

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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