Repository navigation
Git Rev 0.1.20 (experimental)
Pre-releaseGit Rev 0.1.20 — experimental native KLayout plugin
Git Rev compares and reviews GDSII / OASIS revisions using KLayout's existing
views, Cells, Layers, Select, Ruler, pan / zoom and snapping. No separate editor,
browser, server or runtime pip dependency is needed.
Install
Requires KLayout 0.30.10+ with embedded Python 3.10+. Repository operations also
require Git on PATH.
Download git-rev-klayout-0.1.20.zip, not GitHub's source archive. Extract it
and, on Windows, run scripts/install-plugin.ps1 from the extracted
gds-git-review directory. For manual installation on other platforms, copy the
package into your KLayout configuration home's salt/gds-git-review/.
The installer refuses to overwrite an existing package; back up that one
package before upgrading. Restart KLayout normally, then use
Tools → Git Rev → Open Panel or the native Git Rev toolbar button.
The release asset is the previously built and natively verified 0.1.20 package.
Repository-only documentation and standalone build/test path adjustments do
not change its runtime Python modules or macro.
SHA256 of the installable ZIP:
214ed692a04d628eb0fdc8b668d01ac0957e2f65382ef87d4f69ff267126034f
Features
- Two files, Git revisions / branches / index / saved working-tree layouts.
- Clone, system Git authentication testing, fetch, confirmed push and commit.
- Gitea / GitHub PR number or URL; automatic tracking-only fetch and
common-ancestor-to-PR-head comparison without modifying local design files. - Native Base / Target / Diff tabs with linked physical pan / zoom.
- Layer colors with red / green outlines and translucent interiors, or classic
gray / red / green overlay; adjustable widths and transparency. - Local Accept / Reject / Pending review, multi-selection, native box selection,
Pending only navigation and JSON export. - Reviewed-mask GDS / OASIS export on original layer / datatype numbers, with
explicit pending-change and label-source policies. - Separate Semantic and Geometry Diff. Conservative object correspondence
recognizes translation-equivalent moves and unique anchored / centered
rectangle resizing. A simple rectangle move is one semantic item rather than
two XOR regions. Demo has four Geometry regions and three Semantic operations. - Safe semantic operations apply all linked geometric decisions atomically.
Ambiguous / interacting operations remain Inspect only; Geometry review
remains available. Existing review identity and decisions remain compatible.
Verification and boundaries
Before publication, the installed package and extracted ZIP were verified on
Windows KLayout 0.30.10 with embedded Python 3.11. Database tests used Python
3.13.11 with klayout.db 0.30.5: 191 tests, zero failures, errors or skips,
including compatibility with an older local package. A clean source checkout
without that optional older package skips one compatibility test.
Isolated native tests covered semantic selection and atomic review, compact
dock layout, linked cameras, batch/native box selection, actual GDS / OASIS
export, automatic PR fetch with dirty local state preservation, English UI,
pending filtering, RGBA rendering, layer appearance and real Salt autoload.
The tests used disposable layouts, Git repositories, local servers and dummy
credentials, not a real private server or an engineering-scale design.
This is an experimental prototype, not a production merger or DRC / LVS
certification. Semantic matching infers correspondence, not editing history;
ambiguity is deliberately not guessed. Export flattens one selected cell and
does not preserve full hierarchy, PCells, properties or object identity.
Individual TEXT review, PR comment synchronization and hierarchy-preserving
object merge are not implemented. Untrusted-file process sandboxing, other
platforms and real design-scale workflows need further validation.
Licensing
Plugin code: GPL-3.0-only. The Git icon is by Jason Long under CC-BY-3.0;
see python/klayout_gds_git/assets/NOTICE.md. This is an independent plugin,
not an official Git or KLayout product.