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 BF5D11386F1 for ; Mon, 10 Aug 2015 09:46:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0650214275; Mon, 10 Aug 2015 09:46:00 +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 8A4BC14088 for ; Mon, 10 Aug 2015 09:45:57 +0000 (UTC) Received: from [192.168.2.191] (dslb-178-004-006-156.178.004.pools.vodafone-ip.de [178.4.6.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chithanh) by smtp.gentoo.org (Postfix) with ESMTPSA id 1D9DC340702 for ; Mon, 10 Aug 2015 09:45:54 +0000 (UTC) Message-ID: <55C872BD.5060808@gentoo.org> Date: Mon, 10 Aug 2015 11:45:33 +0200 From: =?UTF-8?Q?Ch=c3=ad-Thanh_Christopher_Nguy=e1=bb=85n?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Referencing bug reports in git References: <1439128706.40b3fd64ec9c5d6d94f0f0897740bc77622c24a1.xmw@gentoo> <55C75F19.90201@gentoo.org> <20150809215605.27ae6427@pomiot> <20150810004409.59637bea9aefd3f045b67614@gentoo.org> <20150810004044.76dda6e6@pomiot> <20150810021601.cdcae7226373ecd0d284086a@gentoo.org> <21959.62847.967959.705319@a1i15.kph.uni-mainz.de> In-Reply-To: <21959.62847.967959.705319@a1i15.kph.uni-mainz.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ETa6HEPHkwUTuc85N7WmXF5NIxrU0PhuQ" X-Archives-Salt: e7c40e91-4c82-45e6-a394-ac7e1bbce5c6 X-Archives-Hash: 531c0456c933a92485ec2e7dd0ee3161 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ETa6HEPHkwUTuc85N7WmXF5NIxrU0PhuQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ulrich Mueller schrieb: >> 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. >=20 > +1 >=20 > "Gentoo-Bug: 123456" or even "Bug: 123456" is enough to uniquely=20 > identify a bug. Also it is easier to read (and to type) than its URL=20 > equivalent. I'd like to make the case for a URL in commit messages, like for example freedesktop.org does, and also the kernel for external reports. This allows us to treat Gentoo Bugzilla and upstream/external bug tracker= s the same. Besides, extracting the bug number from the URL is typically trivial. Goi= ng from bug number to URL is sometimes not. Regarding the argument that bug URLs change more often than bug numbers, = I think the number of instances when URL changed but the bug numbering didn= 't is very low. OpenOffice did this I think, but I can't think of any other project right now. Here are examples from freedesktop and kernel: http://cgit.freedesktop.org/xorg/xserver/commit/?id=3Ddb5337afb248edf8108= 7cf8d74006fc496d70589 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?i= d=3Dac88cd738425e04dbed3706621cf613a00708834 I prefer the Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=3D333531 format even though not all bug trackers are running Bugzilla. "Bug: " wor= ks fine with me too, and we could make "https://bugs.gentoo.org/show_bug.cgi?id=3D" optional for Gentoo bugs, to= accommodate for those who insist on not typing so much. Best regards, Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n --ETa6HEPHkwUTuc85N7WmXF5NIxrU0PhuQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlXIctIACgkQ+gvH2voEPRA6TgCdHEJg2qrCmZJ/ypSSFJ2UcIqo lBMAnijOsWx7YcwX2n3C0YyQP9+Gmf/9 =c47e -----END PGP SIGNATURE----- --ETa6HEPHkwUTuc85N7WmXF5NIxrU0PhuQ--