Skip to content

Add tree display of modules to improve the user experience  #384

@b-reyes

Description

@b-reyes

Currently, we have a large table of all of our software. Although sufficient, it doesn't really get people accustomed to the LMOD structure. I propose we automate a process that displays our software in a tree structure, so that it is akin to LMOD.

We could take the output of something like tree /curc/sw/alpine-modules (there are -J for JSON and -X for XML options) and generate some HTML with some CSS on it. We could even add descriptions based off of LMOD descriptions.

tree /curc/sw/alpine-modules
.
.
.
├── mdep
│   ├── impi
│   │   ├── 2021.13
│   │   │   └── intel
│   │   │       └── 2024.2.1
│   │   │           ├── hdf5
│   │   │           │   └── 1.14.5.lua
│   │   │           ├── netcdf
│   │   │           │   └── 4.9.2.lua
│   │   │           └── pnetcdf
│   │   │               └── 1.13.0.lua
.
.
.

We could utilize this tutorial video to do this: https://www.youtube.com/watch?v=rvKCsHS590o . It constructs a tree display that looks like follows:

Screenshot 2024-11-08 at 2 48 35 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request, lower priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions