Review: php-opentelemetry 1.5.0-2
New Package Report
.changes
| Changed-By | Ondřej Surý <ondrej@debian.org> |
|---|---|
| Architecture | source all amd64 |
| Distribution | experimental |
| Date | Fri, 27 Nov 2026 14:24:47 +0100 |
| Source | php-opentelemetry |
| Version | 1.5.0-2 |
Changelog
php-opentelemetry (1.5.0-2) experimental; urgency=medium . * Rewrite d/copyright for the Apache-2.0 licensed opentelemetry
.dsc
| Package-List | php-opentelemetry deb php optional arch=all php-opentelemetry-all-dev deb php optional arch=all php8.4-opentelemetry deb php optional arch=any |
|---|---|
| Section | php |
| Priority | optional |
| Component | main |
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, 2 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 8 days ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for php-opentelemetry version 1.5.0-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: old format (version 3)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The tree is exactly the PECL 1.5.0 release: 10 source/doc files plus package.xml under opentelemetry-1.5.0/, and the test suite. All of it is Apache-2.0 (stock LICENSE, appendix unfilled; package.xml says 'Apache 2.0'), with no third-party code, no NOTICE file and no copyright notices anywhere in the sources, so debian/copyright's Files: * stanza with the two package.xml leads and the explaining Comment: is as good as the evidence allows, and Policy 2.3's footnote [5] does not require more for Apache-2.0. debian/* is Expat with its full text inline; the Apache-2.0 stanza points to /usr/share/common-licenses/Apache-2.0. Nothing non-free, nothing unlicensed, no generated file whose preferred form is missing.
Packaging
The packaging is the standard php-team PECL shape and is in good order: 3.0 (quilt), correct per-version binary split, all Build-Depends present in the archive, dependency substvars named, sane changelog/Vcs fields, no patches to review. The only fault found is the stale Standards-Version: 4.5.1 against Policy 4.7.4.1, which is minor; debhelper compat 10 is old but works and debhelper does not mark it deprecated.
Issues
minor packaging 1. Standards-Version 4.5.1 is well behind 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 - Problem: The declared conformance is three Policy releases old (the
policytool reports 4.7.4.1; Policy 4.1 says an old value is not itself a bug, but current practice is to keep it up to date). Nothing in the package violates 4.6.0-4.7.4 (checked A10.2/A10.6-A10.9), so this is only staleness. - Fix: Bump
Standards-Versionto 4.7.4 (in bothdebian/controland thedebian/control.intemplate) after confirming the package still conforms.
minor packaging 2. 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 13 files under
debian/in full: changelog, compat, control, control.in, copyright, gbp.conf, opentelemetry.ini, php-opentelemetry.php, rules, source/format, source.lintian-overrides, watch (not reviewed). - Full file inventory of the 120-file tree: upstream is
package.xmlplusopentelemetry-1.5.0/(10 source/doc files, 95.phpt/mock PHP test files); the only other content isdebian/. No binary, PDF or minified files anywhere; the prescan listed no built files to account for. - The orig tarball's top-level listing is
opentelemetry-1.5.0/+package.xml, i.e. the tree is the PECL tarball as downloaded, not a repack; noFiles-Excludedand nodebian/patchesexist. package.xmllists every upstream file with an md5sum and declares<license filesource="LICENSE" uri=".../apache-2-0/">Apache 2.0</license>; its<contents>agrees with the tree (.clang-formatandopentelemetry_arginfo.hare upstreamrole="src"files).opentelemetry-1.5.0/LICENSEis the unmodified stock Apache-2.0 text (md53b83ef96387f14655fc854ddc3c6bd57, the canonical Apache-2.0 LICENSE; appendix left asCopyright [yyyy] [name of copyright owner]), matching theComment:indebian/copyright.- Grepped the whole tree for
Copyright,(C),©,SPDX-License-Identifier,Licensed under,Permission is hereby granted,GNU,Apache License,Mozilla Public,public domain,All rights reserved,PHP License: no notice or other licence text exists in any file except LICENSE and package.xml; the C sources, stub, arginfo, config.m4/.w32, tests and mocks carry none. This matches the prescan's author check ('every holder found is named'). debian/copyrightis DEP-5 with the correctFormat:URL;Files: *= Apache-2.0 with the licence stanza pointing at/usr/share/common-licenses/Apache-2.0,Files: debian/*= Expat with the full MIT text inline; both short names match the actual licences, and Apache-2.0 and Expat are compatible in the one binary.- Policy 2.3 and its footnote [5] (read with
policy) state Apache-2.0 does not require copying all copyright notices into the copyright file, and no file in the tree carries a notice in the first place, so naming the twopackage.xmlleads forFiles: *is adequate. opentelemetry_arginfo.his generated code, as its own header says ('This is a generated file, edit the .stub.php file instead', with a stub hash); its generator inputopentelemetry.stub.phpis shipped, and the generator is PHP's owngen_stub.php, not package source. Not a missing-preferred-form problem..clang-format(216 lines) is a plain clang-format configuration with no copyright or licence notice, listed bypackage.xmlas upstream source; nothing in it is third-party code.- No third-party or vendored code, and no
NOTICEfile, exists in the tree:otel_observer.c/.h,opentelemetry.c/.h,opentelemetry.stub.phpand the test mocks are upstream's own OpenTelemetry code with no borrowed headers. debian/source.lintian-overrides'license-problem-php-license *override matches nothing: no file carries PHP-licence text (grep found the phrase only in the override itself), so the copied PECL boilerplate hides no real problem.- Build-Depends all exist in the archive:
debhelper14.5,dh-php5.25 (>= 5.23 satisfied),php-all-dev2:107 (>= 2:102 satisfied);debian/control's three binary stanzas match the.dscPackage-List(php-opentelemetry all, php-opentelemetry-all-dev all, php8.4-opentelemetry any), anddebian/compat10 agrees withdebhelper (>= 10~). - At compat 10 the substvars are all named explicitly in
debian/control(${misc:Depends},${shlibs:Depends},${php:Depends},${pecl:Depends}), so no missing-substvar fault applies;changelogis well formed (experimental consistent with the previous entry, weekday/date correct),source/formatis 3.0 (quilt), andgbp.conf'sdist/pristine-tar/filter settings are valid. - 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 reviewing system, so
/usr/share/dh-php/pkg-pecl.mk(included bydebian/rules) could not be read. I could therefore not determine whetherdebian/control.in, which is out of step withdebian/control(it has oneArchitecture: anystanza and nophp-opentelemetry-all-dev), is still used to generatedebian/control, nor whether the build runs the upstream test suite (whose failuresexport REPORT_EXIT_STATUS:=0would ignore). Neither is reported as a fault. - Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "help://read/sources" is not a file of the package or of the reviewing system.
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 was emailed about the review 8 days ago.
Review Information
rejected — allocated to dfsg-uploader 7 days ago, started 7 days ago, completed 7 days ago.
Final Comment
Superseded by review of later version