From nobody Thu Sep 8 18:45:32 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MNpBW3GVYz4bTtY; Thu, 8 Sep 2022 18:51:47 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from sprint-2.amdmi3.ru (sprint-2.amdmi3.ru [IPv6:2a0a:2b41:94:cb5e::]) by mx1.freebsd.org (Postfix) with ESMTP id 4MNpBV2bCzz3hPY; Thu, 8 Sep 2022 18:51:46 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from amdmi3.ru (localhost [127.0.0.1]) by sprint-2.amdmi3.ru (Postfix) with SMTP id A5227188220; Thu, 8 Sep 2022 21:51:48 +0300 (MSK) Received: by amdmi3.ru (nbSMTP-1.00) for uid 1000 amdmi3@amdmi3.ru; Thu, 8 Sep 2022 21:51:48 +0300 (MSK) Date: Thu, 8 Sep 2022 21:45:32 +0300 From: Dmitry Marakasov To: Stefan =?utf-8?B?RcOfZXI=?= Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: b7f05445c00f - main - Add WWW entries to port Makefiles Message-ID: References: <202209072117.287LHGu7035095@gitrepo.freebsd.org> <9c1730d4-5786-943c-aab5-6e5dac95c610@FreeBSD.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9c1730d4-5786-943c-aab5-6e5dac95c610@FreeBSD.org> X-Rspamd-Queue-Id: 4MNpBV2bCzz3hPY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of amdmi3@amdmi3.ru has no SPF policy when checking 2a0a:2b41:94:cb5e::) smtp.mailfrom=amdmi3@amdmi3.ru X-Spamd-Result: default: False [-1.98 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.98)[-0.981]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[amdmi3]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[amdmi3.ru]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:35278, ipnet:2a0a:2b41::/32, country:RU] X-ThisMailContainsUnwantedMimeParts: N * Stefan Eßer (se@freebsd.org) wrote: > > Why weren't all urls moved to WWW? For my ports, if there were multiple > > WWW's, all of them important and thus all of them should be moved to > > WWW=. Is there a policy which disallows multiple URLs in WWW? > > The contents of the WWW variable are made available in the INDEX > and in the package manifests. > > If multiple lines starting with "WWW:" were present in pkg-descr, > then only the URL from the first line was used for that purpose. > > But there were quite a number of ports that added a generic > framework URL (e.g. to rubyonrails.org), and the order of WWW: > lines was not always correct (e.g. with some less important URL > in the first line). > > All URLs have been preserved, either in the Makefile or in the > pkg-descr file. If the one in the Makefile is not the one you > want to be copied into the INDEX, then put another one in. > > No decision has been made whether more than URL may be defined > in WWW, but in that case the order of entries becomes arbitrary, > again, and it will be impossible to identify the most relevant > URL from its presence in the WWW variable. The order was and will remain defined as pkg-descr lines and WWW items are ordered. For the cases where only a single item is allowed, taking the first item was and is the obvious option. > In ports you maintain I see additional URLs only referencing the > repository directory where a port is maintained (e.g. on GitHub), > and only in a very small fraction of your ports. > > There generally is one official project website and other relevant > information is linked to that starting point. Sometimes that's the case, sometimes not. For instance, most python modules have both PyPI url and git repository, none of these is in fact an "offical homepage" and both are equally important. > The only exception appears to be https://mg.pov.lt/objgraph/ and > that URL is easily found on the website in the WWW field of that > port's Makefile. > > I really do not see your point. It is hard enough to have a single > valid URL in the WWW field of each port, and I plan to add a tool > that tests for stale URLs. There already is, it's repology.org > Having multiple URLs in WWW instead of the one that is most > relevant of a prospective user of the package will lessen the > value of this information, IMHO. That sounds like a nonsence to me. Instead, leaving only one URL where there can be multiple URLs is losing important information, and having urls in different places is a pessimization. Summarizing, I assume it's allowed to have multiple entries in WWW and I plan to move all remaining urls there. It's also great news that these WWWs will make their way into INDEX, as the named repology uses these URLs to match projects, and having multiple URLs will increase connectivity of the graph. -- Dmitry Marakasov . amdmi3@amdmi3.ru ..: https://github.com/AMDmi3 https://amdmi3.ru/