From owner-svn-ports-all@freebsd.org Sat May 18 15:45:21 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD7251590867; Sat, 18 May 2019 15:45:21 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-it1-x141.google.com (mail-it1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 43AF986D08; Sat, 18 May 2019 15:45:21 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-it1-x141.google.com with SMTP id q132so16557536itc.5; Sat, 18 May 2019 08:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=+LL6G9/UF3Du/JCfOJ5nW4Zx6DAc+xWRUXsAt2jbwaw=; b=Kz9fh8/ozVE0hnZYBDp97tjPCMuSqnco3BG4R3qKLLIACai7FZRIRqez77vh4ZwdKI 7kTSVaR0svkWYKC3q4sE5qK2x0Jk1w1JygT04oZzVStC8iYVMARnRg4sCYh3Es1wtxJv 6tLJvUbD1Et+ujLA0sMvI+nYDAEFkA5xZa/ushirODFKGtKeQbqF/cO0T1LgNkPaLa62 sIless3h3weFjdHMxaflBvyNEc+dSKqcGrmjeO1SdzdfXzoI7CSQAAjxs99t85KbbUM4 EX+71kj+Qc7KXt/FxEtUMMPqfv49qmr5Qourgz2oPAcFhV7nkFRMFnjfNyub6mT3sIHl Lq3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=+LL6G9/UF3Du/JCfOJ5nW4Zx6DAc+xWRUXsAt2jbwaw=; b=bTULQbkRwP/G7aRKAzuK1mUKTTE156Tka+8vrdQtt7KHcvA0m37MSWocQJ7bh/xu3H Mo75CwBlwhzOdZ5ldAwnQJCjBb2JVKhY9AQPDrImUKGBtyH5VZ3n7m3k7GSgpg+L2oOF LOj/VhSsFA3jpNxAcDVwx+rPrHCFwhw1kYIllDUbADeLmvoB7auN92TN2CcfbMlpQySx fcG9hu+1MX912KLHu+rUij7sBSZnIkmWvALOYgLhcXoT7vqluVcU+aCYsvWhipKlkCAX K2sgZUpcbCtTxHQFkwS59ET5ZiNKSPKEqG7EVEdG+tWwHPen6xuCgQQOekQVQuxAetsk SFHQ== X-Gm-Message-State: APjAAAWj+EZy5k4hnbQ3F6SmOh6hlTahK/3uHnwkbR2fzVeCPW/acNnZ px7tq87t4pv8SXnuk3wYD44msesH X-Google-Smtp-Source: APXvYqwVpxWqeEFRkGqAC6GdFlhBhYb0HfPzP+9oHwjfHL4+v/szpKZ8dLHJ9gxdxzL6XJbudIXiMw== X-Received: by 2002:a24:1cc4:: with SMTP id c187mr21810230itc.107.1558194320281; Sat, 18 May 2019 08:45:20 -0700 (PDT) Received: from toshiba.acadix.biz ([2605:a000:bc45:5f00:224:d2ff:fe27:bb80]) by smtp.gmail.com with ESMTPSA id a11sm3842183iod.11.2019.05.18.08.45.19 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 08:45:19 -0700 (PDT) Subject: Re: svn commit: r501873 - in head/biology: . gemma gemma/files To: Alexey Dokuchaev , Jan Beich Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, "Jason W. Bacon" References: <201905171445.x4HEjKE4084764@repo.freebsd.org> <20190518102522.GA45838@FreeBSD.org> <205369ac-7666-0d45-7f76-a473915a0eb9@gmail.com> <20190518131804.GA12903@FreeBSD.org> <4l5r-g8qj-wny@FreeBSD.org> <20190518141808.GA66822@FreeBSD.org> From: Jason Bacon Message-ID: <95e5a6e0-94ff-bcf6-ca41-5aa2c4d000c5@gmail.com> Date: Sat, 18 May 2019 10:45:18 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190518141808.GA66822@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 43AF986D08 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2019 15:45:22 -0000 On 2019-05-18 09:18, Alexey Dokuchaev wrote: > On Sat, May 18, 2019 at 04:03:48PM +0200, Jan Beich wrote: >> Alexey Dokuchaev writes: >>> On Sat, May 18, 2019 at 08:09:45AM -0500, Jason Bacon wrote: >>>> Ultimately I chose to follow the pattern of lowercasing the port >>>> directory (except for special cases like perl and cran) and matching >>>> the case of PORTNAME with upstream >>> Vast majority of upstream names use mixed case (most common is first >>> capital letter), but we and GNU/Linux people don't do that: look at >>> package names of Firefox, DeaDBeeF, PostgreSQL, etc. >> - DeaDBeeF installs bin/deadbeef, built from deadbeef-0.7.2.tar.bz2 >> - Firefox installs bin/firefox, built from firefox-67.0.source.tar.xz >> - PostgreSQL installs libraries under lib/postgresql + include/postgresql, >> built from postgresql-11.3.tar.bz2 > Ditto for this port (bin/gemma). But that's a minor thing compared to > general preference in Unix towards lowercase names (binaries, users, > header files, etc.) which naturally extends to package names as well. > > Things should be consistent. Mixed case jeopardizes this consistency. > > ./danfe I'm not motivated by arguments about stylistic preferences, but given the current behavior of pkg, there's a pragmatic issue at-hand. In some pkg commands, the user must match the case of PORTNAME exactly, while in others any mixture of case will work.  This is a source of confusion and a nuisance I don't want to impose on users of my ports. I previously fell on the side of matching upstream based partly on the idea that pkg is case-insensitive, which I later discovered is only partially true. With that in mind, I would lean toward lowercasing PORTNAME (except where there is a clear convention, as in p5 and CRAN) unless pkg someday becomes fully case-insensitive, which would reduce the issue to a matter of style. I'm not sure if there are practical reasons that pkg is case-sensitive for some subcommands, but I think it would be more user-friendly to let the user just type everything in lowercase. -- Earth is a beta site.