From patchwork Thu Feb 15 22:53:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emil Velikov via arch-projects X-Patchwork-Id: 395 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 E01D3218C71D for ; Thu, 15 Feb 2018 22:53:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo.archlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED=0.1, DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,RCVD_IN_DNSWL_MED=-2.3 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 15 Feb 2018 22:53:19 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id D83458AD6C3E0; Thu, 15 Feb 2018 22:53:09 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 15 Feb 2018 22:53:08 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 359D42BA92; Thu, 15 Feb 2018 22:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1518735179; bh=OFuI9oM3NKqfAtdFjZV4efs7p8f/lvf6LJ9CVzFwwys=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc; b=u6I6LB9eaoBmtJz+BOq5+M5x3iu5A2El5FYfl3cXu4Ff+KoLC4wmhLWiKl1TQGi6C TiuxDgZ88dxDE8BJT+R7j59Rhva4hYk7O05tv5FHqiEXB9c25PpULaEAN0oqPs2FLE vMf9XY3Fm/yfKP4hXk1wSywL4O9amw2QDxfRs3bNI+8ZKTfH8GvJWUFKV5ypI3WOpC X6/3ZZVod88eUMgYJl/Zsuxqu+XtMAH0GL3tuiC6YACdrUUuy/a+zn4nc6tK/XetI8 Aa0hqCOnvPWkk5ufq6je1e0hKfiiLNQL3uMcbVPKmdi5SCWWwTQfAoi/pRgegjyFkI SRKMOIot2hQODU0FF6OL7i5flb8ZRdfTIJr+yxkGIB3i6hm/oOFM6oYvdq3vyzRMTg uegRy8iK2FtPZVi+Uel9GylzXQbTMjwa6voPS/YiaDbKEhTwr118l396d9cnrK7Koy 6E/q7+fuofbCiMrg3CLx4Ntb8D4N1X7hT2EhV5rWqjYh2dGauZ+aSx8vmNVIHEXoGg /f6KLMb4ZTt4+Ux77wFyl0MOuGSlnwAY9CgaBnE+tdGPmbWySyPO9I+U8U3zp+s8G3 mxOm2L26XG8cQUp32oOBqHLYSv/pw+skbLiorOz9fvS/b1fZx3FE88JFoGTh6Fx4ft vP8fRuOp/b9x6MRsdcLA9aYI= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 080E42078C for ; Thu, 15 Feb 2018 22:52:58 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 15 Feb 2018 22:52:58 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 2A8F08AD6C3C7; Thu, 15 Feb 2018 22:52:46 +0000 (UTC) Received: from didactylos.localdomain (unknown [216.97.144.179]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) (Authenticated sender: eschwartz) by orion.archlinux.org (Postfix) with ESMTPSA id 976618AD6C3C5; Thu, 15 Feb 2018 22:52:45 +0000 (UTC) To: arch-projects@archlinux.org Date: Thu, 15 Feb 2018 17:53:08 -0500 Message-Id: <20180215225308.2529-1-eschwartz@archlinux.org> X-Mailer: git-send-email 2.16.1 MIME-Version: 1.0 Subject: [arch-projects] [dbscripts] [PATCH] Do not support wildcards in PKGEXT, and standardize on xz compression. X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Schwartz via arch-projects Reply-To: Arch Linux projects development discussion Cc: Eli Schwartz Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" This results in unpredictable behavior when used across, variously, bash [[, POSIX sh [, and find -name Its usage depended on matching only one result, which is bad practice. Moreover, it never worked in the first place as - The majority of alternative compression extensions available in makepkg do not use *exactly* two chars. - It accepted lots of extensions that aren't valid at all, like for example .pkg.tar.💩z (which is what I think of using nonstandard compression schemes). Since devtools pushes xz, and every single package currently in the repos uses xz, and AFAIK we haven't actually used any others, it makes sense to just assume xz as the only supported PKGEXT. Signed-off-by: Eli Schwartz --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index d2c1942..d292c9f 100644 --- a/config +++ b/config @@ -25,7 +25,7 @@ TMPDIR="/var/tmp" ARCHES=(x86_64) DBEXT=".db.tar.gz" FILESEXT=".files.tar.gz" -PKGEXT=".pkg.tar.?z" +PKGEXT=".pkg.tar.xz" SRCEXT=".src.tar.gz" # Allowed licenses: get sourceballs only for licenses in this array