Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplace sys-info crate dependency with systemstat #4496
Comments
|
I'm bored because of all this corona confinement stuff (I'm French) I'll take it. |
|
@ry There is no way to get the hostname or the os release version with systemstat shoul I just read from /proc/... for unix and execute hostname for windows (as there is no os_release). |
|
@Nimpruda you can return OpError::not_implemented() for those. We can get to it later. For the tests that will break, use ignored: true. Thanks for looking into this! |
|
Hello @Nimpruda , |
|
@ry I'll work on it. |
|
I didn't find any usage of sys-info in the code base. What am I missing here? |
|
The sys_info seems to have fixed the issue: FillZpp/sys-info-rs#50 |
|
Looks like @ry is reconsidering |
|
sys-info was upgraded successfully to 0.6.1 a few days ago (#5104) but the issue remains that they don't have a windows build in their CI. |
|
Have another way to test the changes? |
|
I know it's been 28 days since the last comment, but would it be worth submitting a PR to sys-info to add windows CI? It looks like it's as simple as adding an entry to Travis build files. Or am I missing something here, as it seems it's still to be decided if |
sys-info is broken on Windows for 3 releases now, and doesn't have proper CI. We cannot depend on that.
This other crate https://github.com/myfreeweb/systemstat looks like a good replacement
This should be a relatively easy Rust issue for someone who wants to look around the code base.