nim-lang / nimble

Package manager for the Nim programming language.
Other
1.24k stars 174 forks source link

nimble.lock packages should be sorted #1184

Open iffy opened 4 months ago

iffy commented 4 months ago

I just updated a nimble.lock file and it's very difficult to determine what changed (with git diff) because the order of packages seems arbitrary. Maybe I used two different versions of nimble and it actually does produce deterministic ordering. If so, sorry for the noise.

iffy commented 4 months ago

Looks like the order is topological. Hmm... I can understand the reason for doing that, but couldn't topology be computed after reading the file?