Bug 262704 - [NEW PORT] sysutils/diskus: Minimal, fast alternative to 'du -sh'
Summary: [NEW PORT] sysutils/diskus: Minimal, fast alternative to 'du -sh'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL: https://github.com/sharkdp/diskus/
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 14:50 UTC by sec.research.2005
Modified: 2022-04-15 20:11 UTC (History)
3 users (show)

See Also:


Attachments
Patch (9.03 KB, patch)
2022-03-21 14:50 UTC, sec.research.2005
no flags Details | Diff
Poudriere Build Log (209.87 KB, text/plain)
2022-03-21 14:50 UTC, sec.research.2005
no flags Details
Patch (9.03 KB, patch)
2022-03-21 21:18 UTC, sec.research.2005
no flags Details | Diff
Patch (9.01 KB, patch)
2022-03-22 21:36 UTC, sec.research.2005
no flags Details | Diff
Patch after portlint/portclippy/portfmt (9.00 KB, patch)
2022-04-05 13:26 UTC, sec.research.2005
no flags Details | Diff
Patch (9.32 KB, patch)
2022-04-05 21:43 UTC, sec.research.2005
no flags Details | Diff
Poudriere Build Log (212.00 KB, text/plain)
2022-04-05 21:43 UTC, sec.research.2005
no flags Details
Patch (9.32 KB, patch)
2022-04-15 18:05 UTC, sec.research.2005
no flags Details | Diff
Poudriere Build Log (211.33 KB, text/plain)
2022-04-15 18:05 UTC, sec.research.2005
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description sec.research.2005 2022-03-21 14:50:24 UTC
Created attachment 232609 [details]
Patch

diskus is a very simple program that computes the total size of the current directory. It is a parallelized version of du -sh. On my 8-core laptop, it is about ten times faster than du with a cold disk cache and more than three times faster with a warm disk cache
Comment 1 sec.research.2005 2022-03-21 14:50:50 UTC
Created attachment 232610 [details]
Poudriere Build Log
Comment 2 sec.research.2005 2022-03-21 21:18:24 UTC
Created attachment 232618 [details]
Patch

Fixed Comment and pkg-descr to adopt suggestions from portlint.
Comment 3 sec.research.2005 2022-03-22 21:36:07 UTC
Created attachment 232642 [details]
Patch

Removed PORTREVISION from Makefile
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-03-23 06:59:47 UTC
(In reply to sec.research.2005 from comment #3)

[NEW PORT] sysutils/diskus …

From the note under <https://docs.freebsd.org/en/books/porters-handbook/book/#porting-submitting-diff>: 

> … The expected format for new ports is 
> "[NEW PORT] category/portname short description of the port" …
Comment 5 sec.research.2005 2022-04-05 13:26:59 UTC
Created attachment 232964 [details]
Patch after portlint/portclippy/portfmt

Cleaned up the Makefile & pkg-descr as per portlint/portclippy/pportfmt
Comment 6 sec.research.2005 2022-04-05 21:43:24 UTC
Created attachment 232984 [details]
Patch

Added docs
Comment 7 sec.research.2005 2022-04-05 21:43:48 UTC
Created attachment 232985 [details]
Poudriere Build Log
Comment 8 sec.research.2005 2022-04-15 18:05:29 UTC
Created attachment 233236 [details]
Patch
Comment 9 sec.research.2005 2022-04-15 18:05:54 UTC
Created attachment 233237 [details]
Poudriere Build Log
Comment 10 Neel Chauhan freebsd_committer freebsd_triage 2022-04-15 20:10:46 UTC
Committed!
Comment 11 commit-hook freebsd_committer freebsd_triage 2022-04-15 20:11:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=acb03a3c0498a87456e8715d3dcad908e8d7fc3c

commit acb03a3c0498a87456e8715d3dcad908e8d7fc3c
Author:     Mostly BSD <sec.research.2005@gmail.com>
AuthorDate: 2022-03-21 14:49:27 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-15 20:09:59 +0000

    sysutils/diskus: new port

    Changes: https://github.com/sharkdp/diskus/

    PR:     262704

 sysutils/Makefile               |  1 +
 sysutils/diskus/Makefile (new)  | 70 +++++++++++++++++++++++++++++++++++
 sysutils/diskus/distinfo (new)  | 81 +++++++++++++++++++++++++++++++++++++++++
 sysutils/diskus/pkg-descr (new) |  8 ++++
 4 files changed, 160 insertions(+)