fish-shell icon indicating copy to clipboard operation
fish-shell copied to clipboard

Completion support for SLURM workload manger

Open saiden89 opened this issue 11 months ago • 2 comments
trafficstars

Hi everyone, I've been working (mostly for myself) on adding command completions for SLURM, a popular workload manager used on HPC clusters and supercomputers. SLURM has a comprehensive set of commands and options, and having completions available in Fish Shell significantly improves usability for users managing jobs and resources on HPC systems, especially novices.

This has been a long and tedious process due to the complexity of SLURM's commands and the intricate logic required for some arguments. For example, certain options depend on cluster-specific configurations or need dynamic handling based on the state of the system.

Some of the completions are already functional, but implementing the more complicated ones—particularly those involving dynamic logic, cluster-specific options, or system state dependencies—has proven challenging.

I am curious if this is something the community would find useful. While SLURM is commonly used in HPC environments, it may be considered niche.

saiden89 avatar Dec 13 '24 10:12 saiden89

It's packaged in Debian, I think we'd take it!

zanchey avatar Dec 13 '24 11:12 zanchey

We've written down some criteria in CONTRIBUTING:

In general, we'll take all well-written completion scripts for a command that is publically available. This means no private tools or personal scripts, and we do reserve the right to reject for other reasons.

But yeah, if it is a piece of software that e.g. I could possibly use (even if I would have to pay), we'd take a completion script.

faho avatar Dec 13 '24 11:12 faho

I'm closing this out as I believe the question has been answered. Feel free to ping back here or open a PR when you have something to share. Thanks in advance!

mqudsi avatar Jan 07 '25 01:01 mqudsi