From nobody Tue Apr 15 07:05:24 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZcFY103PCz5t5fN for ; Tue, 15 Apr 2025 07:05:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZcFY06XDvz3VP0 for ; Tue, 15 Apr 2025 07:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744700724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5HlHzeUHeCPvMJIYnrtDC4ynHrcFvfHVLkV3uh4HSx8=; b=JYeKA+4kNG7e+T+mOHQsPEdGpKY/anCLkI+go3fnaLGikz1y1M1Wt2wJ+9KZCnXydr5MHD kyKIDoig/WFmVTmnOTzFzDt7h3gJTv4qOVXk6iE7sHlHWjQYC/zQ+dSD+6/izx5zFEolQv 1OYs/3JBMsJIzmHmhTxMPbrWNi3XQh+Jor4mbU/fDGb1X4PST33eOqnAdb/BKlswb+coyo r29e/1exkP5TaafF0li0GYprUFSY31jdjwHr26PJZahssHyxleE4QIH7/ZUL+QlpEQRhJZ 7qqMIAScTwgkmw7SbIdXqS8LeA61oy2Gea9M3Fck0bgdNMRNJnrSqtu8fxUY1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744700724; a=rsa-sha256; cv=none; b=YQegc/5neewdGs+QubpsmvOJy1PYDyFsC4Cu6gmXbxTnc+ifCYbnotxshdKX34I5jgekVF qyVhTdyMY/oHO2V2F/ag+xIed9Py7nJdIZ262C94q3iKPieXe8m6/kz3666mLTd9BRxAB1 /cChLYvppiymXrAjgpz5yNQZyKtTUd+R04TZ81jb+h0oL+ki4CMUN9VbGVbWNzMavp/QdG +WVSsUHuDkELfyzBB+65ktTqqxoTHLTRPO0KwL7Tbqhs8g2Im1kYUXfpt1aUdGoPCw4JFj ntoC9UXaB02JkANbeW53LXPrSC+9nesSuhgGlu0g8qxJAfxescHeOnGDUwtLbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744700724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5HlHzeUHeCPvMJIYnrtDC4ynHrcFvfHVLkV3uh4HSx8=; b=HE9g+0w1LaYqW463VJFR+AyCp07IrMeQ2wskVZOsIa+qk/TVDCPEuCN224rBsKFaOSMTvU xLicpl73HSr+lnIPa/7RrCuowXejQEW+i8T9CxveSdqPfGzEcaHVqnKkZBwM3Geeyv6wgH ITtvrCPt4jcqtmJW+6YlMM+WFCvn4b9tsKgnGpSl5NNHw2TWvTthjGQ6ZJLLMG7eVc+MEW povePzEA0dSNPFLkKchs4SlCa9GpL6a2nzPkTr+jT8Hqdkwu3sKAo6gat1k9IZRk1JZ0nX bBDHa4P9TD5eqkfyFyTPlyWkI1JGLjSv/8BX8yXOnYOelIXZaRhkkPrb9U4OOQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZcFY05bwqz7ws for ; Tue, 15 Apr 2025 07:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 53F75Oca039032 for ; Tue, 15 Apr 2025 07:05:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53F75OER039031 for pkg@FreeBSD.org; Tue, 15 Apr 2025 07:05:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed Date: Tue, 15 Apr 2025 07:05:24 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 286107: ports-mgmt/pkg: improvement request: only install files whose checksum have changed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286107 --- Description --- Scenario: - FreeBSD stable/14 - ports latest - upgrading ports using 'pkg upgrade' Result: - All files of the old ports are removed, then all files of the updated por= ts are installed - For many ports, the contents of most files do not change at all - This results in unnecessary disk churn, SSD wear level increase, backup s= ize increase, etc. Desired result: - 'pkg upgrade' should compute the differences between the old and the new installed files, most likely using their checksum - 'pkg upgrade' should then delete and add files as necessary to implement = the new pkg plist. - Unchanged files should not be touched at all, not even their mtime. - This would help a lot especially with the big ports: KDE, LibreOffice, ... -- Martin