php-doctrine-bundle 3.4.2-1
Package Information
| Description | bundle library - Doctrine component ${phpcomposer:description} The Doctrine Project provides several libraries primarily focused on database storage and object mapping. |
|---|---|
| Maintainer | Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org> |
| Changed By | David Prévot <taffit@debian.org> |
| Sponsor | taffit@debian.org |
| Distribution | experimental |
| Architecture | all |
| VCS | git: https://salsa.debian.org/php-team/pear/php-doctrine-bundle.git (browse) |
| Popcon Installs | 2 |
| Tracker | https://tracker.debian.org/pkg/php-doctrine-bundle |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Mon, 23 Nov 2026 18:06:03 +0100 |
|---|---|
| Source | php-doctrine-bundle |
| Version | 3.4.2-1 |
| Changed-By | David Prévot <taffit@debian.org> |
| Architecture | source all |
| Distribution | experimental |
Changelog
php-doctrine-bundle (3.4.2-1) experimental; urgency=medium . * Restore package (new symfony dependency)
.dsc
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-doctrine-bundle deb php optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Doctrine Bundle
Source: https://github.com/doctrine/DoctrineBundle
Upstream-Contact: Benjamin Eberlei <kontakt@beberlei.de>
Files: * debian/*
Copyright: 2011 Fabien Potencier <fabien@symfony.com>
Doctrine Project
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
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 1 hour ago.
Report
DFSG NEW review for php-doctrine-bundle version 3.4.2-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 2 minor; 1 more from the model's own knowledge, under Not confirmed
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The whole source tree is under the Expat (MIT) licence, stated by the top-level LICENSE ("Copyright (c) 2011 Fabien Potencier, Doctrine Project") and matching debian/copyright; nothing non-free was found, and no other holder's notice appears anywhere in the tree. debian/copyright is DEP-5 but is inaccurate in two places: the single Files: * debian/* stanza also claims the Debian packaging for upstream, so the packaging copyright (David Prévot) is absent, and templates/Collector/database.svg is a third-party Tabler Icons asset (MIT) whose notice is not reproduced.
Packaging
Not bad overall: debhelper compat 14 with dh-sequence-phpcomposer, a correct ${phpcomposer:*} set, DEP-3 patches confined to tests, an autopkgtest, and every Build-Depends name resolvable in the archive. Two real defects: debian/install does not install templates/, although the installed bundle root (dirname(__DIR__) = /usr/share/php/Doctrine/Bundle) is where Twig looks for @Doctrine/Collector/db.html.twig and explain.html.twig, so the Doctrine profiler panel and explain page cannot render; and the upstream changelog installed into /usr/share/doc stops at 2.3.2 for a 3.4.2 package.
Issues
important packaging 1. debian/install does not install templates/, so @Doctrine/Collector/db.html.twig and explain.html.twig are missing from the binary package. ◂
- Files:
debian/install:1-3,config/dbal.php:42,src/Controller/ProfilerController.php:80,src/DoctrineBundle.php:146-149,templates/Collector/db.html.twig - Basis: inferred from what was read, not seen directly
- Evidence: debian/install:
src/* usr/share/php/Doctrine/Bundle/DoctrineBundleandconfig usr/share/php/Doctrine/Bundle— notemplates; src/DoctrineBundle.php:148return dirname(__DIR__);; config/dbal.php:42->tag('data_collector', ['template' => '@Doctrine/Collector/db.html.twig', ...]); src/Controller/ProfilerController.php:80$this->twig->render('@Doctrine/Collector/explain.html.twig', ...). - Problem: Upstream's bundle root is
dirname(src), which in the Debian layout is/usr/share/php/Doctrine/Bundle(that is whyconfig/is installed there). The bundle's own templates are rendered through the@DoctrineTwig namespace, i.e. from<bundle root>/templates/Collector/, but nothing installstemplates/:debian/installcopies onlysrc/*,configand the autoloaders. The installed package therefore lacksdb.html.twig(the web-profiler panel registered inconfig/dbal.php) andexplain.html.twig(the explain action), plus the two SVGs they include, so the Doctrine profiler panel and the explain page will fail with a Twig loader error. The tests do not catch it:debian/rules/autopkgtest render from the build tree, wheretemplates/still exists. - Fix: Add
templates usr/share/php/Doctrine/Bundleto debian/install so the bundle root the installedgetPath()returns containstemplates/Collector/.
minor licensing 2. debian/copyright attributes debian/* to Fabien Potencier and Doctrine Project instead of the Debian packaging copyright (David Prévot) ◂
- Files:
debian/copyright:7-9 - Basis: checked, in the package or with a reference tool
- Evidence: debian/copyright:7-9
Files: * debian/*/Copyright: 2011 Fabien Potencier <fabien@symfony.com>/Doctrine Project; debian/changelog lists David Prévot as uploader of every entry and author of the packaging changes. - Problem: The single stanza covering
debian/*attributes the Debian packaging to upstream's holders, which is factually wrong and leaves the packaging copyright unnamed; Policy 2.3 does not require those notices to be in the copyright file (debian/* is build-time material, not installed in the binary package), but the statement that is there is inaccurate, and a complete debian/copyright names the packaging holder. - Fix: Split the stanza: keep
Files: *with the upstream holders, and addFiles: debian/*with the packaging copyright (e.g.Copyright: 2026 David Prévot <taffit@debian.org>, plus any other packaging contributors recorded in debian/changelog) under the sameLicense: Expat.
minor packaging 3. Stale debian/upstream/changelog (2.3.2) is installed as the upstream changelog of 3.4.2 ◂
- Files:
debian/upstream/changelog:1,debian/rules:11-12 - Basis: checked, in the package or with a reference tool
- Evidence: debian/upstream/changelog:1
## 2.3.2 (2021-05-09), while debian/changelog:1 isphp-doctrine-bundle (3.4.2-1); debian/rulesoverride_dh_installchangelogs: dh_installchangelogs debian/upstream/changelog. - Problem: The file installed as the upstream changelog ends at 2.3.2 (May 2021); upstream 3.4.2 ships no CHANGELOG of its own, and this stale copy is installed into /usr/share/doc/php-doctrine-bundle/changelog.gz for a 3.4.2 package, describing none of the released changes since.
- Fix: Either refresh debian/upstream/changelog for 3.4.2 (or drop the override and let dh_installchangelogs use no upstream changelog, since upstream 3.4.2 ships none), so /usr/share/doc/php-doctrine-bundle/changelog.gz does not claim to document 3.4.2 while stopping at 2.3.2.
Verified ◂
- Read debian/copyright, control, rules, changelog, install, docs, clean, source/format, gbp.conf, README.source, tests/control, upstream/metadata, both patches, patches/series, and the .dsc.
- Prescan reported no unnamed copyright holder (293 files scanned, 2 holders declared); I independently grepped the whole tree for Copyright/(C)/©/SPDX/Licensed under/Permission is hereby granted/GNU/Apache/MPL/public domain/All rights reserved and found notices only in LICENSE and debian/copyright.
- Full licence inventory: everything is Expat/MIT per LICENSE (
Copyright (c) 2011 Fabien Potencier, Doctrine Project), matching the Expat text in debian/copyright; no other licence file (COPYING/NOTICE/AUTHORS) exists in any subdirectory; composer.json declares"license": "MIT". - Searched the tree for non-free wording (non-commercial, no modification, Not Evil, Commons Clause, CC BY-NC, field-of-use, redistribution restrictions): no matches.
- Templates/Collector/.twig and .svg, config/schema/doctrine-1.0.xsd, docs/en/.rst, .github/ and tests/ carry no separate notice and are upstream work under the same Expat licence; no generated or minified artefacts, PDFs or binaries are present (the only non-text files are the SVGs).
- Not a build-artefact issue: src/autoload.php is generated at build time from composer.json with phpab/phpabtpl and cleaned in debian/clean; its generator input is in the package.
- Patches 0001 and 0002 have DEP-3 headers (From/Date/Subject/Forwarded: not-needed) and touch only tests/ (one path adaptation, one #[Group('composer')] tagging); neither introduces third-party work.
- Build-Depends names checked with apt-cache: php-doctrine-orm 3.8.0, php-doctrine-sql-formatter (virtual, provided by php-sql-formatter 1.1.3), php-symfony-* 7.4.23, phpab 1.29.4, php-sqlite3, phpunit all exist; dh-sequence-phpcomposer is provided by pkg-php-tools 1.50. Archive php-common 2:106 provides php8.4, and symfony 7.4.23/7.4.24 satisfies composer.json's bridge requirement.
- Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components; Vcs-* and Homepage are present; debhelper-compat (= 14).
- debian/tests/control declares the needed dependencies plus
@, and Restrictions allow-stderr/rw-build-tree fit the command that writes into the source tree. - Excluded .pc/ from the review; debian/cargo-checksum.json is absent.
- uscan found the packaged version as the newest upstream release (upstream
3.4.2, packaged3.4.2).
Not confirmed ◂
- debian/tests/control uses abbreviated phpab options
--o vendor/autoload.php --t debian/autoload.tests.php.tpl; phpab was not installed on the reviewing system, so I could not check whether its option parser accepts--o/--tor rejects them as ambiguous (--tvs--template/--tolerant,--ovs--output/--once). A failing autopkgtest would show it. - The provenance of templates/Collector/icon.svg could not be established: it is a 24×24 icon path with no embedded notice, and I could not confirm whether it is drawn by the project or copied from an icon set.
- The templates/ finding is reasoned from the source paths and the Debian install layout; I could not run the installed bundle to observe the Twig loader error, and Symfony is not installed on the reviewing system to read how bundle template paths are registered.
- Whether this is a fault: templates/Collector/database.svg is a Tabler Icons (MIT) asset whose holder and notice debian/copyright does not name. The model reported it as a minor licensing issue from its own knowledge of something outside the package, which it did not check with a tool, so it is not counted among the issues. Files:
templates/Collector/database.svg:1,debian/copyright:7-9.
Evidence: templates/Collector/database.svg:1<svg ... data-icon-name="icon-tabler-database" ...>— a copy of the Tabler Icons "database" icon (MIT, Copyright (c) Paweł Kuna).
Problem: The SVG declares itself, throughdata-icon-name, to be a Tabler Icons asset. Tabler Icons are MIT, which requires the copyright notice to be kept in copies; the file carries none and debian/copyright names only Fabien Potencier and Doctrine Project. The file is not installed in the binary package (debian/install ships no templates/), so Policy 2.3 does not require the notice, but the source package is distributed with a third-party work whose holder and licence are unrecorded.
Fix: Add the Tabler Icons notice (Copyright (c) Paweł Kuna, MIT) to debian/copyright fortemplates/Collector/database.svg, e.g. aFiles: templates/Collector/database.svgstanza with anExpat/MIT licence paragraph naming the holder.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.