From owner-freebsd-current@freebsd.org Sat May 8 02:36:43 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 0313B64664D for ; Sat, 8 May 2021 02:36:43 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FcWff5QsBz3txg for ; Sat, 8 May 2021 02:36:42 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: by mailman.nyi.freebsd.org (Postfix) id BA0FA6464CD; Sat, 8 May 2021 02:36:42 +0000 (UTC) Delivered-To: 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 B9D736465BD for ; Sat, 8 May 2021 02:36:42 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FcWfd4X1Bz3vHN; Sat, 8 May 2021 02:36:41 +0000 (UTC) (envelope-from gonzo@bluezbox.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bluezbox.com; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Lv6i/StcZbfYQECzEkV/CCDYUjkUrgVUJo2q1LgzcB4=; b=UDrJW4fv6STHNXs596XtTBscFO o+sVSczDqnTQkgx6i3LtrRWtrqVmf873dSVg+UeHpS2sZbMcqRk4xo3WpJ+rBHredBvBGICNdPj09 wV21mdoKG0SUegjgvTz6FL4DwiwbSDUVagMgVwxo6UcSXS5TWMisA1NcQBW317nF8Ez4=; Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lfCpb-000HCq-UY; Fri, 07 May 2021 19:36:40 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id 1482adwN066143; Fri, 7 May 2021 19:36:39 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Fri, 7 May 2021 19:36:39 -0700 From: Oleksandr Tymoshenko To: Yuri Pankov Cc: Kubilay Kocak , current@freebsd.org, Bugmeister Subject: Re: linking to git revisions in bugzilla Message-ID: <20210508023639.GA66088@bluezbox.com> References: <134b5580-360a-43c9-8c8f-2a50c2524e7e@www.fastmail.com> <36286647-e005-d289-45d6-9630d39d6430@FreeBSD.org> <20210502050310.GA4428@bluezbox.com> <267d6951-570f-43c7-ddf2-fa794362bfef@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <267d6951-570f-43c7-ddf2-fa794362bfef@FreeBSD.org> X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Yuri Pankov (yuripv@FreeBSD.org) wrote: > Oleksandr Tymoshenko wrote: > > Kubilay Kocak (koobs@FreeBSD.org) wrote: > >> On 12/04/2021 9:02 am, Yuri Pankov wrote: > >>> While filing a bug, I noticed th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 4FcWfd4X1Bz3vHN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bluezbox.com header.s=mail header.b=UDrJW4fv; dmarc=none; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bluezbox.com:s=mail]; FREEFALL_USER(0.00)[gonzo]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[bluezbox.com]; MID_RHS_MATCH_FROM(0.00)[]; SPAMHAUS_ZRD(0.00)[45.55.20.155:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bluezbox.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.20.155:from]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[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: Sat, 08 May 2021 02:36:43 -0000 Yuri Pankov (yuripv@FreeBSD.org) wrote: > Oleksandr Tymoshenko wrote: > > Kubilay Kocak (koobs@FreeBSD.org) wrote: > >> On 12/04/2021 9:02 am, Yuri Pankov wrote: > >>> While filing a bug, I noticed that the help only mentions svn revision numbers, and "Preview" tab had no output when I tried putting "base ", so I'm wondering how do you link to git revisions? > >> > >> We'll (bugmeister) be adding parsing support for it (along with a few > >> other related auto-linking things) > >> > >> I'd encourage people to use " " (repo = src|doc|ports) > >> where short hash is at least 8 chars in the meantime. Once parsing is > >> added all previous references will be linked. > > > > Links to git hashes should work now, please test and let us > > know if feature works as expected. As Michael mentioned - preview > > is a different matter, I'll try to look into it later. > > Hi Oleksandr, > > It seems to work except when the git hash starts with a digit, it then > tries to link to subversion revision using all available digits at the > start of the hash. Or, at least, that's what I'm seeing in preview tab, > not sure if it has been fixed yet? This should be fixed now. If there is an example where it doesn't work please post it to this PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255682 Thank you -- gonzo