From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85882 invoked by alias); 17 Feb 2016 14:31:16 -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 85795 invoked by uid 89); 17 Feb 2016 14:31:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1817, Hx-spam-relays-external:ESMTPA, HTML X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 17 Feb 2016 14:31:11 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 37F8321AED for ; Wed, 17 Feb 2016 09:31:09 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 17 Feb 2016 09:31:09 -0500 Received: from [192.168.1.102] (host86-141-131-217.range86-141.btcentralplus.com [86.141.131.217]) by mail.messagingengine.com (Postfix) with ESMTPA id D6939C00014 for ; Wed, 17 Feb 2016 09:31:08 -0500 (EST) From: Jon Turney Subject: Re: setup.hint documentation issues To: cygwin-apps@cygwin.com References: <56B9E71A.7010002@dronecode.org.uk> <877fid3cle.fsf@Rainer.invalid> Message-ID: <56C48426.50904@dronecode.org.uk> Date: Wed, 17 Feb 2016 14:31:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <877fid3cle.fsf@Rainer.invalid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-02/txt/msg00042.txt.bz2 On 09/02/2016 19:31, Achim Gratz wrote: > Jon Turney writes: >> I'd suggest that double-quoting of those keys is made mandatory, and >> embedded double-quotes are forbidden, as this permits simpler >> processing of this text, lexing character by character. > > OK, although we might need some sort of escaping in the long run. Yes, I have no problem with later adding escaping e.g. using '\', if needed, since that can written with a character by character lexer. But writing a replacement setup.hint parser, while maintaining bug-for-bug compatibility with the existing behaviour, requires a line-by-line processing with various transformations... >> upset knows enough to omit packages which have no install tarfiles >> (i.e. are source-only) from from setup.ini, irrespective of 'skip'. >> >> However, the presence of 'skip' also causes the package to be omitted >> from the HTML package list. > > I could be wrong, but it seems it may have been intended to deal with > packages that became obsolete, but the previous version was still kept. Any package marked 'skip' is completely omitted from setup.ini, so setup won't do anything with it, so I don't think that can be the use for it. >> I think cygport's behaviour has changed over time, but currently will >> mark source-packages as 'skip', however there are several packages >> that are source-only (e.g. attica), that are missing 'skip'. > > So the proposal is to remove skip or make it mandatory for source-only > packages? I'm not sure. I think I tend towards removing it, since it doesn't add any information. But currently cygport generates a setup.hint for source-only package which only contains 'skip'. I'm not sure that's the best idea, as having no sdesc, etc. means we can't describe the source package.