Review: rust-pdl-compiler 0.6.1-1
Package Information
| Description | Parser and serializer generator for protocol binary packets - Rust source code Source code for Debianized Rust crate "pdl-compiler" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Sponsor | paulliu@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/pdl-compiler] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-pdl-compiler |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Source | rust-pdl-compiler |
|---|---|
| Version | 0.6.1-1 |
| Changed-By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Architecture | amd64 source |
| Distribution | unstable |
Changelog
rust-pdl-compiler (0.6.1-1) unstable; urgency=medium . * Package pdl-compiler 0.6.1 from crates.io using debcargo 2.8.4
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-pdl-compiler-dev deb rust optional arch=any pdl-compiler deb devel optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pdl-compiler Upstream-Contact: Henri Chataing <henrichataing@google.com> David de Jesus Duarte <licorne@google.com> Martin Geisler <mgeisler@google.com> James Eidson <jmes@google.com> Source: https://github.com/google/pdl/ Files: * Copyright: 2023-2026 Henri Chataing <henrichataing@google.com> 2023-2026 David de Jesus Duarte <licorne@google.com> 2023-2026 Martin Geisler <mgeisler@google.com> 2023-2026 James Eidson <jmes@google.com> 2023-2026 Google LLC License: Apache-2.0 Files: scripts/packet_runtime.h Copyright: 2023 The Android Open Source Project License: Apache-2.0 Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Ying-Chun Liu (PaulLiu) <paulliu@debian.org> License: Apache-2.0 License: Apache-2.0 Debian systems provide the Apache 2.0 license in /usr/share/common-licenses/Apache-2.0
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 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 1 hour ago.
Report
DFSG NEW review for rust-pdl-compiler version 0.6.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All upstream files are Apache-2.0. debian/copyright is DEP-5, names Google LLC (2023-2026), the four upstream authors, The Android Open Source Project for scripts/packet_runtime.h, and the Debian maintainers for debian/*, and points to /usr/share/common-licenses/Apache-2.0. No other licence or copyright holder was found anywhere in the tree.
Packaging
The debcargo-generated packaging is sound: every Build-Depends exists in the archive, pandoc builds the pdlc.1 man page from debian/man/pdlc.md and it is installed via pdl-compiler.manpages and cleaned via debian/clean, all three patches have DEP-3 headers, autopkgtests are present, the compat level is a supported and non-deprecated 13, and Standards-Version 4.7.4 matches current Policy 4.7.4.1 in its first two components.
Issues
None.
Verified ◂
- Read debian/copyright in full; it is DEP-5 with Files: , scripts/packet_runtime.h, and debian/ stanzas, and the Apache-2.0 text is referenced from /usr/share/common-licenses.
- Grepped the whole upstream tree (src/, tests/, scripts/, root files) for Copyright/(C)/SPDX/Licensed under/permission/WGPL/BSD/MIT/public-domain wording and for non-commercial, no-modification and field-of-use terms; every licence notice found is Apache-2.0, no non-free wording appears.
- src/main.rs:272 - the string
Copyright (C) 2026 Google LLCis part of the--versionoutput, not a separate file notice; Google LLC is named in debian/copyright. - scripts/packet_runtime.h carries
Copyright 2023 The Android Open Source Project, reproduced by the dedicated Files stanza; all other notices are Google LLC, covered by Files: *. - tests/generated/rust/.rs, tests/generated/cxx/.h, tests/generated/python/le_backend.py and tests/generated/preamble.rs are test snapshots, not un-sourced build artifacts: they are regenerated by src/backends/{rust,cxx,python}.rs assert_snapshot_eq from the PDL in tests/canonical/le_test_file.pdl (be test source produced by the sed in tests/run_cxx_generator_tests.sh) and the preamble generator is in the package.
- tests/canonical/*.pdl and *.json are the project's own test data and vectors, Apache-2.0 under Files: *.
- Read all of debian/: control, rules, changelog, source/format, clean, man/pdlc.md, pdl-compiler.manpages, debcargo.toml, tests/control, upstream/metadata, patches/series and all three patches, and the .dsc.
- Checked the named Build-Depends against the archive: librust-syn-3+default-dev (3.0.10), librust-prettyplease-0.3+default-dev (0.3.0), librust-genco+default-dev (0.20.2), librust-once-cell-1+default-dev (1.21.4), librust-codespan-reporting-0.13+default-dev (0.13.1), librust-googletest+default-dev (0.14.4), dh-sequence-cargo (dh-cargo 34); all are provided.
- pandoc is in Build-Depends (not <!nocheck>), so the pdlc.1 generation in execute_after_dh_auto_build runs in a nocheck build too; debian/clean lists pdlc.1 and pdl-compiler.manpages installs it.
- Patches 0001 (relaxed dependency versions), 0002 (googletest test fix) and 0003 (genco 0.20 port) each have Description/Author/Origin/Forwarded/Last-Update headers; none introduces third-party code.
- Standards-Version 4.7.4 against Policy 4.7.4.1: same first two components, so not an issue; debhelper-compat 13 is supported and not deprecated.
- debian/tests/control and the .dsc's Testsuite/Testsuite-Triggers fields are consistent; the
@entries and trailing commas are valid autopkgtest syntax. - uscan found the packaged version as the newest upstream release (upstream
0.6.1, packaged0.6.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The package was not built and its tests were not run (no build/test was attempted in this read-only review).
- The reviewing system's dh-cargo 34 helpers write only cargo:Built-Using and cargo:Static-Built-Using substvars; whether ${cargo:Depends}, ${cargo:Recommends}, ${cargo:Suggests} and ${cargo:Provides} in debian/control are defined by the dh-cargo/debcargo combination used to build was not verifiable. If undefined, dpkg-gencontrol drops them with a warning; this would not affect the binary's actual Depends.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.
Review Information
accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.