Skip to content

Update internal-variable references for pgxntool's _PGXNTOOL_ rename - #72

Merged
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:issue-87-internal-var-naming
Sep 8, 2026
Merged

Update internal-variable references for pgxntool's _PGXNTOOL_ rename#72
jnasbyupgrade merged 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:issue-87-internal-var-naming

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Summary

  • Paired test/doc updates for Rename internal-only variables to the _PGXNTOOL_ shape pgxntool#93 (renaming 5 internal-only Make variables to the _PGXNTOOL_ shape, fixing pgxntool#87).
  • Updated the only test-suite references to these variables by name: test/standard/make-test.bats (3 sites stubbing _CHECK_STALE_EXPECTED_SCRIPT), test/sequential/04-pgtle.bats (make print-PGXNTOOL_CONTROL_FILES).
  • Updated test/lib/helpers.bash and CLAUDE.md prose documenting the naming convention itself.

Test plan

  • Full suite passes (248/248, 0 skips, 0 failures)

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: ffd76030-a24d-40cb-a407-76321a970d2f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jnasbyupgrade
jnasbyupgrade marked this pull request as ready for review September 8, 2026 20:32
jnasbyupgrade added a commit to Postgres-Extensions/pgxntool that referenced this pull request Sep 8, 2026
- Renamed 5 pure-internal-plumbing Make variables from a bare
`PGXNTOOL_` prefix (which reads like a supported override point) to
`_PGXNTOOL_...`: `PGXNTOOL_BASE_MK_INCLUDED`, `PGXNTOOL_CONTROL_FILES`,
`PGXNTOOL_EXTENSIONS`, `PGXNTOOL_INSTALL_SCHEDULE`, and
`_CHECK_STALE_EXPECTED_SCRIPT` (renamed too, for `_PGXNTOOL_`
consistency).
- `PGXNTOOL_DIR` deliberately left as-is: present since Release 0.1
(2016), referenced across `base.mk` plus 4 shell scripts — highest-risk
name in the framework to touch, out of scope here.
- HISTORY.asc updated (new STABLE section, `Issues fixed in this
release: #87`).

Fixes #87.

Paired with Postgres-Extensions/pgxntool-test#72 for the corresponding
test/doc updates.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Add tests/updates for pgxntool commit e807c46 (renamed 5 internal-only
Make variables to the `_PGXNTOOL_` shape):
- `PGXNTOOL_BASE_MK_INCLUDED`, `PGXNTOOL_CONTROL_FILES`,
  `PGXNTOOL_EXTENSIONS`, `PGXNTOOL_INSTALL_SCHEDULE` -> `_PGXNTOOL_*`
- `_CHECK_STALE_EXPECTED_SCRIPT` -> `_PGXNTOOL_CHECK_STALE_EXPECTED_SCRIPT`

Updated the only test-suite references to these variables by name:
- `test/standard/make-test.bats`: 3 sites passing
  `_CHECK_STALE_EXPECTED_SCRIPT` on the `make` command line to stub the
  script
- `test/sequential/04-pgtle.bats`: `make print-PGXNTOOL_CONTROL_FILES`
  debug check
- `test/lib/helpers.bash` and `CLAUDE.md`: updated comments/prose
  documenting the naming convention itself, including calling out
  `PGXNTOOL_DIR` as the deliberate, age-based exception left unrenamed

Co-Authored-By: Claude <noreply@anthropic.com>
@jnasbyupgrade
jnasbyupgrade force-pushed the issue-87-internal-var-naming branch from 396050a to 06cca98 Compare September 8, 2026 21:00
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@jnasbyupgrade
jnasbyupgrade merged commit c20effa into Postgres-Extensions:master Sep 8, 2026
10 checks passed
@jnasbyupgrade
jnasbyupgrade deleted the issue-87-internal-var-naming branch September 8, 2026 22:43
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.

1 participant