You run a review tool on your own network, point it at the repository you already have, and make sure it produces a record an auditor can read without the repository. A pull request on a self-hosted forge covers the first two. Certification programs usually need more: review of a fixed baseline, checklists, findings with a disposition, sign-off by named roles, and an audit record that survives the repository. Pick the tool by how much of that record it gives you, and by whether it speaks your version control system.
Why are hosted review tools out on a closed network?
GitHub.com and GitLab.com are hosted services. A hosted service needs a path from your network to the vendor, and an air-gapped or classified network has none by design. Moving source out to review it is usually a worse problem than the one you were solving.
That leaves two routes. Run the forge yourself, with merge requests or pull requests built in. Or run a dedicated review tool beside the repository you already have. GitHub's own documentation says GitHub Enterprise Server runs on your infrastructure, under firewalls and network policies you define. Whether that fits a fully isolated network, including how you get updates across, is a question for GitHub and your ISSO. I have not verified it.
What are the self-hosted options?
I checked each of these on the vendor's own site. Terms and editions change, so check the current ones before you buy.
| Tool | Deployment | Version control | What it does well | What to watch |
|---|---|---|---|---|
| GitLab self-managed merge requests | Self-managed instance; GitLab documents a step-by-step fully offline install | Git | Merge requests bring code changes, inline review, discussion and pipeline results into one page | The review lives inside the project; ask how you will export and freeze it as a record |
| Gitea / Forgejo pull requests | Self-hosted, light to run; Forgejo is Free Software, Gitea also sells a self-hosted Enterprise edition with audit logs | Git | Reviewers comment, approve or request changes on the pull request | Review is tied to the merge; check whether its review states cover your checklist and sign-off needs |
| Gerrit | Self-hosted, open source | Git | Patch-set review, votes on review labels, fine-grained permissions, an explicit submit step | Git only; you design the labels and rules to match your procedure |
| Phabricator / Phorge | Self-hosted | Git, Mercurial and SVN (Phabricator's list) | Differential for pre-commit review, Audit for post-commit review | Phacility states Phabricator is no longer actively maintained as of June 1, 2021. Phorge is a community-maintained fork. Decide that risk with your ISSO |
| Review Board | Self-hosted, including air-gapped, per the vendor; also offered hosted | Subversion, Git, Perforce, ClearCase and others | Pre- and post-commit review, published reviews cannot be edited, approvals are recorded; document review is in the paid plans | It does not host code; check that its approval model can express your procedure's roles |
| SmartBear Collaborator | Server product you install; editions differ by license | Git, Subversion and others | Code and document review, saved reviews for audits, checklists and workflow from the Team edition | Word and PDF review, electronic signatures and groups are Enterprise-only; ask about offline licensing |
| Lucent | Self-hosted, no outbound connections | Git and SVN | Reviews documents and code in one tool, with workflow, checklists, signed-off findings and a hash-chained audit log | Reviews committed revisions only; it is not a git host and does not merge |
Two of those deserve a plain word. Review Board is a serious option: its FAQ describes air-gapped use, an audit history of approvals and document review. If your whole team is happy with merge requests and only reviews source, a forge you already run may be enough.
What does a certification program need beyond a pull request?
A pull request answers "may this change merge?" A certification review answers "can you show, two years from now, who reviewed which version against which criteria, what they found and what happened to each finding?" For DO-178C, source code review is a set of objectives in Table A-5: the code implements the low-level requirements, conforms to the coding standard, and is traced to the low-level requirements (the trace objective is described in section 6.3.4). My earlier post on DO-178C software review requirements covers the document side.
In my experience, an auditor reading your verification evidence wants to see the following. At a DO-178C Stage of Involvement 3 review the verification procedures and their results are what gets examined.
- A fixed baseline. The review names the exact commit or revision, not "head of main". Later commits do not change what was reviewed.
- A checklist. The questions your procedure requires, answered by a named person, per review.
- Findings with a disposition. Each finding has a type and severity, a location, an owner, and a recorded outcome: fixed in a named revision, rejected with a reason, or accepted.
- Independent verification of the fix. Someone other than the author confirms it.
- Sign-off by the required roles. Quality, safety or the DER signs, not "someone clicked approve".
- A record that survives the repository. The review must still read correctly after a branch is deleted, history is rewritten or the repository is migrated.
A forge gives you the first item only loosely and the others through conventions: labels, templates, comment threads. Conventions are hard to audit. If the review record is a page in a repository that is later archived or restructured, you have lost the record with it. Export is the control that matters.
What about SVN-based programs?
Plenty of long-lived programs still keep their source in Subversion. GitLab, Gitea, Forgejo and Gerrit are Git platforms, so an SVN shop would have to migrate or mirror first. Phabricator hosts Git, Mercurial and SVN (Phorge is its fork), Review Board lists Subversion among its supported systems, and Collaborator's Subversion integration supports both pre- and post-commit reviews. Lucent takes Git or SVN repositories and records the SVN revision number the same way it records a Git commit.
How does Lucent do code review alongside documents?
Lucent reviews documents and source in the same review, under one workflow, so a code review can sit next to the requirement it implements. This is how it works, from the product documentation.
Review of a named version. Lucent does not accept uploads. A file must first be committed to a configured Git or SVN repository. You add it to a review with an Initial Version (the baseline before changes) and a Reviewed Version, and the review lists each file once. Lucent records the commit or revision, the date, the commit message and a SHA-256 content hash of the version. A commit that was never pushed does not exist for Lucent.
Findings tied to lines. Source renders in the browser with syntax highlighting and line numbers. Findings anchor to a specific line, and administrators define the finding types and severities. A side-by-side view compares the current file with an earlier revision.
Workflow that blocks. You draw the states and transitions your procedure defines. Each transition can require roles and preconditions: required checklists complete, no open findings of a chosen severity, sign-offs present. A transition whose rules are not met stays disabled and says what is missing. Transitions are signed.
Fix, then verify. An implemented finding names the commit or revision that fixes it. With independent verification on, which is the default, a person other than the implementer must verify it or reject it with a reason. When a finding is verified, the review's reviewed version moves to the revision that holds the fix, and earlier sign-offs carry over to it.
A record you can export. Every review action is written to an audit log in which each entry is chained to the hash of the one before. Verify Integrity recomputes the chain. The log exports to CSV or PDF with a title block that states the integrity-check result, and each review has a printable report with its files, reviewers, sign-offs, findings, checklists and workflow history. Gap analysis shows which revisions have been reviewed and which have not.
On your network. Lucent runs with no outbound connections, uses LDAP or Active Directory for sign-in, and can open reviews automatically when new commits or revisions land in a watched repository. Its REST API covers reviews, findings, checklists, sign-offs and audit logs.
Limits, so you plan around them. Lucent reviews what is committed. It is not a code host, it never writes to your repositories, and it is not a merge gate. Keep your forge or SVN server for source and use Lucent for the review record. See the Lucent page and its workflow, checklist, native viewer and compliance feature pages. When you review requirements as well as code, NexusRM pairs with it: reviews register back and requirements in scope get a Reviewed Status.
Frequently asked questions
Can I use GitHub Enterprise Server on an air-gapped network?
GitHub documents that Enterprise Server runs on your own infrastructure under your firewalls and network policies. Whether that covers a fully isolated network, including how updates reach it, is for GitHub to confirm for your case. Review Board also lists GitHub Enterprise among the hosting services it connects to.
Is Phabricator still maintained?
Phacility's own page says that, effective June 1, 2021, Phabricator is no longer actively maintained. Phorge is a community-maintained fork under the Apache 2.0 license. For a network where you must patch what you run, treat either as a risk decision and check how recently the project has shipped fixes.
Does an approved merge request count as a DO-178C code review record?
It can be part of the evidence. DO-178C defines code review as objectives to be met, and your Software Verification Plan states what record you will produce. Agree with your DER that a merge request approval, with its checklist and finding disposition, satisfies that plan, or add what is missing.
Which of these tools support Subversion?
Phabricator, Review Board, SmartBear Collaborator and Lucent all list Subversion support. GitLab, Gitea, Forgejo and Gerrit are Git platforms.
Can Lucent replace GitLab or Gitea?
No. Lucent does not host source or merge changes. It reviews committed revisions from your Git or SVN server and keeps the record of that review.
Does Lucent need an internet connection?
No. It is deployed on your own servers and runs on air-gapped networks with no outbound connections.
Sources
- GitLab: Offline GitLab
- GitLab: Install an offline GitLab Self-Managed instance
- GitLab: Merge requests
- Gitea: Pull Request
- Gitea products
- Forgejo
- Forgejo: Pull requests and Git flow
- Gerrit Code Review
- Gerrit: user introduction
- Phacility: Phabricator
- Phorge repository mirror
- Review Board: FAQ
- Review Board: integrations
- SmartBear Collaborator
- Collaborator editions
- GitHub Docs: About GitHub Enterprise Server
- RTCA DO-178C, Software Considerations in Airborne Systems and Equipment Certification, section 6.3.4 and Annex A, Table A-5 (not freely available; paraphrased here)
- LDRA: Verification of airborne software in compliance with DO-178C