From owner-svn-ports-head@freebsd.org Sat Apr 18 07:49:50 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8411C2C05E0; Sat, 18 Apr 2020 07:49:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4944qd2v81z3DV8; Sat, 18 Apr 2020 07:49:48 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg1-x541.google.com with SMTP id n16so2293936pgb.7; Sat, 18 Apr 2020 00:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4JsuaUZvTBz4xmwLCl2lsYWC7gotwV4Lqcqj9RHtpyM=; b=lPFr4EFLHqdSV4CNcIplUKr49Emps9q++dAWsCnFet2yhnveyicX+ZA7DBBSVvVNZb 8jCx0dpAu5Wr/16Gt7KkoGnhR/BNelkXdbCgh3YW0zebg1vt6qccYf98CbwgN0sU6vt6 uIn4w2QNpGksUztwIaNImtZNcn+gC34oMlLocupwgo8MyXfnTM+REWx20Vi54Ml486yR mXbhhzoVhuI0UzzIi/Ss0x9OkUB+z5mJHAf70m1OvVkit9CD0T9/hd8RA3jt9wCEYHgo SzqkB57JsQdS/C93yE8ZI4Qc48EeeCp8rRH1RyGEcJvgXgb8SD005ekxmS6j5b20bxd9 qGIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=4JsuaUZvTBz4xmwLCl2lsYWC7gotwV4Lqcqj9RHtpyM=; b=lRE04av/afR1aqxhlD5b394/Ia3gs1lMVv93Uym7JJ2ZmLSo9kKEiVHVkXSScdLNf2 YfqnNR3xLRojE1ysEvwZDVTTwLoCu956aB92dEB5UNG2NY+F0wyBXjKUZ16SaEVvQSTz Bog9iaAppxuLCHof5FOKMTBbkQIP9RQdup+V28MSKzTWrvfUnDLPxI5wVm9ytbvAAJso DzBU5J1YYPpLiNHTl9TLP2XwJ9z9JAdrHg0g8b7Bed/X5Q24F497zGWRpVA8SeL67Mmg oSQp0rPCQbRGN7HubFK/FEwjvMUAUPfRRZ6h4ji5PIg3WpVuySyRwVYsmyJyW9lNZ1w8 gqBw== X-Gm-Message-State: AGi0PuZjSsWobseKtj42ziS8Z+v0h18KKYAwDMEqqJAcM2Dsu/wdkPjQ YQRwvcekS3KnxfnMgoQ/mdqiyNEo X-Google-Smtp-Source: APiQypL+AWJli9HZte/WpvZ/KU5Mc6Jwj42ynFZbVKT1MGRha6ctaUGohwPBSO+ycSwqhJSiDgA8wQ== X-Received: by 2002:a63:1705:: with SMTP id x5mr6930596pgl.12.1587196187597; Sat, 18 Apr 2020 00:49:47 -0700 (PDT) Received: from [192.168.1.103] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id g11sm21153215pfm.4.2020.04.18.00.49.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Apr 2020 00:49:47 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r531949 - in head/devel: . libuInputPlus To: Alexey Dokuchaev , Baptiste Daroussin Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python References: <202004171637.03HGbWMf060426@repo.freebsd.org> <20200418022541.GA6251@FreeBSD.org> <70db47ee-0448-467b-92e6-278ad8bae2ab@localhost> <20200418071022.GA40012@FreeBSD.org> From: Kubilay Kocak Message-ID: Date: Sat, 18 Apr 2020 17:49:43 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Thunderbird/76.0 MIME-Version: 1.0 In-Reply-To: <20200418071022.GA40012@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4944qd2v81z3DV8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lPFr4EFL; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::541 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-2.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; IP_SCORE(-0.17)[ip: (-0.02), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2020 07:49:50 -0000 On 18/04/2020 5:10 pm, Alexey Dokuchaev wrote: > On Sat, Apr 18, 2020 at 06:28:06AM +0000, Baptiste Daroussin wrote: >> I never understood why portname should be lowercase if upstream considers >> it should not, there are precedent of mixed case (actually respecting >> upstream will). > > For the same reasons we don't have `www/Firefox', `databases/PostgreSQL', > etc. It does not look unixish. There are few special cases when it is > indeed desirable to use mixed cased names, e.g. CPAN packages, Python > modules, those things with established naming convention of their own, when > we bring lots of them to our ports and want to stay more or less consistent > with popular GNU/Linux distributions, but those are isolated groups. > > For some random unattached port it's almost always better tolower() it. > We're Unix, and lowercase is preferred by default. This tradition is > commonly seen throughout entire Unix heritage and is omnipresent, be it > login names, hier(7), or most APIs. This naturally applies to port and > package names. Please don't break this consistency. > > ./danfe > The Python example is in fact actually an example for the opposite. Python package (the scheme for their declaration) names are case insensitive, with regard to their name declarations both upstream at the package registry, as well as in dependency declarations in packages themselves. The reason we lower-case as a policy in Python is to reduce human, contributor, maintainer, committer error by reducing/removing the impedance mismatch between the case insensitivity upstream vs case sensitivity in ports.