From owner-freebsd-git@freebsd.org Wed Feb 10 21:53:17 2021 Return-Path: Delivered-To: freebsd-git@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 4B36C52C204 for ; Wed, 10 Feb 2021 21:53:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4DbYRJ2d9Mz3NQQ for ; Wed, 10 Feb 2021 21:53:16 +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=1612993993; bh=PXjFUa0jOrDQRaCzynRYZty2WSfcB91pfHEFtOHywNO=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=FFiSEi37N7oPlYDfMgyLFCdErVTA1xcR57UmXe05dpQ327P9Qh+pGVxh8fYJdDiqVwVBuDwQSrCfRCSmvuMRQZDRZZzPrcvh+Cw5mmZ6BT9YzUoJ+FBFV3RfDEUPWqN5N8YWgw4j0F3tvay3K9jJb8bvQmnzBOk4Uc2BL7J3cwDseAnA0mRO0R73fw3NQ8QBipDxSsLl0sdHkEuEcXyNDy7PYM3XAR5/WMXpCGk2gYXgrH+SFuFi4HYdzSsbADUxu0Ralw3ntes5T1+g9tC8OnzruBeVbbOzMNxyaD9dvknldiG+NcbYBYae0RWfKhaRy3dxPR5RBtm993oUiIgN8A== X-YMail-OSG: PBkjdTQVM1k8pVDVu6UloeGW777rvdAKeWykzZUDGFdyF0vs3ux8wcS2j82agw5 jnIZHX6CbdZ36dcJwpxUB.M8YYGsdh2pe9TPHRDrxi0GW3QzbUHZjOqbsbNvfX9UJ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p5Y6Mvic2imfmb7L7O6Yf4Vs.yaYPFrFylFvfryFwRhx75F_EJ0BU9eFpYvPFDTPciMWwm0PUk 8Dj5DuW9k4FhAz9w0orVOeGSi8CmXm97ArDL3BQHp9vMbFjopMQhvAfBjZ79O7vWIz_cZTevTr6O zNUBIN3nzXvHeAjMv4yPU8RObjHNfC6FK_Ks3XzsP_SmPYNRdu0rOI7uV2VKytCIfkZfDDvuVM8Q vtmlPw5nrjkdSNkcMWIbQUm4We_iCs8Ucq_rN1ItV_9YQXGzVNGM7N.Pp3pwPB8_S_ztrF4LM_vX FlrxzD_h14EWfMvj663RMSgtP6Cr9wwCSklZs6UeAS.7pwZSJ5Sz180dJwdhz0m4GUWhGXW0z5Yw rMSIa3Zv0aw.J3Ho56bwpnjaUne2bj0Y6yn5.Fd8GHbXIuzQS3ZWnrMqXQ4AiWUakDYG.JLrAnVf tjidlPsIl6aR61ybPWdWhKmN4gVkjc03uLoKoGZklPz_7G9vs7R8M X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 10 Feb 2021 21:53:13 +0000 Received: by smtp409.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5045270946e58cb1c968863db8a4af8f; Wed, 10 Feb 2021 21:53:12 +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: Date: Wed, 10 Feb 2021 13:53:12 -0800 Cc: "Rodney W. Grimes" , Warner Losh , freebsd-current , freebsd-git Content-Transfer-Encoding: quoted-printable Message-Id: <5520B8DD-7A30-4DF9-A0EE-2EDD95422C1D@yahoo.com> References: <202102101546.11AFkOMO060587@gndrsh.dnsmgr.net> To: Graham Perrin X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DbYRJ2d9Mz3NQQ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RCPT_COUNT_FIVE(0.00)[5]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; 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]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2021 21:53:17 -0000 On 2021-Feb-10, at 12:19, Graham Perrin = wrote: > On 10/02/2021 15:46, Rodney W. Grimes wrote: >>> On Tue, Feb 9, 2021 at 5:52 PM Warner Losh = wrote: >>>=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 >> 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. >>=20 > Thanks, I already tried that. Result: again, 'stable' in the URL and = 'stable/12' visible in the page. >=20 > (It was me who originally copied the URL, to demonstrate what can = happen if someone else does so.) >=20 > Please check my sanity. Is it true that this particular commit is = _not_ in stable/12? It is in main. My exploration was as follows but the general behavior is odd to me. Finding where the commit is from for sure . . . Using the id in a range search still says main and lists: Commit message (Expand) Author Age Files Lines * ZFS: fix assertions with INVARIANTS Alan Somers 45 hours = 1 -0/+2 * Revert "SO_RERROR indicates that receive buffer overflows should = be handled a... Alexander V. Chernikov 47 hours 21 -100/+35 * hid: bump HID_ITEM_MAXUSAGES to 8 Warner Losh 47 hours = 1 -1/+1 * Don't check compat.linux.emul_path before loading linux(4) = Edward Tomasz Napierala 47 hours 1 -1/+3 * acpi: limit the AMDI0020/AMDI0010 workaround to an option = Warner Losh 47 hours 2 -0/+4 * Turn off forgotten multipath debug messages Alexander V. = Chernikov 47 hours 1 -1/+0 Going to https://cgit.freebsd.org/src/log/?h=3Dstable/12 does not list = those. Going to https://cgit.freebsd.org/src/log/?h=3Dstable/13 does not list = those. Going to https://cgit.freebsd.org/src/log/ does list those. So: main. Exploring using search to find the commit . . . If one starts at: https://cgit.freebsd.org/src/ and does a rnage search for the id of a stable/12 commit the URL ends up being: = https://cgit.freebsd.org/src/log/?qt=3Drange&q=3D2ac71adb4026c4faade5ac824= c6a1b92e2504faf The upper right ends up showing main , not stable/12 . The commit message links also do not specify the branch, for example (copy/pasted): = https://cgit.freebsd.org/src/commit/?id=3D2ac71adb4026c4faade5ac824c6a1b92= e2504faf The next link is (copy/pasted): = https://cgit.freebsd.org/src/log/?qt=3Drange&q=3D2ac71adb4026c4faade5ac824= c6a1b92e2504faf&ofs=3D50 Using it again leaves main in the upper right. It appears that first going to = https://cgit.freebsd.org/src/log/?h=3Dstable/12 and using links there or using a stable/12 link that happens to be on the page for https://cgit.freebsd.org/src/ is required to get the branch tracking started --and you have to avoid operations like range search that drop that tracking (in what is explicitly displayed). Just having an id and trying to use it is insufficient context for cgit.freebsd.org to identify branches overall. (I do not claim that the "?h=3Dstable/12" notation is completely unique to the purpose. For example the original reports' "&h=3Dstable%2F12" can be generated. I'll ignore the variable notation generally, just showing what I did got as text.) I also explored some what URL's to a stable/12 commit would do = https://cgit.freebsd.org/src/commit/?h=3Dstable/12&id=3D2ac71adb4026c4faad= e5ac824c6a1b92e2504faf vs. = https://cgit.freebsd.org/src/commit/?id=3D2ac71adb4026c4faade5ac824c6a1b92= e2504faf The one without "?h=3Dstable/12&" indicates main in the upper right and copy/paste of the commit link shown also does *not* include "?h=3Dstable/12&" text. Further activity from there continues to not have the text. Of course, if one goes back through one of, say, https://cgit.freebsd.org/src/log/?h=3Dstable/12 or: https://cgit.freebsd.org/src/ one ends up in a context that supplies the "?h=3Dstable/12&". Repeating with the one that has "?h=3Dstable/12&" shows stable/12 in the upper right and copy/ptase of the commit link show does include "?h=3Dstable/12&" text. Further activity from there continues to have the text. Of course if one does a range search for the id, the context is lost. Summary: if you want do see what branch via cgit.freebsd.org use you have to use cgit.freebsd.org in very specific ways. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)