rust-atomic-write-file 0.3.1-1
Package Information
| Description | Write files atomically to a file system - Rust source code Source code for Debianized Rust crate "atomic-write-file" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Jeremy Bícha <jbicha@ubuntu.com> |
| Sponsor | jbicha@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/atomic-write-file] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-atomic-write-file |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Changed-By | Jeremy Bícha <jbicha@ubuntu.com> |
|---|---|
| Architecture | source amd64 |
| Distribution | unstable |
| Source | rust-atomic-write-file |
| Version | 0.3.1-1 |
Changelog
rust-atomic-write-file (0.3.1-1) unstable; urgency=medium . * Package atomic-write-file 0.3.1 from crates.io using debcargo 2.8.4
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-atomic-write-file-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: atomic-write-file Upstream-Contact: Andrea Corbellini <corbellini.andrea@gmail.com> Source: https://github.com/andreacorbellini/rust-atomic-write-file Files: * Copyright: 2023-2026o Andrea Corbellini <corbellini.andrea@gmail.com> License: BSD-3-Clause Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Jeremy Bícha <jbicha@ubuntu.com> License: BSD-3-Clause License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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-atomic-write-file version 0.3.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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
Upstream is BSD-3-Clause throughout; debian/copyright is DEP-5, names Andrea Corbellini as the sole upstream holder, reproduces the full BSD-3-Clause text, and covers all upstream and debian/ files with stanzas that match. The only defect is a typo in the upstream copyright year (2023-2026o), which does not affect the licence or the named holder.
Packaging
A clean debcargo-generated Rust source package: compat 13 with dh-cargo, correct split and Provides/Breaks for a crate, dependencies that all exist in the archive at sufficient versions, a properly headed relax-deps patch matching the archive's nix 0.30, DEP-3 patch headers, autopkgtest, source format 3.0 (quilt), and a current Standards-Version. Tests are marked flaky because upstream tests write relative to the read-only crate directory, which is an acknowledged debcargo limitation, not a packaging error.
Issues
minor
licensing
1. Copyright year in the Files: * stanza is garbled: Copyright: 2023-2026o
◂
- Files:
debian/copyright:7 - Basis: checked, in the package or with a reference tool
- Evidence:
Copyright: 2023-2026ofollowed by the continuation lineAndrea Corbellini <corbellini.andrea@gmail.com> - Problem: The upstream copyright year range ends in a stray
o, so debian/copyright does not state the upstream copyright years correctly. The holder and the BSD-3-Clause licence are right; this is a typo left when theFIXME (overlay) UNKNOWN-YEARSplaceholder of the debcargo template in debian/copyright.debcargo.hint was replaced. - Fix: Change the line to
Copyright: 2023-2026, or to the years actually confirmed from upstream git history, and keep the holder on its continuation line.
Verified ◂
- Read debian/copyright in full: DEP-5, correct Format URL,
Files: *andFiles: debian/*stanzas, and one stand-alone BSD-3-Clause paragraph whose text matches LICENSE.md. - Upstream holder inventory: Cargo.toml/Cargo.toml.orig
authors, README badges and the prescan agree that Andrea Corbellini is the only upstream copyright holder; the prescan's author check found every detected holder named in debian/copyright and listed no built files, minified code, PDFs or non-free wording to account for. - All 20 upstream files are covered by
Files: *: src/*.rs and src/imp/**, LICENSE.md, README.md, CHANGELOG.md, Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, Cross.toml, .gitignore, .gitlab-ci.yml and .github/workflows/{ci,crash-tests}.yml. Cargo.lock is generated by cargo but shipped by crates.io and removed by dh-cargo before resolution; the CI configs and Cross.toml are neither built nor installed. - No other licence or copyright notice exists anywhere in the tree: no headers on src/ files, no vendored third-party code, no NOTICE/AUTHORS files.
- debian/copyright.debcargo.hint is the debcargo template (contains the FIXME/UNKNOWN-YEARS placeholder); it is covered by
Files: debian/*and is not installed in the binary package. - Dependencies exist in the reviewing archive: librust-nix-dev 0.30.1-3+b1 provides librust-nix-0+default/fs/user-dev, librust-rand-dev 0.10.3+ds-1 provides librust-rand-0.10+default-dev, rustc 1.99.1 satisfies (>= 1.85), and dh-cargo 34 provides dh-sequence-cargo and ships cargo-auto-test.
- debhelper compat 13: dh skips the override_dh_auto_test target when DEB_BUILD_OPTIONS contains nocheck (checked with the debhelper tool); the
<!nocheck>Build-Depends-Arch entries are only needed by the test step, where dh-cargo's cargo.pm compiles the crate (its build() step only copies sources), so this is not a nocheck FTBFS. dh-cargo's own Depends pulls cargo in for the configure step. - The patch relax-deps.patch relaxes nix to
>= 0.30, < 1to match the archive's nix 0.30.1; Cargo.lock still pins 0.31.3 but cargo.pm's configure() removes it beforecargo prepare-debian, so the patch is consistent with the build. - debian/rules uses
dh $@ --buildsystem cargowith dh-sequence-cargo; the override passestest --allto dh_auto_test, and the|| trueis debcargo's generated handling fortest_is_broken = true. - debian/control: Architecture: any with Multi-Arch: same, versioned Provides for all feature variants,
Breaks: rustc (<< 1.85~),Testsuite: autopkgtest, Vcs-* fields; Standards-Version 4.7.4 against Policy 4.7.4.1 is current enough. - debian/changelog: 0.3.1-1, distribution unstable, correct Thursday date, debcargo-generated entry; debian/source/format is 3.0 (quilt); debian/upstream/metadata has Archive/Repository/-Browse/Documentation.
- uscan found the packaged version as the newest upstream release (upstream
0.3.1, packaged0.3.1).
Not confirmed ◂
- Could not verify the upstream copyright years 2023-2026: the crates.io tarball carries no dated copyright notice and the debcargo hint explicitly says the years came from upstream git.
- Build and test results were not run in this read-only review; the package's tests are marked flaky via
test_is_broken = truebecause upstream writes test files relative to the read-only crate directory, so it is unconfirmed whether they would pass with TEST_DIR pointed at a writable path.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.