DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-onefetch 3.0.0-1

Package Information

DescriptionCommand-line Git information tool - Rust source code

Source code for Debianized Rust crate "onefetch"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByMoritz Bauer <moritz.bauer.06@gmx.de>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/onefetch] (browse)
Closes#943720
Trackerhttps://tracker.debian.org/pkg/rust-onefetch
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByMoritz Bauer <moritz.bauer.06@gmx.de>
Architecturesource amd64
Distributionunstable
DateFri, 04 Dec 2026 13:54:01 -0600
Sourcerust-onefetch
Version3.0.0-1
Changelog◂
rust-onefetch (3.0.0-1) unstable; urgency=medium
 .
   * Package onefetch 3.0.0 from crates.io using debcargo 2.8.4
   * Initial release. (Closes: #943720)
.dsc◂
Package-Listlibrust-onefetch-dev deb rust optional arch=any
onefetch deb devel optional arch=any
Sectionrust
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: onefetch
Upstream-Contact: Ossama Hjaji <hjajiossama@gmail.com>
Source: https://github.com/o2sh/onefetch

Files: *
Copyright: 2018 Ossama Hjaji
License: MIT

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Moritz Bauer <moritz.bauer.06@gmx.de>
License: MIT

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, 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 0 hours ago.

Report◂

DFSG NEW review for rust-onefetch version 3.0.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is 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: 1 found

Licensing

debian/copyright is DEP-5. Upstream's only copyright/licence notice is LICENSE.md (MIT, Copyright (c) 2018 Ossama Hjaji), and the file reproduces the MIT text. A grep of the whole tree for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GNU/Apache/MPL/public domain/All rights reserved found no other notice, and the prescan's author check reports no holder that the file omits. Files: * covers the upstream tree with MIT and Files: debian/* overrides it for the packaging, whose MIT grant is the same. The one non-text file the prescan flagged, resources/license.cache.zstd, is a zstd askalono licence-text cache read as data, not a compiled binary or third-party code.

Packaging

Debcargo-generated packaging with checked hand edits. debian/control declares Build-Depends/-Arch matching the patched Cargo.toml, and every named dependency resolves (the three onefetch-* crates are 3.0.0-1 uploads in NEW; all other librust-* names are archive virtual packages at satisfying versions). All 13 patches carry DEP-3 headers and a rationale; they only pin crate versions to the archive, revert tera 2 to tera 1.20, drop Windows-only deps, and drop the integration-test target whose fixtures need write access to the root-owned registry. Compat 13 is neither deprecated nor discouraged, ${misc:Depends}/${shlibs:Depends} are present as that level requires, the manpage is installed, autopkgtests are syntactically valid, and changelog, Vcs-*, Homepage and upstream/metadata are consistent. Standards-Version 4.7.4 matches the reviewing Policy 4.7.4.1 to the required two components.

Issues

None.

Verified ◂
  • Inventoried all 89 upstream files (excluding .pc/ and debian/) and read every file under debian/: control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, source/format, tests/control, onefetch.manpages, upstream/metadata, all 13 patches and patches/series.
  • LICENSE.md is the tree's only copyright/licence notice (Copyright (c) 2018 Ossama Hjaji, MIT); LICENSE.md, Cargo.toml (license = "MIT", copyright = "2018, Ossama Hjaji") and debian/copyright agree. The prescan's holder check names 3 authors, all covered by the two Files stanzas.
  • resources/license.cache.zstd is an askalono Store cache read with include_bytes! at src/info/fields/license.rs:12-14 and used via Store::from_cache; it holds licence texts and metadata for detecting a repository's licence, not executable code, and is part of upstream's own source tree. Upstream ships no regeneration script; the file was not decompressed (binary).
  • Image assets assets/onefetch.svg, assets/onefetch.ico, assets/screenshot-1.png, assets/screenshot-2.png, assets/msrv-badge.svg were recorded by name and not opened; all are covered by Files: * MIT as upstream project assets.
  • docs/onefetch.1 is help2man 1.49.3 output generated from the program's own --help, not a PDF or compiled document; it is installed through debian/onefetch.manpages.
  • Generated code has its input in the package: Cargo.toml is cargo's normalization of the shipped Cargo.toml.orig, and src/info/langs/language.rs is produced by build.rs from the shipped languages.yaml and src/info/langs/language.tera.
  • tests/fixtures/make_repo.sh contains an MIT text only inside the LICENSE file of the throwaway test repository it creates; it is fixture data with no holder.
  • Every dependency in debian/control and debian/tests/control resolves: e.g. gix 0.90.0-1 (all seven feature packages), tera 1.20.0-3+b1, time 0.3.55-1, anyhow 1.0.104-1, clap-complete 4.6.12-1, serde 1.0.229-1, typetag 0.2.18-2, askalono 0.5.0-1, gix-testtools 0.22.0-1, insta 1.49.0-1, rstest 0.26.1-3; rustc is 1.99.1; dh-sequence-cargo is provided by dh-cargo 34. librust-onefetch-ascii/image/manifest 3.0.0-1 wait in NEW.
  • Patch series applies to the patched tree shown: versions in the adjusted Cargo.toml (anyhow 1.0.103, byte-unit 5.1.4, gix 0.90.0, owo-colors 4.3.0, typetag 0.2.18, tera 1.20.0, lazy-static 1.5.0) match the librust-* requirements in debian/control; remove-broken-tests.patch removes the [[test]] target and states the reason (fixtures write lockfiles under the read-only registry).
  • Compat 13 at debhelper 14.5 is neither deprecated nor discouraged; there are no override/hook targets, so the compat-13 nocheck/nostrip skipping is not involved, and dh_missing --fail-missing is harmless because dh-cargo's install feeds the binary and -dev packages directly.
  • debian/tests/control parses under autopkgtest's rules: trailing commas separate entries, and @ expands to the source package's own binaries (confirmed in /usr/share/autopkgtest/lib/testdesc.py); Architecture: !riscv64 on two tests is valid.
  • debian/source/format is 3.0 (quilt); debian/upstream/metadata has Archive/Repository/Repository-Browse/Documentation; changelog is 3.0.0-1, unstable, urgency medium, closing #943720; Vcs-Git/Vcs-Browser point at debcargo-conf src/onefetch.
  • debian/copyright is machine-readable DEP-5 with Format, Upstream-Name, Upstream-Contact, Source, Files: * (MIT), Files: debian/* (MIT) and a stand-alone License: MIT paragraph; patterns match by copyright-format 6.9 semantics, with debian/* last.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 3.3.0, packaged 3.0.0), which is not a fault of the package.
Not confirmed ◂
  • The binary image assets (SVG/ICO/PNG) were not opened, so their embedded metadata/provenance was judged only from their paths and upstream's MIT notice.
  • resources/license.cache.zstd was not decompressed or parsed (binary file), so its embedded licence texts were judged from its only use, Store::from_cache in src/info/fields/license.rs.
  • Upstream's git history is not shipped, so the copyright years beyond LICENSE.md's 2018 (which contains only that year) could not be cross-checked; no other notices exist in the files.
Proposed changes ◂

None.

Review Information

accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

Back to Dashboard | View all reviews for this package