You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This relies on a hard coded list of distros that need -c, which does not work when we encounter a new distro. It's made worse since the failures that occur here are not clear and you'd have to spend the time digging into train to fully understand where the stat command is failing.
The text was updated successfully, but these errors were encountered:
The current implementation of Stat functionality for Linux in Train is not robust enough to hand new / unknown linux variants.
There is logic at this line to determine if we should use --printf or -c when running the command:
train/lib/train/extras/stat.rb
Line 37 in 6893b8d
This relies on a hard coded list of distros that need -c, which does not work when we encounter a new distro. It's made worse since the failures that occur here are not clear and you'd have to spend the time digging into train to fully understand where the stat command is failing.
The text was updated successfully, but these errors were encountered: