Skip to content

fix: Oracle review — portable Makefile, lint edge cases - #259

Merged
yeongseon merged 1 commit into
mainfrom
fix/oracle-review
Aug 6, 2026
Merged

fix: Oracle review — portable Makefile, lint edge cases#259
yeongseon merged 1 commit into
mainfrom
fix/oracle-review

Conversation

@yeongseon

Copy link
Copy Markdown
Contributor

Summary

Fixes 10 issues found in Oracle code review of the merged version-management changes.

Makefile release target

  • sed -iperl -pi -e (portable across GNU/Linux and macOS/BSD)
  • sed n in replacement → perl n (macOS was corrupting CHANGELOG)
  • Added dirty working tree guard
  • Added main branch guard
  • Added pip install -e . prerequisite check
  • Fixed $$CURRENT variable scope (was lost between shell lines)

lint_changelog.py

  • Detect duplicate [Unreleased] sections (was silently passing)
  • Per-version InvalidVersion handling (one bad version no longer disables all ordering checks)

Other

  • check_public_api.py: removed stale reference to deleted scripts/check_version.py

Closes #241

- Makefile release target: sed → perl -pi -e (portable GNU/BSD)
- Makefile: add dirty-tree guard, branch guard, install check
- Makefile: fix $$CURRENT variable scope (single shell block)
- lint_changelog.py: detect duplicate [Unreleased] sections
- lint_changelog.py: per-version InvalidVersion handling (not all-or-nothing)

Closes #258
@yeongseon
yeongseon merged commit 2f225de into main Aug 6, 2026
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants