From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14157 invoked by alias); 14 Jun 2019 15:36:53 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 14146 invoked by uid 89); 14 Jun 2019 15:36:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=calm, acknowledge, adjustments, cross-compiler X-HELO: rgout0705.bt.lon5.cpcloud.co.uk Received: from rgout0705.bt.lon5.cpcloud.co.uk (HELO rgout0705.bt.lon5.cpcloud.co.uk) (65.20.0.145) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Jun 2019 15:36:51 +0000 X-OWM-Source-IP: 86.141.131.103 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-SNCR-VADESECURE: CLEAN Received: from [192.168.1.102] (86.141.131.103) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.26-1) (authenticated as jonturney@btinternet.com) id 5C6509360B287C64 for cygwin-apps@cygwin.com; Fri, 14 Jun 2019 16:36:48 +0100 From: Jon Turney Subject: Moving packages between arch and noarch References: <9de6f042-3510-ef4c-9c2d-90f354244691@cygwin.com> To: "cygwin-apps@cygwin.com" Message-ID: Date: Fri, 14 Jun 2019 15:36:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <9de6f042-3510-ef4c-9c2d-90f354244691@cygwin.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2019-06/txt/msg00004.txt.bz2 On 10/05/2016 23:11, Yaakov Selkowitz wrote: > Package Maintainers, > > cygport 0.22.0 is on its way to the mirrors.  With this release, and > thanks to Jon Turney's continuing work on calm (the replacement for > upset which generates setup.ini), packages marked ARCH=noarch will be > uploaded once under the /noarch/release hierarchy instead of into each > of /x86/release and /x86_64/release.  This change is intended to save > disk space and bandwidth for both sourceware and our mirrors. > > A package should be marked ARCH=noarch IF AND ONLY IF *all* subpackages > thereof do not contain anything compiled with the *native* gcc, and the > file contents are (or can be) 100% identical for x86 and x86_64. > Examples include, but are not limited to, packages which contain only: > > * documentation; > * scripts; > * fonts; > * icon themes; > * other runtime data; > * C/C++ headers without a library; > * libraries for cross-compiler toolchains. > * pure Lua/Perl/Python/Ruby/Tcl modules without C/C++ bindings. > > Once you have upgraded to cygport 0.22.0, maintainers MUST email a list > of their package(s) which qualify as noarch AND are already marked > ARCH=noarch or will be with the next release.  (Note that inheriting > cross.cygclass implies ARCH=noarch.)  A new release is NOT necessary > just to add ARCH=noarch to the .cygport, just that it should be added > locally so as to be included in the next release.  We will then move > these packages into /noarch/release on sourceware and acknowledge such, > at which point you are clear to upload future releases. I recently deployed a calm update which makes this process (and it's reverse, when a previously noarch package becomes archful) no longer require any manual steps. So, going forward, you may build each version of a package with ARCH=noarch and upload to noarch/, or without, and upload to x86/ and x86_64/. (But not both! Attempting to upload a package version which already exists with different archfullness will be rejected) (More complex reconfigurations, where packages are split/merged/renamed still require manual adjustments)