php-mustache 0.10.1-2
Package Information
| Description | Mustache template engine for PHP This extension renders templates written in Mustache, the logic-less template language. It is implemented in C++ on top of libmustache, so templates are parsed and rendered without generating or evaluating PHP code. It provides the Mustache, MustacheAST, MustacheData and MustacheTemplate classes. 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-mustache.git (browse) |
| Tracker | https://tracker.debian.org/pkg/php-mustache |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Architecture | source all amd64 |
|---|---|
| Distribution | experimental |
| Date | Fri, 27 Nov 2026 17:16:13 +0100 |
| Source | php-mustache |
| Version | 0.10.1-2 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
Changelog
php-mustache (0.10.1-2) experimental; urgency=medium . * B-D on libmustache (>= 0.6.2-2~)
.dsc
| Package-List | php-mustache deb php optional arch=all php-mustache-all-dev deb php optional arch=all php8.6-mustache 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: mustache Upstream-Contact: John Boehr <jbboehr@mailbox.org> Source: https://github.com/jbboehr/php-mustache Files: * Copyright: 2012-2024 John Boehr & contributors License: Expat Comment: LICENSE.md writes the years in Roman numerals: "Copyright (c) anno Domini nostri Jesu Christi MMXII-MMXXIV John Boehr & contributors". Files: debian/* Copyright: 2026 Ondřej Surý <ondrej@debian.org> License: Expat 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, 1 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 0 hours ago.
Report
DFSG NEW review for php-mustache version 0.10.1-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor; 1 more from the model's own knowledge, under Not confirmed
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 4 found
Licensing
The source is MIT throughout. LICENSE.md is the tree's only licence notice and debian/copyright reproduces its text in full as Expat, with both holders it needs (John Boehr & contributors for upstream, Ondřej Surý for debian/*); the Roman-numeral years in LICENSE.md are explained in the stanza's Comment. No non-free wording, no vendored third-party library (libmustache is an external Build-Depends linked via pkg-config), no patches, and no file whose notice contradicts the copyright file.
Packaging
Ordinary dh-php PECL packaging: a consistent control.in/control pair, compat 10 (supported, not discouraged by debhelper 14.5), Standards-Version 4.7.2 against Policy 4.7.4.1, build dependencies that exist in the archive (libmustache-dev 0.6.2-2, dh-php 5.25/5.26, php-all-dev 2:108~exp4 in experimental), a correctly ordered experimental changelog and consistent Vcs fields. One defect: the declared Testsuite names an autodep8 suite that does not exist, so the package would run no autopkgtests.
Issues
minor
packaging
1. Testsuite: autopkgtest-pkg-pecl names no autodep8 suite, so no autopkgtests would run
◂
- Files:
debian/control:14,debian/control.in - Basis: checked, in the package or with a reference tool
- Evidence: debian/control:14
Testsuite: autopkgtest-pkg-pecl; autodep8 0.32 (apt-cache: "PHP packages using phpunit") ships the types dkms, elpa, go, nodejs, octave, perl, php, puppet_module, pybuild, python, r, ruby under/usr/share/autodep8/support/, and/usr/share/autodep8/support/php/detectisfalse, so the php type is matched only by^autopkgtest-pkg-php$in autodep8'sdetect_by_control_field. - Problem: The package has no debian/tests/control, so autopkgtest falls back to autodep8 whenever the Testsuite value contains
autopkgtest-pkg-(needs_autodep8in /usr/share/autopkgtest/lib/testdesc.py:612). No type matchespecl, autodep8 exits 1 with empty output, andparse_debian_sourcereturns an empty test list: the source advertises autopkgtests and delivers none. - Fix: Declare
Testsuite: autopkgtest-pkg-php(in debian/control.in, since debian/control is generated from it) and/or ship a debian/tests/control that loads the built extension (for examplephp -d extension=mustache.soover a few of tests/*.phpt).
Verified ◂
- debian/copyright read in full: DEP-5, exact copyright-format 1.0 Format URL,
Files: *andFiles: debian/*stanzas, one stand-alone Expat paragraph whose text matches LICENSE.md word for word. - grep over all upstream files for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General Public, GNU Lesser, Apache License, Mozilla Public, public domain, All rights reserved found only LICENSE.md; a second grep for non-commercial, no modification, field-of-use and Good-not-Evil wording found nothing.
- Only one licence-bearing file in the tree: a glob for LICENSE*/COPYING*/NOTICE*/AUTHORS* anywhere returned LICENSE.md alone.
- libmustache is not vendored: config.m4 finds it with pkg-config (
mustache >= 0.6.0), debian/control Build-Depends on libmustache-dev, and libmustache-dev 0.6.2-2 is in the archive (apt-cache). - No debian/patches directory and no patch series, so no file in the tree comes from a patch.
- mustache_arginfo.h is generated (its line 2 says so) and its generator input, mustache.stub.php, is shipped in the tree.
- The four scan-listed files tests/MustacheAST____construct.phpt, tests/MustacheAST____toString.phpt, tests/MustacheAST__toArray.phpt and tests/MustacheTemplate____sleep.phpt read in full: ordinary .phpt test scripts (--TEST--/--SKIPIF--/--FILE--/--EXPECT--), no binary payload, covered by
Files: *. - Packaging files read: control, control.in, rules, compat, changelog, copyright, gbp.conf, freexian-dists, source/format; no maintainer scripts and no debian/tests are shipped.
- compat 10 and debhelper (>= 10~) agree, and debhelper 14.5 neither deprecates nor discourages level 10; Standards-Version 4.7.2 matches the first two components of Policy 4.7.4.1.
- apt-cache asked for libmustache-dev (0.6.2-2, archive), dh-php (5.25 lists, 5.26 archive) and php-all-dev (2:108~exp4, experimental); the changelog's three revisions order correctly and all target experimental.
- autodep8 0.32's supported package types enumerated from /usr/share/autodep8/support/, and autopkgtest's fallback logic read in /usr/share/autopkgtest/lib/testdesc.py.
- uscan found the packaged version as the newest upstream release (upstream
0.10.1, packaged0.10.1).
Not confirmed ◂
- Provenance of the tests/mustache-spec-*.phpt files: the specification JSON they are generated from lives in the
specsubmodule, which is an empty directory in the tarball, so neither the specification's licence nor its holders could be checked here. - dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk named by debian/rules could not be read; whether
Testsuite: autopkgtest-pkg-peclis generated by dh-php's template or written by the maintainer was not confirmed. - php-all-dev 2:108~exp4 in experimental depends on php8.6-dev, which the reviewing package lists and NEW queue did not show; whether an experimental build chroot has php8.6-dev was not checked.
- Whether this is a fault: debian/copyright has no stanza for the tests generated from the Mustache specification. The model reported it as a minor packaging 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:
debian/copyright,tests/mustache-spec-*.phpt,generate-tests.php.
Evidence:generate-tests.phpreads./spec/specs/*.json(thespecsubmodule, jbboehr/mustache-spec per.gitmodules) and writestests/mustache-spec-<spec>-<name>.phpt; those files carry the specification's test names,--DESCRIPTION--text and templates verbatim, e.g. tests/mustache-spec-comments-inline.phpt'desc' => 'Comment blocks should be removed from the template.'. debian/copyright names only2012-2024 John Boehr & contributors.
Problem: The generated test files reproduce material from the separate Mustache specification project, whose authors are not named as holders; the tests are not installed in any binary package, so Policy 2.3 does not require the notice, but the DFSG team asks for a complete debian/copyright.
Fix: Add aFiles: tests/mustache-spec-*stanza naming the Mustache specification's copyright holders and licence, and carry its licence text if it is not in /usr/share/common-licenses.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.