Review: php-opentelemetry 1.5.0-3
Package Information
| Description | OpenTelemetry auto-instrumentation support extension for PHP This is a PHP extension for OpenTelemetry, to enable auto-instrumentation. The extension allows: - creating pre and post hook functions to arbitrary PHP functions and methods, which allows those methods to be wrapped with telemetry - adding attributes to functions and methods to enable observers at runtime This is empty package that depends on default PHP version. |
|---|---|
| Maintainer | Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/php-team/pecl/php-opentelemetry.git (browse) |
| Tracker | https://tracker.debian.org/pkg/php-opentelemetry |
| Uploaded | 7 days ago |
| Supersedes | 1.5.0-2, 1.5.0-1 |
New Package Report
.changes
| Date | Fri, 27 Nov 2026 15:58:11 +0100 |
|---|---|
| Source | php-opentelemetry |
| Version | 1.5.0-3 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
| Distribution | experimental |
Changelog
php-opentelemetry (1.5.0-3) experimental; urgency=medium . * Depend on php-all-dev from experimental
.dsc
| Component | main |
|---|---|
| Package-List | php-opentelemetry deb php optional arch=all php-opentelemetry-all-dev deb php optional arch=all php8.6-opentelemetry deb php optional arch=any |
| Section | php |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: opentelemetry
Upstream-Contact: https://github.com/open-telemetry/opentelemetry-php-instrumentation
Source: https://pecl.php.net/package/opentelemetry
Files: *
Copyright: Brett McBride
Przemek Delewski
License: Apache-2.0
Comment: The sources carry no copyright notice, and the appendix of the
LICENSE file is not filled in. The two people named are the leads that
package.xml lists.
Files: debian/*
Copyright: 2016-2026 Ondřej Surý <ondrej@debian.org>
License: Expat
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 7 days ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for php-opentelemetry version 1.5.0-3
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 3 minor
- debian/watch: old format (version 3)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5, matches the tree, and the licence is Apache-2.0 throughout: the only licence text in the sources is opentelemetry-1.5.0/LICENSE (the complete Apache License 2.0), and package.xml declares Apache 2.0. Grepping every upstream and debian file for copyright/licence wording found no per-file notices at all, so the copyright file's choice of the two package.xml leads as holders, with a Comment saying so, is the only evidence there is; the prescan's author check likewise found no holder missing. The Apache-2.0 text is correctly referenced from /usr/share/common-licenses/Apache-2.0 (Policy 12.5) and the permissive licence for debian/* is given in full. No non-free terms, no unlicensed files, no built files without their sources.
Packaging
The packaging follows the Debian PHP team's PECL pattern: debian/rules only includes dh-php's pkg-pecl.mk, the control file declares the metapackages plus the per-PHP-version arch:any package, the ini is declared through debian/php-opentelemetry.php and debian/opentelemetry.ini, and the build-dependencies exist (dh-php 5.25 in unstable, php-all-dev 2:108~exp2 in experimental, matching the experimental changelog). Changelog, source format 3.0 (quilt), gbp.conf and Vcs-* are sane. Only two minor items: an outdated Standards-Version and a leftover blanket lintian override for a licence this package does not use.
Issues
minor packaging 1. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
- Files:
debian/control:9,debian/control.in:9 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1; the policy tool reportsDebian Policy version 4.7.4.1, released on 2026-03-31 - Problem: The declared Policy version is two minor series (4.5, 4.6) behind the current one, so the package claims conformance to a Policy that no longer applies. Nothing in the package needs 4.5.1; the field is simply stale.
- Fix: Bump Standards-Version to 4.7.4.1 in both debian/control and debian/control.in after checking Policy appendix A10 for the changes since 4.5.1.
minor packaging 2. Leftover blanket lintian override for the PHP licence, which this source does not contain ◂
-
Files:
debian/source.lintian-overrides:1-2 -
Basis: checked, in the package or with a reference tool
-
Evidence:
# Override invalid PHP license problem for PHP extensions coming from PECL.PHP.NET php-opentelemetry source: license-problem-php-license * -
Problem: The package is Apache-2.0 throughout (opentelemetry-1.5.0/LICENSE, package.xml, debian/copyright) and no file in the tree contains PHP-3.01 or Zend licence text, so the comment misdescribes the package. The
*pattern blanket-suppresses the tag for every file of the source package, so a genuinelicense-problem-php-licensefinding would never be shown. This is a leftover from before the copyright file was rewritten (changelog 1.5.0-2), not a policy violation. -
Fix: Delete debian/source.lintian-overrides.
minor packaging 3. debian/watch is in the old version 3 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=3 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Read all of debian/ (control, control.in, rules, changelog, copyright, gbp.conf, compat, source/format, source.lintian-overrides, opentelemetry.ini, php-opentelemetry.php); debian/watch was left to the separate check.
- Inventoried the whole upstream tree: package.xml at the top, and under opentelemetry-1.5.0/ the ten root files (.clang-format, LICENSE, config.m4, config.w32, opentelemetry.c, opentelemetry.stub.php, opentelemetry_arginfo.h, otel_observer.c, otel_observer.h, php_opentelemetry.h) plus 108 .phpt/PHP test and mock files; no binary artefacts, no vendored third-party trees, no .github/ or docs/ directory.
- Grepped the entire tree (gitignore false) for Copyright/(C)/©/SPDX/Licensed under/GNU/Apache/Mozilla/public domain/All rights reserved: the only hits outside debian/ are inside opentelemetry-1.5.0/LICENSE, so the sources carry no per-file copyright notices, as the Comment in debian/copyright states. The prescan listed no file and no missing holder.
- opentelemetry-1.5.0/LICENSE is the complete Apache License 2.0; package.xml declares
Apache 2.0with the opensource.org URI; debian/copyright's Apache-2.0 stanza refers to /usr/share/common-licenses/Apache-2.0 as Policy 12.5 asks, and its Expat stanza reproduces the full MIT permission notice. - opentelemetry-1.5.0/opentelemetry_arginfo.h is generated code (
This is a generated file, edit the .stub.php file instead, stub hash recorded) and its generator input opentelemetry.stub.php is shipped beside it, so the preferred form for modification is present. - opentelemetry-1.5.0/.clang-format is an LLVM-derived clang-format configuration customised with ZEND_* macro settings; it is configuration with no copyrightable content and is covered by the Apache-2.0
Files: *stanza. - Build-dependencies resolvable: dh-php 5.25 and php-common 2:107/2:108 in unstable; php-all-dev 2:108~exp2 in experimental (accepted, also in NEW), which is consistent with the
2:108~build-dependency and the experimental changelog. - debhelper 14.5 still supports compat level 10 (the debhelper tool lists v10 without a deprecated/discouraged marker), and at compat 10 the explicit ${misc:Depends}/${php:Depends}/${pecl:Depends} substvars in debian/control are required rather than supplied by dh_gencontrol.
- debian/source/format is
3.0 (quilt)and no debian/patches is present; nothing in the tree is modified from upstream, so no patch is needed. - debian/copyright is in DEP-5; Upstream-Contact as a URI and the Source field are both allowed by copyright-format 1.0 sections 6.3 and 6.4.
- uscan found the packaged version as the newest upstream release (upstream
1.5.0, packaged1.5.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- dh-php is not installed on the review system, so /usr/share/dh-php/pkg-pecl.mk could not be read: what it does with debian/control.in, how it installs debian/opentelemetry.ini and whether it runs the phpt suite are unverified.
- debian/control.in declares a single
Architecture: anyphp-opentelemetry while debian/control declares the arch:all metapackage plus php8.6-opentelemetry; whether that divergence matters depends on whether dh-php regenerates control from control.in during the build, which a build would show. Not reported. - The gbp.conf branch
debian/maincould not be checked against the repository at salsa.debian.org (no network access).
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Source: https://pecl.php.net/package/opentelemetry
Matching-Pattern: .*/opentelemetry-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
The review is correct including the classification that does not prevent acceptance.
— Ondrej Sury (ondrej), 7 days ago
Review Information
rejected — allocated to dfsg-uploader 7 days ago, started 7 days ago, completed 7 days ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.