Skip to content

Append upstream PHP dependency notices to EDOT NOTICE during build #375

Description

@intuibase

Summary

After rebasing EDOT PHP on the upstream opentelemetry-php-distro submodule, the build_php_deps.sh wrapper needs to propagate upstream-generated NOTICE content (PHP dependency licenses) into the EDOT NOTICE file.

Changes

Update tools/build/build_php_deps.sh to:

  • Parse --skip_notice flag (matching upstream's interface) while passing all arguments through to upstream unchanged
  • After upstream build completes, append the upstream NOTICE file content to the EDOT root NOTICE
  • Skip NOTICE propagation when --skip_notice is passed

The upstream build_php_deps.sh generates PHP dependency license information (via notice_generator.php running in Docker) and appends it to upstream/NOTICE. The EDOT wrapper captures this and appends it to the top-level NOTICE file, which has the Elastic copyright header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions