{"id":27004533,"url":"https://github.com/tacc/lmod","last_synced_at":"2026-02-12T22:12:08.854Z","repository":{"id":7978705,"uuid":"9381512","full_name":"TACC/Lmod","owner":"TACC","description":"Lmod: An Environment Module System based on Lua, Reads TCL Modules, Supports a Software Hierarchy","archived":false,"fork":false,"pushed_at":"2025-12-10T17:49:15.000Z","size":39824,"stargazers_count":564,"open_issues_count":27,"forks_count":138,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-12-11T04:10:03.375Z","etag":null,"topics":["environment-modules","hpc","lmod","lua","tacc","xsede"],"latest_commit_sha":null,"homepage":"http://lmod.readthedocs.org","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TACC.png","metadata":{"files":{"readme":"README.design.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-04-11T22:17:13.000Z","updated_at":"2025-12-10T17:49:18.000Z","dependencies_parsed_at":"2023-01-16T21:15:40.001Z","dependency_job_id":"81aff586-79a8-4d34-8706-a12e839233ee","html_url":"https://github.com/TACC/Lmod","commit_stats":{"total_commits":5985,"total_committers":65,"mean_commits":92.07692307692308,"dds":0.04377610693400169,"last_synced_commit":"eeaa4a83be90c77e071e0acd526b1e5c5826c8ad"},"previous_names":[],"tags_count":655,"template":false,"template_full_name":null,"purl":"pkg:github/TACC/Lmod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FLmod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FLmod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FLmod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FLmod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TACC","download_url":"https://codeload.github.com/TACC/Lmod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FLmod/sbom","scorecard":{"id":136899,"data":{"date":"2025-08-04","repo":{"name":"github.com/TACC/Lmod","commit":"c98dbc59cf36720769af0c5c23c7351196876011"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: License:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: parameter expansion requires a literal: contrib/TACC/CollectModuleData4Web.sh:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/TACC/arch.py:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_1/analyzeLmodDB:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_1/createDB.py:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_1/dump_db:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_1/store_module_data:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_2/analyzeLmodDB:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_2/conf_create:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_2/createDB.py:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_2/delete_old_records:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: contrib/tracking_module_usage/gen_2/store_module_data:0","Info: Possibly incomplete results: error parsing shell code: invalid func name: tcl/modulecmd.tcl:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/TACC/Lmod/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/TACC/Lmod/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/TACC/Lmod/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/TACC/Lmod/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/TACC/Lmod/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile:1: pin your Docker image by updating debian:12 to debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:17","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T06:47:15.742Z","repository_id":7978705,"created_at":"2025-08-16T06:47:15.742Z","updated_at":"2025-08-16T06:47:15.742Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["environment-modules","hpc","lmod","lua","tacc","xsede"],"created_at":"2025-04-04T06:17:05.972Z","updated_at":"2026-01-23T03:01:04.657Z","avatar_url":"https://github.com/TACC.png","language":"Lua","readme":"Lmod design\n===========\n\nThe style of variables is:\n`varT`: a table\n`varA`: an array\n\nSpider\n------\n\nSpider searches for module(names). There are 3 levels of spider:\n- level 0: just list all modules, no input given\n- level 1: search for a module with a given name\n- level 2: search for a module with a given name/version\n\nLevel 2 will show how to load the specified module in a hierarchy.\n\n`canonical`: the version according to Lmod\n`Version`: the version specify by whatis in the module (can be anything)\n`pv`: Python version (used to determine the latest version)\n`wv`: weighted version (user, system and module locale .modulerc)\n`luaExt`: location of the .lua in the filename (zero when tcl module)\n\nMainControl\n--------------\n\nThe MainControl is the heart of Lmod. An 'action' in a module file like `setenv('foo', 'bar')` has a different\nmeaning depending on the mode. For a load it will set `foo` while for a unload it will delete it.\nThere are 7 modes in Lmod:\n- Load\n- Unload\n- Access: for help and whatis messages\n- CheckSyntax: check if the module file is a valid module (a dummy run)\n- ComputeHash: generate a hash value for the contents of the module\n- DependencyCk: check if all 'depends_on' are still valid after a unload\n- MgrLoad: for a collection restore (loads are ignored)\n- Refresh: reloads the modules to make sure all shell functions and aliases are defined\n- Show: show the contents of the module\n- Spider: process module files for spider operations\n\nThe file `MainControl.lua` holds all code and the files `MC_\u003cmode\u003e.lua` assign what each action in a\nmodule exactly does. \n\nThe object MCP (MainControl Program) is created once and always points to a 'positive'\naction (a load basically). The lowercase mcp points to the current MainControl\nProgram. These variables are global.\n\nThe file `Hub.lua` is were the real work is being done. MainControl will decides which functions\nget called from this file.\n\nGeneral flow\n------------\n\nThe Lmod main is in `lmod.lua.in`. There the MainControl Program (MCP) object is created. The array\n`lmodCmdA` does the translation between user input and a Lmod command. The file `cmdfuncs.lua` holds\nall 'user' actions. The main will run a function from that file which will call MainControl which\ncalls Hub (or sometimes Hub directly).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Flmod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftacc%2Flmod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Flmod/lists"}