rust-pimalaya-cli 0.8.1+ds-1
Package Information
| Description | CLI utils for Pimalaya - Rust source code Pimalaya CLI provides shared building blocks for the Pimalaya command-line tools: the pieces every command-line interface would otherwise reimplement, factored out behind cargo features so each binary pulls in only what it uses. Unlike the io-* protocol libraries this crate is deliberately std, since it exists to talk to a terminal, a filesystem and a human. Features * Argument parsing glue: shared clap arguments and the ready-made completion, manual page and JSON Schema generation commands, so every binary exposes them the same way. * Output rendering: a printer that writes command output and a reporter that writes failures, both to stdout, as JSON or as plain text. * Logging: a logger initialized from a shared verbosity flag. * Interactive input: text, confirmation and choice prompts, and a cancellable spinner for long-running work. * Sessions: a read-eval-print loop running the binary's own commands over stdin, and a Model Context Protocol server over stdio whose tools may take their input from the clap grammar, both holding one account open across commands. * Build helpers: small utilities for build scripts, such as feature and git metadata. This package contains the source for the Rust crate pimalaya-cli, for use with cargo. |
|---|---|
| Maintainer | Jonas Smedegaard <dr@jones.dk> |
| Changed By | Jonas Smedegaard <dr@jones.dk> |
| Sponsor | js@debian.org |
| Distribution | experimental |
| Architecture | all |
| VCS | git: https://salsa.debian.org/debian/rust-pimalaya-cli.git (browse) |
| Closes | #1155503 |
| Tracker | https://tracker.debian.org/pkg/rust-pimalaya-cli |
| Uploaded | 5 hours ago |
New Package Report
.changes
| Changed-By | Jonas Smedegaard <dr@jones.dk> |
|---|---|
| Architecture | source all |
| Distribution | experimental |
| Date | Fri, 27 Nov 2026 01:37:44 +0100 |
| Source | rust-pimalaya-cli |
| Version | 0.8.1+ds-1 |
Changelog
rust-pimalaya-cli (0.8.1+ds-1) experimental; urgency=low
.
* initial release;
closes: bug#1155503.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-pimalaya-cli-dev deb rust optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Pimalaya CLI Upstream-Contact: https://github.com/pimalaya/cli/issues Source: https://github.com/pimalaya/cli . Repackaged, excluding any .git* files. Files-Excluded: */.git* Files: * Copyright: 2025-2026 Clément DOUIN <pimalaya.org@posteo.net> License-Grant: This project is licensed under either of: . - [MIT license](LICENSE-MIT) - [Apache License, Version 2.0](LICENSE-APACHE) License: Apache-2.0 or Expat Reference: Cargo.toml LICENSE-APACHE LICENSE-MIT README.md Files: debian/* Copyright: 2026 Jonas Smedegaard <dr@jones.dk> License-Grant: This packaging is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. License: GPL-3+ Reference: debian/copyright Files: debian/patches/* Copyright: Jonas Smedegaard <dr@jones.dk> License: Apache-2.0 or Expat Reference: Cargo.toml LICENSE-APACHE LICENSE-MIT README.md Comment: Patches commonly lack explicit copyright and license. For the cases where patches are copyrightable at all, copyright is assumed to be held by the author, and license is assumed to be the same as main upstream license. 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. License: GPL-3+ Reference: /usr/share/common-licenses/GPL-3
DFSG Assistant LLM REVIEW 0 blocker, 1 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 4 hours ago.
Report
DFSG NEW review for rust-pimalaya-cli version 0.8.1+ds-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
Upstream is dual-licensed Apache-2.0/Expat and the packaging is GPL-3+; the licences are DFSG-free and compatible, all holders are named (the prescan agrees), and grep found no non-free terms, built/minified files or vendored third-party code. debian/copyright is nevertheless incomplete: there is no stand-alone Apache-2.0 License paragraph and no Apache-2.0 text or pointer to /usr/share/common-licenses/Apache-2.0, the GPL-3+ pointer is only in a non-standard Reference extra field, and debian/source/lintian-overrides suppresses the resulting lintian tags. The second half of the question is therefore 'no'.
Packaging
Clean dh-rust packaging: compat 14 with dh-sequence-rust and the recommended dh-sequence-single-binary, plain dh $@, complete Build-Depends/Depends (all satisfiable; base64-codec is in NEW), per-feature autopkgtest, six DEP-3 patches, Vcs-*, and Standards-Version 4.7.4 against Policy 4.7.4.1. One minor issue: 2005_failing_test.patch permanently ignores an upstream test without explanation or upstream reference. The lintian overrides hiding the copyright gap are covered by the licensing finding.
Issues
important licensing 1. debian/copyright has no stand-alone Apache-2.0 License paragraph or text/pointer, and suppresses lintian's missing-licence tags ◂
- Files:
debian/copyright:18,debian/copyright:43,debian/copyright:81-82,debian/source/lintian-overrides:2-5 - Basis: checked, in the package or with a reference tool
- Evidence:
License: Apache-2.0 or Expat(lines 18 and 43) with noLicense: Apache-2.0stanza and no/usr/share/common-licenses/Apache-2.0pointer; the GPL-3+ stanza contains onlyLicense: GPL-3+andReference: /usr/share/common-licenses/GPL-3;debian/source/lintian-overrideshasmissing-license-paragraph-in-dep5-copyright apache-2\.0 *andmissing-license-text-in-dep5-copyright Apache-2\.0 *. - Problem: copyright-format 1.0 section 6.7 requires every short name in a License field with no further lines to be described in a stand-alone License stanza, and section 7.1 requires the full licence text or a pointer under /usr/share/common-licenses in the License field; Policy 12.5 requires the distribution licence in /usr/share/doc/PACKAGE/copyright.
Apache-2.0has neither a stanza nor a pointer.Reference:is permitted only as an extra field (copyright-format section 4) and is not read as licence text, so the GPL-3+ pointer rests on a non-standard field too. The lintian overrides suppress the resulting warnings instead of fixing the file. The upstream grant really is Apache-2.0/Expat, so this is a completeness/Policy 12.5 defect, not a DFSG violation. - Fix: Add a stand-alone
License: Apache-2.0paragraph with the full text orOn Debian systems, the complete text ... can be found in /usr/share/common-licenses/Apache-2.0, move the GPL-3+ pointer into the text of its stand-alone License paragraph rather than aReference:extra field, and then remove the four overrides from debian/source/lintian-overrides.
minor packaging 2. 2005_failing_test.patch permanently ignores an upstream test without a reason or upstream reference ◂
- Files:
debian/patches/2005_failing_test.patch:1-13,src/error.rs:591 - Basis: inferred from what was read, not seen directly
- Evidence:
Description: skip failing test;#[ignore = "assertionleft == rightfailed"]onan_uncoded_error_prints_a_null_code;Forwarded: not-needed. - Problem: The patch disables an upstream unit test for every user of the -dev crate, not just for the Debian build, and hides a real mismatch in ErrorReport's JSON (
code,error,sources,backtrace) that may be caused by the Debian dependency set. The header gives no analysis, no Bug-Debian and no upstream reference, so there is no way to know when the delta can be dropped. - Fix: Diagnose the assertion failure (the json! literal versus ErrorReport's serialization, likely a serde_json/anyhow version difference), fix or forward it upstream with a Forwarded URL/Bug reference, and record when the patch can be removed; if it must stay, state why in the patch header.
Verified ◂
- Read every file under debian/ (control, rules, changelog, copyright, all six patches and series, tests/control, gbp.conf, source/format, source/lintian-overrides, upstream/metadata, copyright-check, copyright_hints).
- Inventoried the upstream tree (250 files): src/ (25 Rust files), cairn/spec, cairn/log, cairn/changes, examples/spinner.rs, the root documentation/configuration, Cargo.toml and Cargo.lock, deny.toml, flake.nix/flake.lock/shell.nix, .cliffignore, LICENSE-APACHE and LICENSE-MIT; no images, fonts, PDFs, archives, compiled objects, minified files or .git* files, and no vendored third-party code.
- Greps for Copyright, (C), ©, SPDX-License-Identifier, permission grants, GPL/LGPL/Apache/MPL/BSD/ISC/CC0/public-domain and for non-commercial, no-modification, field-of-use and JSON-licence wording found only the project's MIT/Apache-2.0 notices and no non-free terms.
- LICENSE-MIT, LICENSE-APACHE, Cargo.toml and README.md agree on MIT OR Apache-2.0; debian/copyright names Clément DOUIN and Jonas Smedegaard; the prescan's author check reports every holder it found is named.
- debian/copyright contains the full Expat text and a GPL-3+ reference to the existing /usr/share/common-licenses/GPL-3; it lacks any Apache-2.0 text or pointer (reported as an issue).
- All Build-Depends and Depends names were looked up with apt-cache: the archive provides the named librust-* crates or their feature packages; librust-base64-codec-0.1-dev is built by rust-base64-codec 0.1.0+ds-1 in NEW for experimental; debhelper 14.5 provides dh-sequence-single-binary and dh-rust 0.1.4 provides dh-sequence-rust.
- Standards-Version 4.7.4 is current against Policy 4.7.4.1 (first two components); source format 3.0 (quilt), compat 14 and the six DEP-3 patches were checked; the 2002 dirs/jiff/shlex relaxations match the version constraints in debian/control and the archive versions.
- debian/tests/control runs the crate's own tests per feature through dh-rust's cargo-auto-test; no network-requiring test was found in src/.
- debian/copyright_hints is licensecheck output generated by debian/copyright-check; it is not installed and has no separate licensing effect.
- No maintainer scripts, debian/install, debian/links or debian/dirs files are present; dh-rust installs the crate source and the copyright file.
- uscan found the packaged version as the newest upstream release (upstream
0.8.1, packaged0.8.1+ds). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- The orig tarball's contents could not be inspected beyond its top-level
pimalaya-cli-4fb7109/entry, so theFiles-Excluded: */.git*repack could not be compared with the shipped tarball. - dh-rust is not installed on the reviewing system, so the
/usr/share/dh-rust/bin/cargo-auto-testcommand used by debian/tests/control and its crate-version lookup were not executed.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.