From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0008C1386F1 for ; Mon, 10 Aug 2015 13:11:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA562142B8; Mon, 10 Aug 2015 13:11:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1D0F142AB for ; Mon, 10 Aug 2015 13:11:15 +0000 (UTC) Received: from pomiot (unknown [81.219.202.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id A3DE334084C; Mon, 10 Aug 2015 13:11:13 +0000 (UTC) Date: Mon, 10 Aug 2015 15:11:02 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Andrew Savchenko Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/) Message-ID: <20150810151102.1a5f11fe@pomiot> In-Reply-To: <20150810021601.cdcae7226373ecd0d284086a@gentoo.org> References: <1439128706.40b3fd64ec9c5d6d94f0f0897740bc77622c24a1.xmw@gentoo> <55C75F19.90201@gentoo.org> <20150809215605.27ae6427@pomiot> <20150810004409.59637bea9aefd3f045b67614@gentoo.org> <20150810004044.76dda6e6@pomiot> <20150810021601.cdcae7226373ecd0d284086a@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Nvsiz7Xd/nP0R6/bAnwSM7K"; protocol="application/pgp-signature" X-Archives-Salt: 34969b33-6128-4aba-a1f8-8276ebee22e8 X-Archives-Hash: c9421fcaff809e3153f85b2f6d0621dd --Sig_/Nvsiz7Xd/nP0R6/bAnwSM7K Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2015-08-10, o godz. 02:16:01 Andrew Savchenko napisa=C5=82(a): > On Mon, 10 Aug 2015 00:40:44 +0200 Micha=C5=82 G=C3=B3rny wrote: > > > > Which is terribly redundant. Just put the whole bug URL. Advantages: > > > >=20 > > > > - keeps the bug namespaced to bugs.gentoo.org, > > > > - has the bug no inside, > > > > - is convenient -- you can click it instead of copy-pasting the no. > > >=20 > > > 1. URL may change in future, bug number =E2=80=94 unlikely. > >=20 > > If the URL changes, we need to provide backwards compatibility. Too > > many resources already depend on that. > >=20 > > > 2. Bug number can be easily typed, URL has to be copied or > > > generated by some tool. > >=20 > > So, please remind me, how many times the 'easy typing' got the bug > > number wrong? This is not a real argument, just another of Gentoo's > > 'I'm too lazy to do things right'. >=20 > URLs are longer, so probability of error during typing increases > compared to raw numbers. Not really. You are closer to the threshold when you are too lazy to type it and you just copy-paste it. > > > 3. Too many text, hard to read. Some bugs may refer to a dozen of > > > URLs. > >=20 > > And how is a dozen numbers better? >=20 > Less text, more readable. How is: Bug: 123451, 453445, 344334, 343444 more readable than: Bug: https://bugs.gentoo.org/123451 Bug: https://bugs.gentoo.org/453445 Bug: https://bugs.gentoo.org/344334 Bug: https://bugs.gentoo.org/343444 Readability is a matter of formatting, not contents. > > > 4. It is easier to copy a number, than selecting and copying whole > > > string. Not all terminals support running browser on URL click. > >=20 > > So we should optimize for a corner case? >=20 > What is a corner case? Why not defining "clicking on the link in > the git log" as a corner case? As far as I'm aware, URLs are supported much more widely than Gentoo-specific bug numbers. They are uniform and unique by definition. The tools using bug numbers can be easily expanded to extract them from URLs. I don't really see forking cgit to support Gentoo bug numbers, or asking github to provide special rules for our commits. > > > 5. Clicking is less convenient than typing "bugs search $number" =E2= =80=94 > > > user have to move hands from a keyboard to a mouse =E2=80=94 a terrib= le > > > waste of time, at least in my case with my typing speed. > >=20 > > You can type the number you see at the end of the URL. If you really > > want to go l33t, that shouldn't a problem for you. > =20 > This is not a matter of going l33t, this is a matter of getting rid > of redundant and pretty much useless data all the same through > almost all commit messages. Which reminds me of the metadata.xml discussion. These days we have transparent compression which handles redundant data much better than explicit obfuscation, and with much less harm. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/Nvsiz7Xd/nP0R6/bAnwSM7K Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVyKLmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOQxQP/22K99r2dRQGF1mc4LbEBsWH wigxgQ6nn2OfifzNfX6Gzw696q+RjyHFk1iqoTp19lH43q+W4zBiB5mpBXLLrxmr UeBTNWVEmsAS9EX0ec6Z4qYTSvuhjT4GwzeoRQc7XZncU4AgQ44NqTAH8Z96COFm opMVAPNOepTUzCTVfhCEILG/Lfl8WfwCSVec+/ut8Z1D3N3wlYzH2ge/XJ2t229D s+D4qoyAA4QTaHVfPSEa3U36Kr60LlGu31NS0N2LXn29ugpx5PyM3hV/DHeU3PB3 VRNkGP4GVtAYTO2ZU/iSf4IYQMaF/GZITR1CAkAuaYMA16Z2ZuLi3GMVOgCW3PRj Y0BSnn+iBHg1VDrdwN2BpUHU/dKFwWejvU93DyOw1qFG97U63puogZTSfFn/9MGv iVSGootXQQp9eoII67TfwnrIDr9LcmkqbXg+A3fXBbq+RAQZ/P4QzaHaDY7VZqrI hX2oL95zMYqeBppXC727TEXXdfYTs4tJcEU7MJeBVG052RRddfpB7fXys2w3SC2P x2mHtQW6NnrAY28KyPM637GXHSvEZxQm9e73wBGF5zNoakyjU5UEWfvZcl7099uL ovRSCnCPnZZVY/bTwV6omh5Ub1hQMs7ZUejzKFyThCDh60Y339E7Jai5nds/D1wu TCOrEKOrb0M6kf3Ry1LW =L/ck -----END PGP SIGNATURE----- --Sig_/Nvsiz7Xd/nP0R6/bAnwSM7K--