From patchwork Fri Mar 8 02:36:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santiago Torres-Arias X-Patchwork-Id: 1027 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 9F0E9C4471DF for ; Fri, 8 Mar 2019 02:37:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on apollo X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00=-1, DKIMWL_WL_HIGH=-0.001,DKIM_SIGNED=0.1,DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3, T_DMARC_POLICY_NONE=0.01 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-BL-Results: [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Fri, 8 Mar 2019 02:37:29 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id AC8FB111212CF0; Fri, 8 Mar 2019 02:37:27 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Fri, 8 Mar 2019 02:37:27 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 911622C06A; Fri, 8 Mar 2019 02:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1552012640; bh=3QkgOHNI7LopI6+nTx4twxKgyHdwQwwu0wftm+3uQKY=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Reply-To:Cc; b=CFL3xzJGzWPVPT3eXeYSfivuVV6ZRUMfZAcU6MBlC4S5gvTFy1BHSQEiYTtX4isDz een7RKCi14AOJiwJX7lc0+0oOM7g/o5OsP+zPYrzJ2B2VGPhMi0kTt/Fa9QLZ0dJa/ x1JdADMRsxcYbZEyb+0Bdgjc+8yizGakmYfmY3grcDsVWTLex4YSnMW9gITnvuv0Hx KqSX3ECgoiCdnI88z8ysb0/HfEdimzd2SSllsUEiXzAZ1KagdJ1m+8YvLGOd8XHdwQ oNjZh6ZMrIc0WnIiBr6QhifP95VF1W+qUhvQRQk8Mhk53M8LK2fQqJe6CXRcsxdZj0 97attO+p3G27dPvCWDJhzJGs5ZjaZ9jiFGYzD0wPrEm9eTYAv94lt8EtpbcWx7c5R/ o2QnRSmzlFfRzZDsa+BwG7VgblQEVjq3MP0oF2f8Qkp+bDDDh9NhYRjTp3D8jFljoU 5tORuZOO3I662XTN0C7Ay0oUo0PDWPwZLSxmy0VEOiF4dLQ7xdPvnK2tny2k/CNJAw L+eGEclvVcF8l3QMG0INCTFLbumsMEPF9SFTNwJP/47EjNrYC2DSNcfEKv71Tbe43P vTChRCnrkn8VXdHNVNbYSyPnAIt4smPWhrGweS+45N0+5Wpg6JxZhRL4gYli4pQ0i9 F1cLr6vyw60Rwh2hTWS155y0= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id EB4A12BFEE for ; Fri, 8 Mar 2019 02:37:14 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for ; Fri, 8 Mar 2019 02:37:14 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id E7808111212CCA; Fri, 8 Mar 2019 02:37:09 +0000 (UTC) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Fri, 8 Mar 2019 02:37:09 +0000 (UTC) Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id E0B431A6126; Thu, 7 Mar 2019 18:37:06 -0800 (PST) X-Riseup-User-ID: 51D3E80CD9A397E161EA75F2DF7268F36CBE93DA62C0D9AC1E12A17F945A4D93 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 5B335120451; Thu, 7 Mar 2019 18:37:06 -0800 (PST) From: Santiago Torres To: pacman-dev@archlinux.org Date: Thu, 7 Mar 2019 21:36:57 -0500 Message-Id: <20190308023659.360-1-santiago@archlinux.org> MIME-Version: 1.0 Subject: [pacman-dev] [PATCH 0/2] [WIP] Fix du filesize computation X-BeenThere: pacman-dev@archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for pacman development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Discussion list for pacman development Cc: jelle@archlinux.org Errors-To: pacman-dev-bounces@archlinux.org Sender: "pacman-dev" This patchset is a WIP that tries to address FS#61717[1]. This is my first patch for pacman, so I may be missing a couple of the heuristics of proper pacman develoment. Namely, I'm worried about the use of xargs (I went down this road because I wanted to have the minimal set of changes). I'm not sure what're the heuristics for what I can assume (e.g., can findutils be assumed to exist?). As a followup of this, I removed the configure.ac stuff related to DUPATH and DUFLAGS. I'm not sure if we'd want to add XARGSPATH or so. I opted to not do that just yet. Thanks, -Santiago. [1] https://bugs.archlinux.org/task/61717 Santiago Torres (2): Make makepkg compute sizes properly configure.ac: drop DU* config configure.ac | 10 ---------- scripts/makepkg.sh.in | 3 +-- 2 files changed, 1 insertion(+), 12 deletions(-) --- 2.21.0