This is not a rant, I don't expect You to support things You don't use daily
Describe the bug
I tried to install dosr on opensuse tumbleweed but the cargo command printed Unsupported OS so, after locating the "culprit", which starts here
, for fun, I modified my
/etc/os-release to contain the word
fedora.
At first the installation failed without explicit reason – something along "OS error 2" – but running it again with strace allowed me to narrow it down to missing pandoc on my system.
Next try seemed to install correctly:
cargo xtask install -bip sudo
Finished `release` profile [optimized] target(s) in 0.12s
Running `target/release/xtask install -bip sudo`
Failed to find executable dnf: No such file or directory
Failed to find executable dnf: No such file or directory
Compiling rootasrole v3.3.4 (/home/k0rr/RootAsRole)
Finished `release` profile [optimized] target(s) in 54.41s
Compiling rootasrole v3.3.4 (/home/k0rr/RootAsRole)
Finished `release` profile [optimized] target(s) in 1m 14s
No errors (ignoring that missing dnf obviously) but dosr binary wasn't copied from ./target/release/dosr. Any idea why?
Expected behaviour
- Clear error messages – although I'm the one breaking the check, I still think it should fail cleanly, stating pandoc is missing.
- Support for less popular distros, because I'm openSUSE and OpenMandriva fanboy – maybe package dosr for nixOS, if this would be possible for such tool, as that would make it available for every niche distribution.
- Successful install
This is not a rant, I don't expect You to support things You don't use daily
Describe the bug
I tried to install dosr on opensuse tumbleweed but the cargo command printed
Unsupported OSso, after locating the "culprit", which starts hereRootAsRole/xtask/src/util.rs
Line 37 in 3a47802
, for fun, I modified my
/etc/os-releaseto contain the wordfedora.At first the installation failed without explicit reason – something along "OS error 2" – but running it again with strace allowed me to narrow it down to missing pandoc on my system.
Next try seemed to install correctly:
No errors (ignoring that missing dnf obviously) but dosr binary wasn't copied from
./target/release/dosr. Any idea why?Expected behaviour