New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diskonaut: init at 0.3.0 #91460
diskonaut: init at 0.3.0 #91460
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, thanks for packaging diskonaut! I justed tested it here, works beautifully. Wouldn't know how to improve the build file, looks perfect. Thank you!
Also I should say that no tests are failing on my computer:
|
Ah. Interesting 🤔 I guess I’ll try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some suggested changes. Tests fail here as well, but there was an upstream issue for that:
Until the next release, you can fetchpatch this patch:
https://github.com/imsnif/diskonaut/commit/e94f9b942d8928b7993351a4109cfcef03055d2f.diff
It would also be good to add a comment above the patch with a reference to the PR saying that it can be removed after the next version bump.
Sounds good, didn’t see check the issues first. And also forgot/missed that version change (I swear I changed it already). Whoops. Thanks! |
4a15ab8
to
57bc45b
Compare
Hrm, tests still seem to fail. Also: do you think that using the |
They still fail, because diskonaut reports incorrect file sizes on some filesystems. I have filed an upstream bug: |
Thanks! I’ll just skip those specific tests for now, then? |
Disabled the failing tests and fixed the hash for the patch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think at this point it makes more sense to disable tests altogether. However, since incorrect file sizes are reported on the majority of systems that we tested on (yours, mine, the ofborg builders), it probably makes most sense to wait until the next release is out, which hopefully fixes this error and then update this PR for that release.
Since this is the intended reported usage (see upstream issue), let's just disable tests. Maybe you could do that (as in the suggested changes), make this PR a non-draft, and then this PR should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have moved cargoSha256
up to make the derivation more canonical.
Result of nixpkgs-review pr 91460
1
1 package built:
- diskonaut
Thanks for making all the requested changes! I'll merge this once ofborg is done.
Motivation for this change
Diskonaut — A disk usage explorer / terminal disk space navigator
Featured as crate of the week in This Week In Rust 344 (23 Jun 2020)
Tests currently failing