Skip to content

Propagate upstream PHP dependency NOTICE to EDOT NOTICE (#375)#376

Merged
intuibase merged 1 commit into
elastic:mainfrom
intuibase:notice_fix
Apr 30, 2026
Merged

Propagate upstream PHP dependency NOTICE to EDOT NOTICE (#375)#376
intuibase merged 1 commit into
elastic:mainfrom
intuibase:notice_fix

Conversation

@intuibase

Copy link
Copy Markdown
Contributor

No description provided.

@intuibase
intuibase requested a review from SergeyKleyman April 29, 2026 12:27
@intuibase intuibase self-assigned this Apr 29, 2026
@intuibase intuibase linked an issue Apr 29, 2026 that may be closed by this pull request
@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The NOTICE file is updated to remove third-party package entries and their embedded license text blocks for seven dependencies, leaving only the Apache 2.0 project license header. In parallel, the build script tools/build/build_php_deps.sh gains a --skip_notice command-line flag with a new argument parser function that conditionally controls whether upstream NOTICE content is appended to the project-level NOTICE file.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@tools/build/build_php_deps.sh`:
- Around line 18-31: The wrapper currently consumes --skip_notice in parse_args
(setting SKIP_NOTICE) but still forwards the original "$@" to the upstream
script, leaking the wrapper-only flag; update parse_args to build a filtered
argument list (e.g., an array like FILTERED_ARGS) by pushing only non-wrapper
flags into it, keep SKIP_NOTICE as-is, and change the downstream invocation to
use the filtered arguments (use FILTERED_ARGS instead of "$@") so parse_args,
SKIP_NOTICE and the upstream call no longer forward --skip_notice.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 361338c9-e053-494b-a0a6-c1e3b48ec8f9

📥 Commits

Reviewing files that changed from the base of the PR and between 56da105 and 69e8d1e.

📒 Files selected for processing (2)
  • NOTICE
  • tools/build/build_php_deps.sh
💤 Files with no reviewable changes (1)
  • NOTICE

Comment thread tools/build/build_php_deps.sh
@intuibase
intuibase merged commit be2f22b into elastic:main Apr 30, 2026
59 of 63 checks passed
@intuibase
intuibase deleted the notice_fix branch April 30, 2026 09:02
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.

Append upstream PHP dependency notices to EDOT NOTICE during build

2 participants