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

sort packages prior to rendering #184

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Apr 1, 2022

ensures consistent package ordering, however lockfile object was produced

I'm guessing this is a redundant sort at least sometimes, but sorting immediately before generating output seems like the right place to ensure it always happens, unless topo sort is important earlier in the chain.

same issue as #170 in a different situation. fixes #183

ensures consistent package ordering, however lockfile object was produced
@netlify
Copy link

netlify bot commented Apr 1, 2022

Deploy Preview for conda-lock ready!

Name Link
🔨 Latest commit c964be4
🔍 Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/6246ea9fd72f8d00082cea48
😎 Deploy Preview https://deploy-preview-184--conda-lock.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mariusvniekerk
Copy link
Collaborator

It might be a little redundant, but the toposort is fast enough that running it multiple times shouldn't be problematic.

@minrk minrk mentioned this pull request Apr 1, 2022
@minrk
Copy link
Contributor Author

minrk commented Apr 1, 2022

#185 fixes the pre-commit bug

@mariusvniekerk mariusvniekerk merged commit 2a9b85a into conda:main Apr 1, 2022
@minrk minrk deleted the toposort-before-write branch April 1, 2022 13:19
@FelixSchwarz FelixSchwarz mentioned this pull request Sep 29, 2023
2 tasks
@maresb maresb mentioned this pull request Oct 12, 2023
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

Successfully merging this pull request may close these issues.

explicit lockfiles no longer sorted
2 participants