Skip to content

Releases: chenpingan-dev/patch-orbit

Patch Orbit v0.1.2 — Compare import sources

Choose a tag to compare

@chenpingan-dev chenpingan-dev released this 15 Oct 07:22

A Go package with changed source now exposes its own imports, so a review can explain which sources appear only before or after the change.

  • Compare base-only, head-only and shared file sources, with both snapshot line numbers
  • Moving an import within the same file keeps one paired source; renamed files remain separate
  • Filter evidence without changing the union graph, review counts or test targets
  • Open the complete impact path separately, with all import locations accessible
  • Fix source positions affected by Go //line directives: locations point to the physical repository file
  • Keep v1 JSON compatibility, Chinese/English controls, Microsoft YaHei and readable phone layouts

中文:新增改动前后导入来源对照,改动包也能直接查看自己的依赖;修复 //line 指令导致源码行号指错的问题。筛选来源不会缩小地图的复查范围,状态只说明在哪个快照解析到来源,不保证运行时安全。

Install with Go 1.23+:

go install github.com/chenpingan-dev/patch-orbit/cmd/orbit@v0.1.2
orbit -repo YOUR_GO_REPO -base HEAD~1 -head HEAD -html impact.html

Or unzip a platform binary. Git is required. Packages include the bilingual guide, source-comparison screenshots and analysis boundaries. The standalone HTML workspace contains a labeled synthetic notebook repository; it executes no project code or tests.

Verified: 10 Go tests; Go 1.23/1.27 on Windows/Linux with vet, build and Linux race checks; 51 browser scenarios covering sources, imports/exports, keyboard, languages and phone layouts; Windows executable against isolated committed fixtures with untouched worktree data. Linux amd64 and macOS arm64 binaries are cross-compiled, not executed on those operating systems locally. SHA256SUMS covers the four payload files.

patch-orbit v0.1.1

Choose a tag to compare

@chenpingan-dev chenpingan-dev released this 13 Oct 03:44

A map-first workspace for Go change review

  • A light dependency canvas with readable package cards and fine import arrows
  • Select a package to open source evidence; close the inspector with Escape
  • Dedicated map, changed-file and verification views
  • Refined Microsoft YaHei typography, Chinese/English UI and small-screen layout
  • Updated product documentation and screenshots

Download and unzip a binary, then run orbit -repo YOUR_GO_REPO -base HEAD~1 -head HEAD -html impact.html. Requires Git. You can also install with go install github.com/chenpingan-dev/patch-orbit/cmd/orbit@v0.1.1. The included HTML workspace uses a synthetic Git fixture.

Verified: Go 1.23/1.27 CI on Windows/Linux, vet and Linux race checks; Windows binary report generation; browser selection, keyboard inspector controls, search, imports, exports, empty reports and the 80-node map cap. Linux amd64 and macOS arm64 binaries are cross-compiled. The review scope remains a conservative package-import analysis; no tests are executed by report generation.

patch-orbit v0.1.0

Choose a tag to compare

@chenpingan-dev chenpingan-dev released this 13 Oct 02:34

Initial release: map two committed Go snapshots to a conservative package review scope, with shortest import chains and source evidence.

Unzip a binary, then run orbit -repo YOUR_GO_REPO -base HEAD~1 -head HEAD -html impact.html. Requires Git; no model API key. The report does not execute tests. Demo HTML is generated from synthetic fixture commits.

Validated: Go 1.23/1.27 on Windows and Linux; unit/Git integration tests and vet; Linux race detection; Windows executable smoke test. Linux amd64 and macOS arm64 binaries are cross-compiled. Package imports only, including tests and all build-tag variants; no runtime safety guarantee.