Add upgrade automation script and tooling

- upgrade.sh: automates backporting upstream Go net package changes
  - Downloads Go source tarballs for CUR and UPSTREAM versions
  - Copies unmodified files directly from upstream
  - Performs 3-way merge (diff3) for TinyGo-modified files
  - Detects per-file CUR version from TINYGO headers
  - Generates detailed diff reports in .upgrade-report/
  - Supports --dry-run mode for previewing changes
- .gitignore: add .upgrade-work/ and .upgrade-report/ directories
This commit is contained in:
deadprogram
2026-04-13 17:36:12 +02:00
committed by Ron Evans
parent fbef30f4ed
commit a3417d034f
2 changed files with 519 additions and 0 deletions
+4
View File
@@ -19,3 +19,7 @@
# Go workspace file
go.work
# Upgrade script work/report directories
.upgrade-work/
.upgrade-report/