-
Notifications
You must be signed in to change notification settings - Fork 28
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
order platforms alphabetically #480
Comments
Hiya :) Going to have a look at this |
Aria poked around this a couple weeks back, and I think they saw the same sorted list of platforms I do on main: oranda/src/site/artifacts/mod.rs Lines 16 to 20 in 13505ef
I'll see if I can confirm where this is being sorted, and check we're not just getting lucky hashes ;D |
this PR #542 should guarantee that anything ordered passed into minijinja stays sorted, so hopefully that should help |
Hm, I think that may not work alone :) I just found the same code and I think the BTreeMap representation was actually saving us? The HashMap repr of |
Oh even then we were getting lucky that the target triples had the same sort order as the display names! Adding a post process filter in the template is likely the easiest solution: https://docs.rs/minijinja/latest/minijinja/filters/fn.sort.html I can PR that if you like? |
that sounds good, go for it! |
The text was updated successfully, but these errors were encountered: