From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-040.btinternet.com (mailomta13-sa.btinternet.com [213.120.69.19]) by sourceware.org (Postfix) with ESMTPS id CD12A3858006 for ; Sun, 3 Jan 2021 15:19:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CD12A3858006 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from sa-prd-rgout-001.btmx-prd.synchronoss.net ([10.2.38.4]) by sa-prd-fep-040.btinternet.com with ESMTP id <20210103151928.TVMT29410.sa-prd-fep-040.btinternet.com@sa-prd-rgout-001.btmx-prd.synchronoss.net> for ; Sun, 3 Jan 2021 15:19:28 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-SNCR-Rigid: 5ED99EC9216BBF8A X-Originating-IP: [81.129.146.178] X-OWM-Source-IP: 81.129.146.178 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedujedrvdefuddgjeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepueekleegjefhfeethfduudejtedvlefgvdffgefgteekudetkeehheeuledtheegnecuffhomhgrihhnpehphihpihdrohhrghenucfkphepkedurdduvdelrddugeeirddujeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduuddungdpihhnvghtpeekuddruddvledrudegiedrudejkedpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhdqrghpphhssegthihgfihinhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (81.129.146.178) by sa-prd-rgout-001.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED99EC9216BBF8A for cygwin-apps@cygwin.com; Sun, 3 Jan 2021 15:19:28 +0000 Subject: Re: [RFE] calm needs to know about ZStandard compressed archives To: "cygwin-apps@cygwin.com" References: <8735zt7j3t.fsf@Rainer.invalid> <875z4iou3b.fsf@Rainer.invalid> <871rf6otv7.fsf@Rainer.invalid> <6aebdeb5-82ab-03a1-31c1-9d36fe4aac22@gmail.com> From: Jon Turney Message-ID: <53032d89-0aff-b533-6e0f-3057def38c68@dronecode.org.uk> Date: Sun, 3 Jan 2021 15:19:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3569.7 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 15:19:31 -0000 On 31/12/2020 17:08, Jon Turney wrote: > On 31/12/2020 16:01, Marco Atzeri via Cygwin-apps wrote: >> On 31.12.2020 16:52, Achim Gratz wrote: >>> Marco Atzeri via Cygwin-apps writes: >>>> On 31.12.2020 16:47, Achim Gratz wrote: >>>>> Jon Turney writes: >>>>>> This isn't totally straightforward as calm uses the python tar module >>>>>> to validate the upload archives, but that doesn't (yet) support zstd >>>>>> compression. >>>>> Maybe this would help until upstream gets their act together… >>>>> https://pypi.org/project/xtarfile/ >>>> >>>> do you need it as python package ? >>> >>> The tricky part is if it's available on sourceware, I'd guess. >> >> locate says no, for the time being > > Thanks, but since this is only done in one spot, I think I can just > arrange to pipe ztd archives through 'unzstd' before validating. Actually, on second look, we need to look inside the archive in a couple of places (to check if it's empty, and to generate the package file listings), so using xtarfile seems like the right approach. I can arrange to install it on sourceware, but it would be nice if python-xtarfile was packaged so it can be made a prerequisite of the calm package.