From owner-freebsd-current@freebsd.org Thu Feb 11 07:10:30 2021 Return-Path: Delivered-To: freebsd-current@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 E10D253CAD0 for ; Thu, 11 Feb 2021 07:10:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-54.consmr.mail.gq1.yahoo.com (sonic307-54.consmr.mail.gq1.yahoo.com [98.137.64.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DbnpF3FGkz4qcR for ; Thu, 11 Feb 2021 07:10:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1613027427; bh=uZav1xdcbKbt4aaGfvnrMTWpmb0mZc+STBQb02ZLRX/=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=UaVYtmvr/2QuT8mWZ4Me1JhEIeFm/ar6T8OsmpeWXzWZg0mRMrv2bFLToc7ZNeEeXTgIq4VZY2es7332t97rfzJQNVLHkzu0Q1qACJbylp8CP8flbuekuPUbr7dFcRQfg4ibJ8pmbQH7KqOAKfOZGOjZAOnQRowsIJv++TKtqHjNO4FS7IAi04RDBS8Y5vwrq/veWjaG3iBc+iux1xJ6mlkkcRcB1+j+7vJBbpbTq5WkwmMzBG/80af4gZo3m0uQ43ZDSf7CvK5cbmjQmhNMzG2P4u+C/TUd9mzbIaFCh1C4cGwAEuvyki9zF62o/g6AgXjejzUEqKR504N0SlTGHQ== X-YMail-OSG: WFbbJIIVM1kGNZK_hOXyalnbq89g430nh2QuJU9T9OvS0TDqjxv3Ij1ZBS2y1X0 7eB5giDYyGngLuX_dQ4_WMEZNhoFqtAne3hI3I.BhaIp1CmIxA7glk3PcYb74zoJgQbED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9fQmLerP1n1_tDtRKh2rCRnG7r8t6mtmnNGgBI2q1Q7vGgbf57jp ORXwaqOcLEhw8EcBsLcGAluFa82qQy2_CmPTFLj3pT5M4P4SNdooIAvRqedgn0u8xfuMUuwscllz vl4p1JputOaaNerycm71gpsBUgSlUM9IlHpGVXfNl0YN8icqnEQESsRi9nhVoF3Yp5rbGGh8oMqT UADdoXq4RFs3KQg7PD8SziZdOOJkSLo1Ec305ZCZiO7ARlsYmq1MH3pbFDLJpROdQHTpQtfwxlT2 OV55_bGNiwvrIKwcAJi7WDxARxVB17ulKqznZNAT0qJkC64PA1c9N49UKMrR3Lj3zZmll8VJ31XI KuJg8VOWpHVpcpG8XJNaZAbzPi.y6ILgNnkA_ X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Feb 2021 07:10:27 +0000 Received: by smtp403.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d5d8a9359b01ea773499ee40f11ecf8e; Thu, 11 Feb 2021 07:10:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: cgit: orientation From: Mark Millard In-Reply-To: <202102101546.11AFkOMO060587@gndrsh.dnsmgr.net> Date: Wed, 10 Feb 2021 23:10:25 -0800 Cc: Warner Losh , freebsd-git , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: References: <202102101546.11AFkOMO060587@gndrsh.dnsmgr.net> To: "Rodney W. Grimes" X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DbnpF3FGkz4qcR X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.92)[-0.922]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.30:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.64.30:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.30:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.30:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2021 07:10:30 -0000 > On 2021-Feb-10, at 07:46, Rodney W. Grimes wrote: >=20 >> On Tue, Feb 9, 2021 at 5:52 PM Warner Losh wrote: >>=20 >>>=20 >>>=20 >>> On Tue, Feb 9, 2021 at 5:47 PM Graham Perrin = >>> wrote: >>>=20 >>>> Given this, for example: >>>>=20 >>>> < >>>> = https://cgit.freebsd.org/src/commit/?id=3D174a7e578a33c01401e33f9bfcc077fc= 3155251c&h=3Dstable%2F12 >=20 > This link probably came from someone copying it out of the address bar > from some browswer, the better way to get a link out of a cgit page > is to copy it from the commit: hash line that looks like: >=20 > commit 174a7e578a33c01401e33f9bfcc077fc3155251c (patch) >=20 > Right click on the hash and select copy link location. Unfortunately, it turns out to not be that simple. For example, starting from the page for: https://cgit.freebsd.org/src/ Try a range search for: 2ac71adb4026c4faade5ac824c6a1b92e2504faf (which is from stable/12). Then click on the link in the line on the resultant page: * readelf: decode LA48 and ASG_DISABLE feature flags Ed Maste = 28 hours 1 -0/+2 Then copy the link in the line of the type that you reference: commit 2ac71adb4026c4faade5ac824c6a1b92e2504faf (patch) Result? No indication of which branch: = https://cgit.freebsd.org/src/commit/?id=3D2ac71adb4026c4faade5ac824c6a1b92= e2504faf Using the link does not change anything for what is shown in the upper right. All the steps reported "main" in the upper right. What happens depends on which path through got you to that point. Some places do generate URLs that have branch references. Other places do not. Some places preserve branch references in a URL. But some activities do not. >>>>>=20 >>>>=20 >>>> ? with 'stable' in the URL and 'stable/12' visible in the page ? = how >>>> would a reader know that the commit was to main (not stable/12)? >>>>=20 >>>> Is there scope to make improved use of cgit, or is this a = limitation of >>>> cgit? >>>>=20 >>>=20 >>> There's a pulldown in the upper right corner that says 'stable/12' = though >>> it took me a while to find it as my eyes glided over it a couple of = times. >>>=20 >>=20 >> But that is due to the stable%2F12 in the URL... W/o it, it's no = good. > ^^ = extra word? > I think you meant to say "It is good". I expect Warner was referring to with "no good" was it saying "main" in the upper right when what was being looked at was from stable/12 after it was branched (or some other such mis-matched example) and that he was indicating that the mismatches are misleading, especially if one does not know to expect them. Part of the issue is that nothing else on the commit page indicates which branch(es) the commit is on, so it is easy to read too much into the only branch name shown. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)