Daniel Holth

Results 349 comments of Daniel Holth

This should be fixed on anaconda.org. Let us know if it is working for you.

Alphabetical seems reasonable. The only requirement for .tar.bz2 is that the info directory should come first. But the old sorting code was not well tested. The current maintainers won't have...

Why not all alphabetical Does regular Python string compare use locale?

It would be interesting to look into the info order, conda index cares about it here https://github.com/conda/conda-index/blob/main/conda_index/index/sqlitecache.py#L237 , https://github.com/conda/conda-index/blob/main/conda_index/index/sqlitecache.py#L28. It makes a difference when the whole info/ is first in...

It's still reproducible even if you sort it in a weird way, as long as someone else can run the same code on their machine.

zstd has a larger window size than bz2 (depending on the compression level and the details are not in the main documentation), if the window size is larger than the...

https://github.com/conda/conda-package-handling/blob/main/src/conda_package_handling/tarball.py#L16-L30 is a pretty strange decision. It should be changed to info first then alphabetical/lexicographical. Looks like we don't use any of that logic when building `.conda` thankfully.

Like `tar -tvf somefile`? Could we re-use part of Python's built-in tar command line utility? `% python -m tarfile -l iniconfig-1.1.1-pyhd3eb1b0_0.tar.bz2`

Mind blown, extracting .zip with the libarchive tar command! 🤯