Something went wrong on our end
-
Hans Fangohr authoredHans Fangohr authored
todo.org 1.07 KiB
for Quota tool (`mpsd-quota`)
Software engineering
- do we need better tests & should we have CI? Would be good (as always) but
would require some mocking of the calls of “df” and “getfattr” to be able to
run the commands on systems (such as a CI pipeline) other than the HPC. Is it
worth the effort? Unclear.
Alternatively, we could test the tool in-place ONCE we have a test framework such as ‘reframe’ deployed.
Hans: probably a few simple tests that can execute anywhere are useful just to get the idea of CI going. I’ll add this later.
(future) features
- sanity check if program is attempted to run on machines that do not have
getfattr
?- perhaps use some environment variable to check if we are on the HPC system, and abort if that is not found?
- coloured output?
- reduce available storage if storage is getting tight? Situation: perhaps there are only 10TB of storage left on scratch, but the user has not used any. So that user’s quota would (probably) display 25TB available. Should we reduce the number in that situation to 10TB?