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 files before they're written to the files file #2143

Merged
merged 1 commit into from
Jul 1, 2017

Conversation

mandeep
Copy link
Contributor

@mandeep mandeep commented Jul 1, 2017

In reference sorted files in issue #2140

For build.py I merely added a sorted() call around the files argument. Even though the if statements are not calling paths in alphabetical order, the sorted files argument seems to be enough.

For convert.py I decided to append all filepaths to a list then write that sorted list into the files file.

@msarahan
Copy link
Contributor

msarahan commented Jul 1, 2017

Thanks - is paths.json sorted?

@mandeep
Copy link
Contributor Author

mandeep commented Jul 1, 2017

Yep, for the paths.json the files already have the sorted() call. I checked a package on Windows and OSX to be sure and all looks okay.

@msarahan
Copy link
Contributor

msarahan commented Jul 1, 2017

Great. Good work. Thanks for being proactive on this.

@msarahan msarahan merged commit 8004846 into conda:master Jul 1, 2017
@github-actions
Copy link

github-actions bot commented May 1, 2022

Hi there, thank you for your contribution!

This pull request has been automatically locked because it has not had recent activity after being closed.

Please open a new issue or pull request if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label May 1, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants