RepoDsl
Properties
Source-browser URL dialect. AUTO recognizes standard GitHub/GitLab hosts.
Explicit commit SHA for generated source-browse links, overriding the one read from the checkout's HEAD. Use when the local HEAD has not been pushed to the remote — e.g. after a local stig analysis branch commit. Set this to a commit (or branch/tag) that exists on the remote so that generated GitHub links resolve. Example: commit = "main" or a full SHA.
Git history used for provenance and source links, independently of root. CHECKOUT uses the nearest actual Git checkout: the enclosing monorepo for folders and git-subrepo imports, or the project's own repository for standalone clones and initialized submodules. SUBREPO_UPSTREAM explicitly uses the upstream and imported commit recorded in .gitrepo.
Explicit source-browse base URL for this repo, overriding the one derived from the checkout's git origin remote. Accepts the SSH (git@host:org/repo.git) or HTTPS form; it is normalized to https://host/org/repo. Set this when origin is absent, points elsewhere, or there are multiple remotes — e.g. remoteUrl = "git@example.com:source/source-repo.git". The commit still comes from the checkout's HEAD unless commit is set.