Story #2992
Updated by Peter Amstutz about 10 years ago
Pipeline components are stored in a hash. In Ruby, and in the YAML representation of components that is stored in the database, the ordering of hash keys is consistent. However, when the components are handled by other languages such as Python (for example, by arv-copy) the order of components is likely to get permuted because order is not guaranteed by json or for "dict" or "hash" types by the in most languages. An algorithm A fix to sort the components with consistent ordering was implemented way back in March in commit:ac2db7d4aa32a772d9f21db3f1a8a63b1ad0ca2f but ac2db7d4aa32a772d9f21db3f1a8a63b1ad0ca2f and reverted in April with commit:085e614c8e7d1a29e675cf839a1ce9d92ffc5d5c 085e614c8e7d1a29e675cf839a1ce9d92ffc5d5c Users should retain the ability to control sorting with a "display_order" field that, if present, takes precedence over the topological/lexical sorting behavior.