From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Our package names should not include "github-com" Date: Mon, 16 Oct 2017 17:38:43 -0400 Message-ID: <20171016213843.GB20802@jasmine.lan> References: <20171013014334.17601.30718@vcs0.savannah.gnu.org> <20171013014344.D813E20338@vcs0.savannah.gnu.org> <87lgkfhszj.fsf_-_@netris.org> <20171013202425.GA22896@jasmine.lan> <87r2u6h738.fsf@netris.org> <87r2u37wl2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4D61-0000OR-LM for guix-devel@gnu.org; Mon, 16 Oct 2017 17:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4D5y-0002pl-Ia for guix-devel@gnu.org; Mon, 16 Oct 2017 17:38:49 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60447) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4D5y-0002pR-AO for guix-devel@gnu.org; Mon, 16 Oct 2017 17:38:46 -0400 Content-Disposition: inline In-Reply-To: <87r2u37wl2.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Maxim Cournoyer Cc: guix-devel@gnu.org --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 15, 2017 at 08:41:45PM -0400, Maxim Cournoyer wrote: > >> [0] https://golang.org/doc/code.html#ImportPaths >=20 > I just read that link, and while it's true that they recommend using the > source repository domain as the base path of the library, it is by no > mean an obligation, as noted: >=20 > In practice you can choose any arbitrary path name, as long as it is > unique to the standard library and greater Go ecosystem. > > I personally fail to see how using github.com gives much more uniqueness > to a library name (especially since I expect that most go stuff would be > hosted there) and find it equally disturbing. How hard would it be to go > against this de facto standard? Maybe we could have a procedure that > would strip any domain name from the libraries import paths? Using the domain name as part of the *upstream* library name is useful for upstream authors because of how Go's built-in dependency management tools work. Go integrates dependency management into the language and the `go` tool itself. Re-using the upstream library name is useful because they have already disambiguated for us. I don't intend to be rude, but I'm not going to put much effort into responding to further comments that are not based on knowledge of how Go handles package / dependency management with its built-in tools, or modular programming in Go, in general. Already I used tons of my free time to learn this stuff, just so I could make Guix packages of Go software. Please meet me where I am. Again, I don't see an ethical problem here, so any motivation for me to participate in this discussion, as a volunteer, must be technical. If it's *wrong* to name the packages in this way, I will behave differently. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlnlJt8ACgkQJkb6MLrK fwh7Zw/+OVwZI7aXbhrsND/c1Uxw3kvfxLY0TSHYjYwVNYksB8T3gZcrWZZBNytJ wgb/2CsOisYbzOECSgEicTs68XS9QnkbfiEJ/eXgm3rlV2d1UC6HpXnWrx9Ulxx7 9Vd8BI8c/JxC5HaI5n6EYooyRYkpojXemm7KBFW4oKnmCpplUBnSceZjCHdu0Qhu XJlcxxeKi+cCu06OoqkvTrRqqAerYFIbcyznMxbBwNIUoITIvry3g9vT0hCcuUlq 6oW+yoolz+01hD6G6djmnzHjZFj6qBn6WXeXK0bKOJ+KfGuQhrokhml/VF0MkY5s v/FOBj04IuYokxHCNStNXCcG5AbJcAeJ/jZL+opzVJsW3wYWrrBGw4vrPixILwbw iwKXFGMRwuAONH50jAfgJOPoRqfd8l+fYccRYRVYOgohWFKAmIcjWaejKdO3s0z4 m0Mlyc8Oz/rcUnjiy+G42v1FUGbIeOEIN2LJ/2QmhiPyousk/X8cBDRLXTA7gMNl aWDJhvqqeQi65TO3VJvwTfkMVsSpCRku/D4eNn/lhrzlsW7NlftkHENvYQdkQFqg +1rqNXzJE55Sig5z5o5gQ+jrXjayJkDZhIeJIC0BIm5BJp9gnL3XE1eUHEQLf9AB bQk3SOq+pE4QM8rLGSNfOvkAfKHfThrS/oFIVEXytppid6Mmdck= =h8ct -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--