From nobody Tue Sep 13 01:28:47 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MRQq106Jqz4bx6X; Tue, 13 Sep 2022 01:29:01 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from agrajag.blogreen.org (agrajag.blogreen.org [135.181.146.104]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MRQpz3Zrdz47CK; Tue, 13 Sep 2022 01:28:59 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by agrajag.blogreen.org (Postfix, from userid 1001) id B19263115C; Tue, 13 Sep 2022 04:28:51 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=blogreen.org; s=marvin; t=1663032531; bh=RygC0hgS09ANgE6QS0JZKAg7vvQy1xPYqFXnudPn5/s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a5sryHqEmNXwZ4D70/RJcZ63/VRVBAMqNWVJ3Y+9vMsiRVEGAvd4r7O7rPz2Ko7c6 0X7QUZIyiqjF26FfnRXHJ8c9ZqV61sK/IJtZLapiChZlk1+O3r5/4vdib1YiyEiGix d3cHgySrMbwZTN8yjWWM6s+ZahxRgqNgyQ782zPQ= Date: Mon, 12 Sep 2022 15:28:47 -1000 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 97b0bb60dc4d - main - textproc/opensearch: Revert "Switch to a static pkg-plist" Message-ID: References: <202209112102.28BL2d1O026370@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6S37f3BQjQo8t2Lm" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://romain.blogreen.org/pubkey.asc X-Rspamd-Queue-Id: 4MRQpz3Zrdz47CK X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blogreen.org header.s=marvin header.b=a5sryHqE; dmarc=pass (policy=reject) header.from=blogreen.org; spf=pass (mx1.freebsd.org: domain of romain@blogreen.org designates 135.181.146.104 as permitted sender) smtp.mailfrom=romain@blogreen.org X-Spamd-Result: default: False [-6.04 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.94)[-0.943]; DMARC_POLICY_ALLOW(-0.50)[blogreen.org,reject]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[blogreen.org:s=marvin]; R_SPF_ALLOW(-0.20)[+mx]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:135.181.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[romain]; DKIM_TRACE(0.00)[blogreen.org:+]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --6S37f3BQjQo8t2Lm Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Sep 2022 15:28:47 -1000 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 97b0bb60dc4d - main - textproc/opensearch: Revert "Switch to a static pkg-plist" Hi! On Mon, Sep 12, 2022 at 04:27:13AM +0000, Alexey Dokuchaev wrote: > On Sun, Sep 11, 2022 at 09:02:39PM +0000, Romain Tarti??re wrote: > > commit 97b0bb60dc4dc6a71a26e08cc3d92576067b017a > >=20 > > textproc/opensearch: Revert "Switch to a static pkg-plist" > >=20 > > This reverts commit 43c14b71d3e7212d18e14b44911abffc99f40c9b. >=20 > Replying to a random backout commit with "this reverts commit $sha1" > commit log: are they being performed automatically? Why they's never > a sensible commit message which would explain the reasons for revert? Not sure I can help, but I can write the story of this commit: I was unsure about the changes in 43c14b71d3e7212d18e14b44911abffc99f40c9b that's the reason why these changes where in a specific commit, and I noted the reason for this in the PR that suggested the change: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265704#c6 As I feared, this change turns out to be a pain when updating the port, so I decided to revert the change and to back to the dynamic plist before adding another commit to update the port. So usual git business when I want to revert a commit: | git revert 43c14b71d3e7212d18e14b44911abffc99f40c9b This auto-fill the commit message with the information about the reverted commit (short description and commit sha1), I am used to this format and refrain from altering the default so that it keeps recognizable. However, when pushing this, the system complained that the first line of the commit message (Revert "textproc/opensearch: Switch to a static pkg-plist") was not in the form "category/port: message" so I amended this commit to match the enforced format, but did not touched the rest of the commit. So this is not _exactly_ what git produced, and having to alter it did not me feel happy. My understanding is that when you go back in history, if a line is added in a line that revert a commit, you want to jump to the commit just before the mentioned one to continue digging this line history and the terse commit message makes this explicit. I also assume some tooling might exist and help you navigate easily in history, and they might be mislead by altered revert commit messages (the reason why I was not happy with amending the commit). So this is the reason _I_ keep the generated commit message and don't replace it with something more descriptive like "textproc/opensearch: Revert back to dynamic plist". But I can't tell if it is relevant or not =C2=AF\_ (=E3=83=84)_/=C2=AF Romain --=20 Romain Tarti=C3=A8re http://romain.blogreen.or= g/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --6S37f3BQjQo8t2Lm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEgjSaeOfAuAcLWYD/uk0dlVESM28FAmMf3M8ACgkQuk0dlVES M2+T/Av/WydFP1Q5jC0AQ1Cudu6fiK788RimnhZHKD+pnT1aDVvhuaI6I09gk0hf fq1sMzNA84jExXCzQFf7clCC7jklOCpg2qx0MGvCeSP5B/Oi4h9diXG10IVfmDK8 qzievAbML6Ls5t+JsdfEfOilqSOc0wi1N+KLiktuY+rnl3ubHy+TXh5t8sLaoMl2 yUSe1sbyDr77DGoZ7u08xB6Sx08drHTUmptH68tBoio8qHLjKtuZkY2wUD/sXZpu otSNWklFahYdA3KkSo0W4JFdicImNj8wqNY1CEGSIrVIKja/d7P8yDAdn2vSsT45 N0nrwDTqkQiTia4gP97fkFxDElvB0BAqrUmGkIO4Ar0daBYAKnhYgnQMnpGZIeO5 5ydfEaQGhiz8aThbS0aKqzymUCFCbWKVtkodquce+6++3LozgRsgOHLclOMas9lG 80NEFgqaBNDfimNDPVYBS/5mz6IoWBxwKW8Ub+WFru/usog65R2lEswLy/Z0W3Ho 2YSkcY3j =xnzW -----END PGP SIGNATURE----- --6S37f3BQjQo8t2Lm--