From owner-freebsd-git@freebsd.org Mon Nov 30 11:57:47 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 A20334790BA for ; Mon, 30 Nov 2020 11:57:47 +0000 (UTC) (envelope-from mat@freebsd.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 4Cl3dR43w4z3GjQ for ; Mon, 30 Nov 2020 11:57:47 +0000 (UTC) (envelope-from mat@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8B63747907C; Mon, 30 Nov 2020 11:57:47 +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 8B288478E3B for ; Mon, 30 Nov 2020 11:57:47 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cl3dR3R8pz3Gcx; Mon, 30 Nov 2020 11:57:47 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [79.143.240.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4CB192DA3C; Mon, 30 Nov 2020 11:57:47 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:678:42:0:e187:c79:7202:4467]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id 3CF1E942D84; Mon, 30 Nov 2020 11:57:45 +0000 (UTC) Date: Mon, 30 Nov 2020 12:57:43 +0100 From: Mathieu Arnold To: Rene Ladan Cc: Chris Rees , Adam Weinberger , git@freebsd.org, "portmgr@FreeBSD.org" Subject: Re: converting rmport to git Message-ID: <20201130115743.elfr6y2anpuoh5gy@aching.in.mat.cc> References: <20201129164707.GA31739@freefall.freebsd.org> <14871125-A032-4980-8DB1-0210E34D5A11@FreeBSD.org> <20201130105337.GA42359@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="btwk5hfwtnk4m6op" Content-Disposition: inline In-Reply-To: <20201130105337.GA42359@freefall.freebsd.org> 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: Mon, 30 Nov 2020 11:57:47 -0000 --btwk5hfwtnk4m6op Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 30, 2020 at 10:53:37AM +0000, Rene Ladan wrote: > OK, I'll rewrite the script to use the branch workflow. This does assume > having an existing clone of the git repository present, but I guess that > is a safe assumption if you are a ports committer :) You really should not to worry about branches, the script could emit a warning if it runs on the default branch, which will be something like "main" but the script should not worry about all that, it should just assume it has the checkout of the thing you need to remove ports from, let the user worry about working on some branch or not. --=20 Mathieu Arnold --btwk5hfwtnk4m6op Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAl/E3jNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgKjVQ//SItt+oD3wajPAaAU3pd2Pxsud0CA62RYoXKzDhGk8Ig2YM3Fa33c+FKx /cuCQEHwsaPnHFbODx7mZ739OHhF+6dF/O01i1LVT0Xo0eisCUKQKRc79VDJs6DW ukYDV0KEPUR9SlhGY+gtnrAYCozppq5rA7GOGYasprdhENZIjSBsX177CNI+nvoM W+KKop2rS5flJY5iRAru8G+IXxUa34h4K94LFuY8Bo6QJHFP1p0JYUDmrJzWN5JR twhOE4J6smF7jzUHy8HrYA9EBBQpF2WGXTdRHXZH2UHWfP9RakEEDkctP2C2buLE 1Inok2Qp0I7FkDXGDeYwei3gTzrZIyRTcnT5h9WisVJr43WGyvpc1sxG1bAdic/E Q0rjaJg11q+Ml6VfhuXQD/QhDz5eP1bY4cXE986cWYFb3a1pRUJoa+kxMeQz+K+r Yb+mPoifFG1mkuf+PHRMfwG+Kdfn8cMHhqcclfe2qkjsj9J550Id460mHsOZWmbc UOcyouxD6VS+XB9iCCkidup8hGiYLAHvLgaeDIs83wwSRHl5eMkH6NfwssY+cNLx NkaV1HQQSMcttd8FXzVZj1TnVu8qE/dmuvdBD2wG+V38k1y0klfBD7NTChG3hjUe V4mxht8K1eI/6we9sFWMJ5AEPwGIZuCyFn1L/sr6A15qYdthld8= =5k9C -----END PGP SIGNATURE----- --btwk5hfwtnk4m6op--