From owner-freebsd-git@freebsd.org Sun Jul 12 13:31:41 2020 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 B49EB363A11 for ; Sun, 12 Jul 2020 13:31:41 +0000 (UTC) (envelope-from dan@langille.org) 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 4B4SNs2DHlz4XfX for ; Sun, 12 Jul 2020 13:31:41 +0000 (UTC) (envelope-from dan@langille.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4A3DA363824; Sun, 12 Jul 2020 13:31:41 +0000 (UTC) Delivered-To: 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 49EB7363A83 for ; Sun, 12 Jul 2020 13:31:41 +0000 (UTC) (envelope-from dan@langille.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4B4SNr3LtMz4XSG; Sun, 12 Jul 2020 13:31:40 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5C5775C00C1; Sun, 12 Jul 2020 09:31:39 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute2.internal (MEProxy); Sun, 12 Jul 2020 09:31:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=rePqyNbwHKzFaxkKfkxrwe5KZdDx6dv LaYsXVewpb/Q=; b=TAjDWlQnD05tuoqyhQmbZt7ZsYXcCvcpLqX2MRSoQS8w0ie khfq+3yG8/TvNGjYIWiZ8KsCznzTT7d+IgHyjVMw8K4wtfK8LLZ/293v0CCQyczz nH+KKa2AcMu4jgoT+9vZyeiihN/You0fZaaTwqmccRhUa40cHBPYK2dMhD5WMyWa /DU+dQCmo4uuPIec9lbZoaAvrFiMJP7+gFhgb1bx9PCUpW6ycMBqHrntx27ZfzL7 UT2idj+0j9ZyMbNuTqCGZ/GUp348fEBmddHhrScrEc184ACeX+eMTqgE70CBJp/m ANiAI1oPn9iZ68u0FyVJ0IJW/049/Nhdta1TMUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rePqyN bwHKzFaxkKfkxrwe5KZdDx6dvLaYsXVewpb/Q=; b=G+yqZ6CTb48cZdDSVgHxk9 hDyiDgG2ZTMH5FLv4qliNU+J+xkceZ1kNpAEGSU3IL6+2/JqhmzuQMYO+9rTynoy NkY+qbhu+izEpipba0LvOeM2GFTZfLGL/e16XgoRTo2Yn2YVrsJtJaSG6SOVr8XM 6fYDxzOnvNN5iCleI7uyXyjtxNjms7IaZ5kq6OUGg3WozVq3c2Koy7kUYLHdLqsT t82uz5nQehVA2Zuf09e0eX/NqZlJVZk35ch1oF5bhOECgZew/+xm5FfF9LQ6e36V wKwaW64/53gMG4TvC/SgNt9P8GGqjTcTRvo3LjOQwS4POkhrkkYNsmm7mIYsYvmQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvdeigdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreerjeenucfhrhhomhepfdffrghnucfnrghnghhilhhlvgdfuceouggrnheslhgrnhhg ihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeeigfeviedulefgfeeuudeikeegge egheffgedtgfefveetvedtffefheeugeehgeenucffohhmrghinhepghhithhhuhgsrdgt ohhmpdhfrhgvvggsshgurdhorhhgpdhfrhgvvgguvghskhhtohhprdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrnheslhgrnhhg ihhllhgvrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 05B3D188007A; Sun, 12 Jul 2020 09:31:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-613-g8a73ad6-fm-20200709.001-g8a73ad6e Mime-Version: 1.0 Message-Id: <1cdd41a7-d3f0-4d18-8467-66166e00563b@www.fastmail.com> In-Reply-To: References: <8B5D0824-F412-4067-B874-21F2EA6EAEE6@langille.org> <20200711094146.GB16439@acme.spoerlein.net> Date: Sun, 12 Jul 2020 09:31:16 -0400 From: "Dan Langille" To: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= , "Warner Losh" Cc: git@freebsd.org Subject: Re: What happens to old repo links? X-Rspamd-Queue-Id: 4B4SNr3LtMz4XSG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=TAjDWlQn; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=G+yqZ6CT; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-2.62 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[66.111.4.27:from]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm3]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; NEURAL_HAM_LONG(-1.03)[-1.028]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.48)[-1.476]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 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: Sun, 12 Jul 2020 13:31:41 -0000 Keeping the svn webserver active will solve several FreshPorts issues. := ) On Sun, Jul 12, 2020, at 9:24 AM, Ulrich Sp=C3=B6rlein wrote: > Good point, https://github.com/freebsd/git_conv/issues/20 >=20 > On Sun, Jul 12, 2020 at 6:25 AM Warner Losh wrote: >> Do we need to track this as an item in our github issues area? We don= 't really need the redirector until we turn off the current svn web serv= er, which can run indefinitely with a read-only svn repo... >>=20 >> Warner >>=20 >> On Sat, Jul 11, 2020 at 3:41 AM Ulrich Sp=C3=B6rlein wrote: >>> On Fri, 2020-07-10 at 20:52:35 -0400, Dan Langille wrote: >>> > Hello, >>> >=20 >>> > At present, we have links to old commits, such as: https://svnweb= .freebsd.org/ports/head/graphics/mesa-devel/Makefile?annotate=3D537860 >>> >=20 >>> > In git, how will that work? How will we get to revision 537860? >>> >=20 >>> > Similarly, for https://svnweb.freebsd.org/ports?view=3Drevision&r= evision=3D537860 >>> >=20 >>> > How will that work? >>> >=20 >>> > Thank you. >>>=20 >>> Someone will have to write a redirector that greps in the notes for= the >>> hash of the corresponding SVN revision. Note that not all SVN revs = are >>> present in git as such, as they might not make sense and have been >>> skipped. >>>=20 >>> % git log --notes --grep=3Drevision=3D537860\$ master >>> commit 69116835276115e2dbec1332f2070300e4905d76 >>> Author: Jan Beich >>> Date: 2020-06-04 00:49:09 +0000 >>>=20 >>> graphics/mesa-devel: update to 20.1.b.1495 >>>=20 >>> Changes: https://gitlab.freedesktop.org/mesa/mesa/-/compare/fb62e64= 2ae6...8252bb0ec6d >>>=20 >>> Notes: >>> svn path=3D/head/; revision=3D537860 >>>=20 >>>=20 >>> So the redirector needs to run: >>> % git log --format=3D%H --notes --grep=3Drevision=3D537860\$ master= >>> 69116835276115e2dbec1332f2070300e4905d76 >>>=20 >>> and 301 to https://cgit-beta.freebsd.org/ports/commit/?id=3D6911683= 5276115e2dbec1332f2070300e4905d76 or >>> https://cgit-beta.freebsd.org/ports/diff/graphics/mesa-devel/Makefil= e?id=3D69116835276115e2dbec1332f2070300e4905d76 >>> depending on a file path being present or whatever. >>>=20 >>> If a plugin in gitolite could do that translation, that would be gr= eat. >>>=20 >>> hth >>> Uli >>> _______________________________________________ >>> freebsd-git@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-git >>> To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.o= rg" -- Dan Langille dan@langille.org