From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.bugs Subject: bug#45346: [elpa-archive] :ignored-files is processed to early Date: Mon, 21 Dec 2020 11:20:34 +0100 Message-ID: <87im8vbgul.fsf@bernoul.li> References: <873600i529.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26078"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45346@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 21 11:21:40 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krIJu-0006ex-Iq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Dec 2020 11:21:38 +0100 Original-Received: from localhost ([::1]:39028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krIJt-00081x-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Dec 2020 05:21:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krIJK-00081p-6u for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 05:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krIJK-0002s3-00 for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 05:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krIJJ-000844-S9 for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 05:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Dec 2020 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45346 X-GNU-PR-Package: emacs Original-Received: via spool by 45346-submit@debbugs.gnu.org id=B45346.160854604130935 (code B ref 45346); Mon, 21 Dec 2020 10:21:01 +0000 Original-Received: (at 45346) by debbugs.gnu.org; 21 Dec 2020 10:20:41 +0000 Original-Received: from localhost ([127.0.0.1]:46383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krIIz-00082t-Di for submit@debbugs.gnu.org; Mon, 21 Dec 2020 05:20:41 -0500 Original-Received: from mail.hostpark.net ([212.243.197.30]:46178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krIIw-00082a-AX for 45346@debbugs.gnu.org; Mon, 21 Dec 2020 05:20:39 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id A5780160EC; Mon, 21 Dec 2020 11:20:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1608546036; bh=f67xV6o30FlXHR9LIEXsgJoH ozy/Xb9c2iV+iKYTIqQ=; b=AXIy3ujmH8BcfbBpPb1WDgCInLOa1WQDRFXp3Opl XZKXPhwwo/ysa1IMP62cihBLlrjF2oVGpm4VHSRLeR2uadLsHZwyFcjLO88G2zgQ fiJym3fBdaEBjEVjSOXcTYMkD3jfj7WF77IBKn8EQ7PehL7gcy+oZSk4KIRPRKuO dtY= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id j41W0jf0tYPx; Mon, 21 Dec 2020 11:20:36 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 6EB0E160DD; Mon, 21 Dec 2020 11:20:36 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196531 Archived-At: Stefan Monnier writes: >> It appears that `:ignored-files' is processes before `:renames' and >> that that should be changed. > > Indeed, the renaming is applied last and it's not easy to change that > with the approach I use (the renaming is done by `tar` via > `--transform`). > > Maybe I could try and remove the entries after generating the tarball. > Hmm... IMO it would be better to just do it in lisp and simplify the call to `tar'. > Note, FWIW, I tend to consider that it's OK to keep useless files in the > tarball as long as they're not actively harmful (e.g. they triple the > size of the tarball), and more generally I think it's best to use > `:ignore` and `:renames` with moderation. I consider useless files to be actively harmful. Some users will investigate what those apparently useless files are for and once they have seen that they are in fact useless some of them still won't be satisfied and continue to wonder what they have missed because obviously nobody would include such useless files... I am like that and would like to save others (plural) from having to do the same work over and over again when I can just do it for them once. Jonas