DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-ra-ap-cfg 0.0.358-1

Package Information

Descriptioncfg attribute parser and evaluator for rust-analyzer - Rust source code

Source code for Debianized Rust crate "ra_ap_cfg"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ra-ap-cfg] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-cfg
Uploaded3 hours ago

New Package Report

.changes◂
Distributionunstable
DateWed, 02 Dec 2026 10:59:33 -0600
Sourcerust-ra-ap-cfg
Version0.0.358-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Changelog◂
rust-ra-ap-cfg (0.0.358-1) unstable; urgency=medium
 .
   * Package ra_ap_cfg 0.0.358 from crates.io using debcargo 2.8.4
.dsc◂
Package-Listlibrust-ra-ap-cfg-dev deb rust optional arch=any
Sectionrust
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra_ap_cfg
Upstream-Contact: rust-analyzer team
Source: https://github.com/rust-lang/rust-analyzer

Files: *
Copyright: 2018-2026 rust-analyzer team
License: MIT or Apache-2.0

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: MIT or Apache-2.0

License: Apache-2.0
 Debian systems provide the Apache 2.0 license in
 /usr/share/common-licenses/Apache-2.0

License: MIT
 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 1 hour ago.

Report◂

DFSG NEW review for rust-ra-ap-cfg version 0.0.358-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The crate is dual-licensed MIT OR Apache-2.0, as its Cargo.toml states, and debian/copyright is DEP-5 with Files: * naming the "rust-analyzer team" holder and both licences; the full MIT text is reproduced and Apache-2.0 points to /usr/share/common-licenses. No source file carries a copyright or licence notice of its own, so no holder is omitted, and the pre-scan found no missing holder. Nothing non-free or unlicensed was found.

Packaging

This is routine debcargo 2.8.4 output for a Rust crate: debhelper compat 13 with dh-sequence-cargo, correct Build-Depends-Arch, correct single dev package with collapsed-feature Provides, Multi-Arch same, proper Breaks on rustc, cabal-free changelog, Standards-Version 4.7.4 against Policy 4.7.4.1. One real quality gap: the only compilation step the debcargo build performs is the test step, and its exit status is discarded.

Issues

minor packaging 1. debian/rules discards the only compile/test step's exit status, and the autopkgtests are permanently marked flaky ◂
  • Files: debian/rules:5-6, debian/debcargo.toml:11, debian/tests/control:1-3
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/rules: override_dh_auto_test: / \tdh_auto_test -- test --all || true; debian/debcargo.toml: test_is_broken = true with the comment "The unit tests use crates that the published Cargo.toml does not list"; debian/tests/control: Restrictions: allow-stderr, flaky
  • Problem: dh-cargo's build step only copies sources into the registry staging area (Buildsystem/cargo.pm build does not compile); compilation happens solely inside dh_auto_test. || true therefore turns any compile or test failure into a successful build, and debcargo.toml states the unit tests cannot build at all. The autopkgtests are likewise marked flaky, which makes autopkgtest ignore their failure, so neither the build nor CI ever verifies that the crate compiles or that any test passes.
  • Fix: Remove || true and keep a checked compile step, e.g. override_dh_auto_test: dh_auto_test (no test argument, so cargo only builds), or add the missing test-only crates to the build/test dependencies and run the suite properly. Reserve the flaky restriction for genuinely nondeterministic tests.
Verified ◂
  • Read all 8 upstream files (src/lib.rs, src/cfg_expr.rs, src/dnf.rs, src/tests.rs, Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json); a grep for Copyright/(C)/©/SPDX/licence phrases found none outside debian/, so debian/copyright's Files: * stanza is the complete record of upstream licensing.
  • Cargo.toml declares authors = ["rust-analyzer team"] and license = "MIT OR Apache-2.0", matching Files: *; MIT text is reproduced in debian/copyright and Apache-2.0 is referenced at /usr/share/common-licenses/Apache-2.0, which exists.
  • debian/copyright is in DEP-5 format with the canonical Format URL; Files: * and Files: debian/* stanzas are correctly ordered and debian/* overrides the catch-all.
  • No files listed by the pre-scan needed a per-file disposition: it reported that every holder found is named, and the tree contains no copyright notices at all.
  • Build dependencies exist in the archive/local lists: rustc 1.99.1+dfsg1-1, libstd-rust-dev 1.99.1+dfsg1-1, librust-ra-ap-intern-dev 0.0.358-1 (provides the 0.0+default-dev virtual package), librust-rustc-hash-dev 2.1.3-1, librust-tracing-dev 0.1.44-1+b1; all version constraints are satisfied, and the Breaks: rustc (<< 1.98~) matches the declared rust-version 1.98.
  • debian/rules uses debhelper compat 13 with the cargo buildsystem; the override_dh_auto_test target is skipped by dh under DEB_BUILD_OPTIONS=nocheck at compat 13, and Build-Depends-Arch's <!nocheck> markers are correct because cargo/rustc are only needed for the test/compile step.
  • Source format 3.0 (quilt), changelog version 0.0.358-1 matches the crate version and X-Cargo-Crate-Version, distribution unstable, and the package is a first upload with no bug closures to check.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.0.369, packaged 0.0.358), which is not a fault of the package.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • librust-ra-ap-syntax-0.0+default-dev and librust-ra-ap-tt-0.0+default-dev, listed in the dev package's Depends, are not in the reviewing system's package lists, not in madison's unstable/experimental data as of 2026-12-02, and not among the uploads in the NEW queues; presumably companion uploads, so not treated as a fault.
  • The upstream repository's LICENSE/COPYING files are not part of the crates.io tarball, so the project-level licence files could not be inspected; the holder and years rest on Cargo.toml's authors field and the rust-analyzer project's declared licence.
Proposed changes ◂

None.

Uploader's response to the LLM review

Fixed for the next revision: https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/1614 (checked cargo build, and the 10 unit tests run in autopkgtest).

— Juan Manuel Méndez Rey (mendezr), 0 hours ago

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package