Skip to content
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

list_users: enable sorting by disk usage, quota etc #104

Merged
merged 7 commits into from Aug 13, 2020

Conversation

pjbriggs
Copy link
Owner

@pjbriggs pjbriggs commented Aug 12, 2020

PR which adds a new --sort option to the list_users command, to allow sorting of users by disk usage rather than the default (email) by specifying --sort disk_usage.

Additional sorting options are quota and quota_usage; multiple fields can be specified by separating with a comma (e.g. --sort quota,disk_usage).

PR also makes some updates to the internals for displaying 'nice' versions of the percentage quotas and user status.

This PR aims to address issue #85.

@pjbriggs pjbriggs changed the title list_users: enable sorting by disk usage list_users: enable sorting by disk usage, quota etc Aug 13, 2020
@pjbriggs pjbriggs merged commit 7b72562 into devel Aug 13, 2020
@pjbriggs pjbriggs deleted the list_users-implement-sorting-option branch August 13, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'list_users': add options to sort on disk usage, and show bytes versus human-readable format?
1 participant