Open hnformentin opened 4 years ago
I'm not so sure that the transpiler should sort the matrix release, since we want the matrix release to be sorted in the repository. This sounds like it belongs in the prettier (running it locally it would sort your release, and in CI it will check that your release is sorted).
komodo-transpiler currently sorts alphabetically .yml files only for transpilled files (e.g. in release folder as 2020.10.b5-py36-rhel7.yml). The files inside releases/matrices are kept in the wrong alphabetical order (e.g. 2020.10.b5.yml). A suggestion to fix is first rewrite files in
releases/matrix
withwrite_to_file
function (which sorts alphabetically) beforetranspile_releases
function in release_transpiler.