Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] dua-cli: update to 2.23.0
Date: Mon, 11 Dec 2023 20:21:38 +0100	[thread overview]
Message-ID: <20231211192138.cwi87rbNg0dJlenA09fD19iyG2b5lvqMsxovor2GmIo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47626@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages dua
https://github.com/void-linux/void-packages/pull/47626

dua-cli: update to 2.23.0
#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/47626.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dua-47626.patch --]
[-- Type: text/x-diff, Size: 2137 bytes --]

From 4243a274b0dd75d6f067720cd8310f156a46a738 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 11 Dec 2023 14:21:23 -0500
Subject: [PATCH] dua-cli: update to 2.23.0

---
 srcpkgs/dua-cli/patches/fix-32bit-test.patch | 19 +++++++++++++++++++
 srcpkgs/dua-cli/template                     |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/dua-cli/patches/fix-32bit-test.patch

diff --git a/srcpkgs/dua-cli/patches/fix-32bit-test.patch b/srcpkgs/dua-cli/patches/fix-32bit-test.patch
new file mode 100644
index 0000000000000..925fdc2eb9aa9
--- /dev/null
+++ b/srcpkgs/dua-cli/patches/fix-32bit-test.patch
@@ -0,0 +1,19 @@
+diff --git a/src/traverse.rs b/src/traverse.rs
+index 157ce2c3a60..b2c87249dd0 100644
+--- a/src/traverse.rs
++++ b/src/traverse.rs
+@@ -312,10 +312,10 @@ mod tests {
+ 
+     #[test]
+     fn size_of_entry_data() {
+-        assert_eq!(
+-            std::mem::size_of::<EntryData>(),
+-            80,
+-            "the size of this should not change unexpectedly as it affects overall memory consumption"
++        assert!(
++            std::mem::size_of::<EntryData>() <= 80,
++            "the size of this ({}) should not exceed 80 as it affects overall memory consumption",
++            std::mem::size_of::<EntryData>()
+         );
+     }
+ }
diff --git a/srcpkgs/dua-cli/template b/srcpkgs/dua-cli/template
index 327aa1247a183..1be4fd8325d4c 100644
--- a/srcpkgs/dua-cli/template
+++ b/srcpkgs/dua-cli/template
@@ -1,6 +1,6 @@
 # Template file for 'dua-cli'
 pkgname=dua-cli
-version=2.20.3
+version=2.23.0
 revision=1
 build_style=cargo
 short_desc="Tool to conveniently learn about the disk usage of directories"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://github.com/Byron/dua-cli"
 changelog="https://raw.githubusercontent.com/Byron/dua-cli/main/CHANGELOG.md"
 distfiles="https://github.com/Byron/dua-cli/archive/refs/tags/v${version}.tar.gz"
-checksum=b526c8c43853943f025ba36bf7297fbd9b1beb395ad92e70c41fed7d8d584be7
+checksum=61f6fd0c13949d23224d9776c2fd444956d73dd363501e867cf11df6ca89ddfa
 
 post_install() {
 	vlicense LICENSE

  parent reply	other threads:[~2023-12-11 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-06 20:35 [PR PATCH] dua-cli: update to 2.21.0 cinerea0
2023-12-09 21:43 ` [PR PATCH] [Updated] " cinerea0
2023-12-11 17:55 ` [PR PATCH] [Updated] dua-cli: update to 2.22.0 cinerea0
2023-12-11 19:21 ` cinerea0 [this message]
2023-12-15 19:15 ` [PR PATCH] [Closed]: dua-cli: update to 2.23.0 cinerea0
2023-12-15 18:58 [PR PATCH] " jcgruenhage
2023-12-15 19:23 ` [PR PATCH] [Updated] " jcgruenhage
2023-12-16  9:04 ` jcgruenhage
2023-12-16  9:09 ` jcgruenhage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231211192138.cwi87rbNg0dJlenA09fD19iyG2b5lvqMsxovor2GmIo@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).