delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/07/16:25:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=EWWavTko3ET8Y6z/
aubl98LB22UeBUmLf87F+2Hfy4iK2zP00A60CBgGU6b+734GUMOM29zdrGEA+sF0
MJK+MgyyobcKhEiweudTkwDsPfNiDXYxqXsOjoyg0ENBIzkNVp3VXR29RqWECoiq
bPRhOBBj0SN1vyadfu0o/AZdHsc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=kiE4v/SPK28U52js1XMnys
bcWf0=; b=j53+iKtx8ji/1dGGHv+zK6qAfnGIg20E3dWh6ddWXC3EPO5wyNT2Ci
Xjm8UWf4RTRdjQvda7FlfOEUjyRU7eKhssuBRyA+8v4GK1hpfsqaHtvKid4+w1F0
SBUc9uqfEhlMbCPS15R5s5W5vVpUnBOpswzL3I1Hcs9eYdn+GKHk8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, HX-HELO:sk:smtp-ou, H*RU:shaw.ca
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=JLBLi4Cb c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=QNx5F_gu7w-5mKLXJycA:9 a=QEXdDO2ut3YA:10 a=7pfHQITGRssA:10 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: Installer names not meaningful enough
References: <CAG-pUxkQ_iniFA0r9i2zkT1uFMEvCei0wc9rd45RBYj2uBnVhA AT mail DOT gmail DOT com> <CA+Fg1xZgE-zNDXAefFAG8Q9frBOPs75OetmbDCh0bji1PADeCQ AT mail DOT gmail DOT com> <20161207095701 DOT GB2661 AT dimstar DOT local DOT net> <3EF08C00-39BE-4A05-898D-49CB71057FD4 AT yahoo DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Message-ID: <dcf6039e-0103-ad99-676a-5cdb65a585a4@SystematicSw.ab.ca>
Date: Wed, 7 Dec 2016 14:24:55 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <3EF08C00-39BE-4A05-898D-49CB71057FD4@yahoo.com>
X-CMAE-Envelope: MS4wfHYwfTQuSwjJTS03tCacTnKUhPnaxXmJLbMZ7xXa+AtgBhYWCHazYX/bGIVCCNAUxE4t3gZ1xq+pYAMajqDFTqzVVB4rRWiS2hLo3j/Pfz9VVvtDLVyc wiz79M/4bgSzGXV+CKMJSKDRKL520rQjoWv9sCFZQGB19hX+XWlP8Tjze9w6pFtmdk5ciUSEShZmHQ==
X-IsSubscribed: yes

On 2016-12-07 07:46, Ian Lambert wrote:
> On December 7, 2016 4:57:02 AM EST, Duncan Roe wrote:
>> On Tue, Dec 06, 2016 at 10:11:42AM +0100, Gerrit Haase wrote:
>>> 2016-12-01 11:51 GMT+01:00 Roberto RĂ­os Gallardo says:
>>>> Please give the installers more meaningful names. In
>>>> particular, make sure "cygwin" is part of it.
>>>> "setup-x86_64.exe" is not very obvious. A version number would
>>>> be nice too.
>>> The version is part of setup.ini in the header:
>>> # This file was automatically generated at 2016-12-05 09:43:16 UTC.
>>> #
>>> # If you edit it, your edits will be discarded next time the file is
>>> # generated.  See http://cygwin.com/setup.html for details.
>>> release: cygwin
>>> arch: x86_64
>>> setup-timestamp: 1480930996
>>> setup-version: 2.876
>>> ...
>> Where is setup.ini?
> $ locate setup.ini
> /cygwin-install/path/ftp.some.mirror/x86_64/setup.ini

More generally, without locate installed or updated, 
you can find it quickly with: 

$ grep -A1 '^last-cache$' /etc/setup/setup.rc
last-cache
        C:/cygwin-package-cache

at: 

$ ls $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini

giving: 

$ grep '^setup-version:\s' $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini
setup-version: 2.876

or: 

$ sed '/^setup-version:\s/!d;s///' $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini
2.876

Unwrap commands if required to copy and paste.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019