Message ID | 20171030181519.24501-4-eschwartz@archlinux.org |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <pacman-dev-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost.localdomain [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 32446178CF08 for <patchwork@archlinux.org>; Mon, 30 Oct 2017 18:15:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.4 required=2.5 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.1 Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Mon, 30 Oct 2017 18:15:58 +0000 (UTC) Received: from orion.archlinux.org (localhost.localdomain [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 341726FE1A7AA; Mon, 30 Oct 2017 18:15:57 +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; Mon, 30 Oct 2017 18:15:57 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id D7A15236A7; Mon, 30 Oct 2017 18:15:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=luna2; t=1509387356; bh=wGsKPmLWAvasfP7ZNdCYjpjiOE6bWqGxA5S5fh/runM=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To; b=E0DH4lhGRhPtfButTV/jwYs/QY7oAJGgDNkOp9MKftSlhLbQnHR3jPkOx9iLTo4Kf F0na3eTd9a2iIMjzUTWovSkPW4tSUUIJ9TeCQhX5EtuB7iDEeWOZbno9NirdQCadmF woWhI1JJQMBupCEXxinM87HKGW474JDwAIqh2bpaziwmKxb23bWxvkjDR30Fde0/S6 Lb4PCRi7HAPX8O7Cy28ZCAKYZB50GHbWjVvneT2WJ8GW2NGV8qWLWR574bBTXbB6/Y JPTaM7VvXzqBZczKcP62Efl3MFHvNReAcfbdmrBYtmCkfyhesVmYFvGUmro7yvuvk2 h7BuIzBJWfLLqt4DpTDwL3C7lYSMHoUghwFPlNnQbt4hqD+806YjnijZKck4KKscms yrg9h4aFkKZvguUN1fno5lX5ET3jcE/ELi+terh0SRVYJj3dugK9wt3hvb6tXPwgpQ uz6Z61MT1d5F1nfKPdJP3O57EdZ0eRLPTle1NH56zoxrlK0Ns+J06ACWhFkQQCCVZq bR+BIFKiZFwL9NC9WzQZ+x3YOiP2JgHw27tA6TqUxmgfdrzxEpZRVi7X6w3N3kI8mr V2i3FsEFD8ApXBd0/GWgSvAFwkAoB3uBF0z1BJ4tcUMiplMT4N2z9/oYuHXLqItCqk Vf1EA0CC8OzJPjUgjnBpmE+w= Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 9948A21415 for <pacman-dev@lists.archlinux.org>; Mon, 30 Oct 2017 18:15:55 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for <pacman-dev@lists.archlinux.org>; Mon, 30 Oct 2017 18:15:55 +0000 (UTC) Received: from orion.archlinux.org (localhost.localdomain [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 1B3B56FE1A793; Mon, 30 Oct 2017 18:15:54 +0000 (UTC) Received: from vostro.localdomain (unknown [216.97.145.78]) (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 47B576FE1A790; Mon, 30 Oct 2017 18:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1509387352; bh=wGsKPmLWAvasfP7ZNdCYjpjiOE6bWqGxA5S5fh/runM=; h=From:To:Subject:Date:In-Reply-To:References; b=XZaN17NntFOoEWsB8Hlift+gxFd6C/YHJ2LJEGJKcJxKbGJyCtc5wkJ/cHC4yugkP t6x/YgWfnPNbuTUEi4uNXNlDov9EHOPW7YPQfTtvAPQjhsyc4AUZtpuYytFbbyLQ2o 8VmaelrU+cyw/J8/M1X2UzAavWbo2i2jY4mpYBU0fDDwyzx7GapxHhFut/314iYCwB sy488N62uAKVCFAtK1vzRJAT6u4XRa38T8iOtDSx7D0PwkQK5tM33U84WFpQfJtD21 D+IjSUkNlU3MD5J2eajxxiwP4tPBXsZs4lpu76OkpS++bvo5+eUWQgvmhBZnpuTU+s RBsEgm+0+CbcDdcDMAerpUXo5rrwe79kJC5RlcsesYCQFSHm97MZjennzqL2Gl2kYe 1FtohDHC11NUQ3Cf7zDSnuD6mvvvPhHbhZNPD4acACDeukwukRD3EKsMLP41DQnZ9u G9TqEqtNg2b0a104p9XgJTU+SyPLZv6KSAwIXWvvkdT53AFiJodbFQ+qIi+Ig1iJgh TZGQCORDP4/9CO1BbYwJpmHzEoX9RriIBxp7Uz5dwxsw1VKW+pXotpv1si94ZeS9Jc ud7HcttT+I8wkVBvnxM+SCECCe6aP0qcSfMH4YimgoOBVJl7XpZcyn01Mt1yc0sXAf NiICKFnmyV/FxjFUkJ8Z+NVE= From: Eli Schwartz <eschwartz@archlinux.org> To: pacman-dev@archlinux.org Date: Mon, 30 Oct 2017 14:15:19 -0400 Message-Id: <20171030181519.24501-4-eschwartz@archlinux.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171030181519.24501-1-eschwartz@archlinux.org> References: <20171008065024.12604-1-eschwartz@archlinux.org> <20171030181519.24501-1-eschwartz@archlinux.org> Subject: [pacman-dev] [PATCH v3 4/4] repo-add: add support for the zst format X-BeenThere: pacman-dev@archlinux.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion list for pacman development <pacman-dev.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/pacman-dev/> List-Post: <mailto:pacman-dev@archlinux.org> List-Help: <mailto:pacman-dev-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=subscribe> Reply-To: Discussion list for pacman development <pacman-dev@archlinux.org> Errors-To: pacman-dev-bounces@archlinux.org Sender: "pacman-dev" <pacman-dev-bounces@archlinux.org> |
Series |
[pacman-dev,v3,1/4] libmakepkg: fix .gitignore to simply ignore all generated .sh files
|
expand
|
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 68edbf4b..ccc0c89b 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -300,6 +300,7 @@ verify_repo_extension() { *.db.tar.gz) TAR_OPT="z" ;; *.db.tar.bz2) TAR_OPT="j" ;; *.db.tar.xz) TAR_OPT="J" ;; + *.db.tar.zst) TAR_OPT="--zstd" ;; *.db.tar.Z) TAR_OPT="Z" ;; *.db.tar) TAR_OPT="" ;; *) error "$(gettext "'%s' does not have a valid database archive extension.")" \
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- no changes I decided not to refactor repo-add, at least not right now. The current code makes too many assumptions about its differing implementation. I'm not sure why we fail on unknown extensions, really, considering pacman doesn't care if we fall back to plain old tar, and we take advantage of this in makepkg. scripts/repo-add.sh.in | 1 + 1 file changed, 1 insertion(+)