{"id":21711301,"url":"https://github.com/michelemartone/mimoch","last_synced_at":"2026-05-21T05:36:25.158Z","repository":{"id":41862436,"uuid":"234345672","full_name":"michelemartone/mimoch","owner":"michelemartone","description":"mimoch: MIchele's shell MOdulefiles CHecker","archived":false,"fork":false,"pushed_at":"2023-07-03T11:31:02.000Z","size":131,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T16:42:28.760Z","etag":null,"topics":["bash-script","command-line-tool","hpc-systems","minimalist","modulefiles","shell-script","testing-tool"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelemartone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-16T15:04:59.000Z","updated_at":"2023-09-08T18:02:21.000Z","dependencies_parsed_at":"2024-11-26T00:17:47.341Z","dependency_job_id":null,"html_url":"https://github.com/michelemartone/mimoch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelemartone%2Fmimoch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelemartone%2Fmimoch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelemartone%2Fmimoch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelemartone%2Fmimoch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelemartone","download_url":"https://codeload.github.com/michelemartone/mimoch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244666585,"owners_count":20490287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-script","command-line-tool","hpc-systems","minimalist","modulefiles","shell-script","testing-tool"],"created_at":"2024-11-25T23:21:17.069Z","updated_at":"2026-05-21T05:36:20.133Z","avatar_url":"https://github.com/michelemartone.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"MIMOCH\n======\n# MIchele's shell MOdulefiles CHecker\n\nUsage alternatives:\n\n```bash\n\t./mimoch.sh [options] \u003cmodule-name\u003e ...              # check specific modules (preferred style: uses existing MODULEPATH)\n\t./mimoch.sh [options] \u003cfull-modulefile-pathname\u003e ... # check specified modulefiles (fragile: assumes its dirname to be MODULEPATH)\n\t./mimoch.sh [options] [[\u003cmodulefiles-dirpath\u003e] \u003cfilter-find-pattern\u003e] # search and check modulefiles\n\tWhere [options] are:\n\t-a            # short for '-d bdps -H -M'\n\t-d SPECSTRING # check existence of specified directories. By default: bdps, where\n\t              # p: check .*PATH variables\n\t              # d: check .*DIR  variables\n\t\t      # s: check .*_SRC variables (if these start with http:// or https://, will be ignored)\n\t              # b: check .*BASE variables\n\t-h            # print help and exit (twice for Markdown markup)\n\t-t            # additional TAB-columnated and \"TAB:\"-prefixed output (easily grep'able, three columns). implies -M\n\t-q            # decrease verbosity\n\t-v            # increase verbosity (up to 4 times)\n\t-n            # exit with zero status (as long as no internal errors encountered)\n\t-i MAX        # will return non-zero status only if more than MAX mistakes found\n\t-m MAX        # will exit and return non-zero status immediately as soon MAX mistakes are reached\n\t-#            # tolerate a *.DIR or *.PATH variable value whose value begins with \"#\"\n\t-%            # tolerate a *.DIR or *.PATH variable value whose value contains \"%\" (if -% specified twice, truncate and only then check)\n\t-C            # check for presence of variables named _CC|_FC|_CXX (suffix)\n\t-E            # check and expand (via \\'module avail\\') list of specified modules\n\t-H            # check `module help` output\n\t-I            # in variables matching _INC check that each '-I/.* ' occurrence specifies an existing, space-free path\n\t-L            # check `module load` / `module unload`\n\t-M            # fetch contact list from a *_MAINTAINER_LIST variable; if specified twice (-MM), absence of such a variable will count as mistake.\n\t-P            # prereq / conflict module existence check\n\t-S            # in variables matching _SHLIB|_LIB|LDFLAGS|LIBS check that each '-L/.* ' occurrence specifies an existing, space-free path\n\t-T            # perform sanity test and exit (will use a temporary dir in /dev/shm)\n\t-X            # if a *_USER_TEST or *_CMD_TEST variable is provided by a module, execute it in the shell using `eval` (implies module load/unload)\n```\n\nWill look for common mistakes in shell modulefiles.\nIf any mistake if found, will exit with non-zero status.\nIt assumes output of `module show` to be sound in the current environment.\nNote that mistakes might be detected twice.\nFalse positives are also possible in certain cases.\nNote that a badly written module can execute commands in your shell by sole load or show.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelemartone%2Fmimoch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelemartone%2Fmimoch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelemartone%2Fmimoch/lists"}