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

Glide should sort subpackages alphabetically to avoid spurious diffs #521

Closed
technosophos opened this issue Jul 26, 2016 · 0 comments
Closed

Comments

@technosophos
Copy link
Member

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.

technosophos added a commit to technosophos/glide that referenced this issue Jul 26, 2016
This alters the YAML marshaling to sort import and devimport subpackage
sections.

Closes Masterminds#521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant