perpetualKid / GetText.NET

A .NET Standard cross-platform implementation of GNU Gettext
Other
34 stars 11 forks source link

GetText.Extractor output is nondetererministic #43

Closed pontaoski closed 2 years ago

pontaoski commented 2 years ago

The output extractions aren't deterministic, so it's impossible to automatically use GetText.Extractor to check for if the output is up to date as the spurious changes will confuse attempts to compare new vs current output.

pontaoski commented 2 years ago

turns out this was a power of the defaults moment; the --order flag exists and isn't default for some reason.

perpetualKid commented 2 years ago

turns out this was a power of the defaults moment; the --order flag exists and isn't default for some reason.

GetText.Extractor was optimized for performance, so any additional processing such as sorting has to be specified explicitly. However, I realize that processing even on larger projects is fast enough so it may be worth to enforce/change some defaults.