Repository navigation
Conversation
Add standard PostgreSQL-style .gitignore files to the IvorySQL-specific contrib modules so that "make oracle-check" generated directories (log/, results/, tmp_check/) are no longer reported as untracked by git. Affected modules: - contrib/ivorysql_ora (reported in IvorySQL#1400; only had /ivorysql_ora--1.0.sql) - contrib/gb18030_2022 (no .gitignore at all) - contrib/ora_btree_gin (no .gitignore at all) - contrib/pg_get_functiondef (no .gitignore at all) The new entries mirror contrib/bloom/.gitignore from upstream PostgreSQL. As in upstream, regression.diffs and regression.out are intentionally NOT ignored because they are only left behind on a test failure. Fixes IvorySQL#1400 Signed-off-by: Yue Wang <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughFour contrib extension ChangesGenerated output ignores
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Nice work. Merging shortly. |
|
Hi @hanjianqiao, gentle ping — CI is still green on this end. Whenever you have a moment to merge, much appreciated. Thanks! |
|
Problem
Running
make oracle-checkin IvorySQL-specific contrib modules leaves generated directories (log/,results/,tmp_check/) reported as untracked bygit status. Reported in #1400 forcontrib/ivorysql_ora, but the same gap affects the other IvorySQL-specific contribs that were added without a.gitignore.The root cause:
src/Makefile.global.indefinesso
oracle-check/oracle-installcheckproducelog/,results/,tmp_check/(plusregression.diffs/regression.outonly on failure). Upstream PostgreSQL contribs ignore these via a per-module.gitignore(seecontrib/bloom/.gitignore), but the IvorySQL-specific contribs never picked up that template.Fix
Add the standard upstream PostgreSQL
.gitignoretemplate (/log/,/results/,/tmp_check/) to the four IvorySQL-specific contrib modules that were missing it:contrib/ivorysql_ora(#1400)/ivorysql_ora--1.0.sql/log/ /results/ /tmp_check/contrib/gb18030_2022contrib/ora_btree_gincontrib/pg_get_functiondefAs in upstream PostgreSQL (
src/test/regress/.gitignorecomment: "regression. are only left behind on a failure; that's why they're not ignored"*),regression.diffsandregression.outare intentionally not ignored — they only appear on test failure and serve as a reminder.Verified locally: after
touch log/x results/y tmp_check/zincontrib/ivorysql_ora,git statusno longer reports those paths;ivorysql_ora--1.0.sql(the pre-existing ignore) remains ignored as well.Fixes #1400
Summary by CodeRabbit