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 D53E2138CD8 for ; Fri, 5 Jun 2015 19:13:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9549E084B; Fri, 5 Jun 2015 19:12:57 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFF52E07F2 for ; Fri, 5 Jun 2015 19:12:56 +0000 (UTC) Received: by pacyx8 with SMTP id yx8so18585088pac.2 for ; Fri, 05 Jun 2015 12:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=sKOYB31Cf3In0eunrjg3/6jK8co/2DyMyARKGrrIFC8=; b=Pe/zIyDzSWP52wdURp2iCiCoECo8RfZh4gVuNHZw/Umv/hGaEiRNalE2NAbFCSi8qm Tou4zaH0YkoxTYT39jn7k9O5KjPHEMnZeJc/+OQjJTGcbb4Nh1Xh/z2dnmw3GXaMIznp q94H0vp/JV/U6Ylb55QFOaZBQEwaPmjXkVRMbPYXbPzw7tNW3iqKw4+YEjTtAfGGjew3 vvnOQ9GkjxE7hxlgmAj/oJQuTgYEGdybhAOs4gJxLiZg4/hdarQhWXcQeb4GZTSaUG96 5pkxWi+3NUgAlRR3/DDknUIPAGw7NMntCc2PKqlWGwU2yy9pNV7MO9scZM7Pn4fdfYuO mTNA== X-Received: by 10.70.55.41 with SMTP id o9mr8215124pdp.80.1433531575856; Fri, 05 Jun 2015 12:12:55 -0700 (PDT) Received: from linux1 (cpe-76-184-142-187.tx.res.rr.com. [76.184.142.187]) by mx.google.com with ESMTPSA id u8sm7532382pdj.46.2015.06.05.12.12.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 12:12:54 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 22531 invoked by uid 1000); Fri, 05 Jun 2015 19:12:51 -0000 Date: Fri, 5 Jun 2015 14:12:51 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] new eclass: go-live.eclass for handling go live ebuilds Message-ID: <20150605191251.GA22454@linux1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20150604191027.GA18492@linux1.gaikai.biz> <20150605045445.GC26696@vapier> <20150605143442.GA20852@linux1> 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-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20150605143442.GA20852@linux1> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: b30cbb36-dfc9-48c4-a7ae-a60c49853020 X-Archives-Hash: ed2725fb792921f80addb587dc3f23cf --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 05, 2015 at 09:34:42AM -0500, William Hubbs wrote: > On Fri, Jun 05, 2015 at 12:54:45AM -0400, Mike Frysinger wrote: > > On 04 Jun 2015 14:10, William Hubbs wrote: > > > # @MAINTAINER: > > > # William Hubbs > > > # @BLURB: Eclass for fetching and unpacking go repositories. > > > # @DESCRIPTION: > > > # This eclass is written to ease the maintenance of live ebuilds > > > # of software written in the Go programming language. > >=20 > > this should note the ebuild is responsible for depending on the right v= cs=20 > > packages. e.g. if you use git, then you need to depend on git. >=20 > Since "go get" fetches $EGO_PN and its dependencies, there is no way an > ebuild author could get this right without reading all of the import > statements in the source for their package and all of its dependencies. > I don't really want to ask ebuild authors to keep up with all of that. >=20 > > although ... > >=20 > > > # @ECLASS-VARIABLE: EGO_PN > > > # @REQUIRED > > > # @DESCRIPTION: > > > # This is the import path for the go package. Please emerge dev-lang/= go > > > # and read "go help importpath" for syntax. > > > # > > > # Example: > > > # @CODE > > > # EGO_PN=3D"github.com/user/project" > > > # @CODE > >=20 > > can't we automate some of the common hosts ? if it says github, we kno= w it's=20 > > going to be using at least git. > =20 > I'm seeing two options. I can either let users emerge the vcs's they > need if something breaks or pull in all vcs's go supports. >=20 > Which way is best? The more I think about this, I don't want to DEPEND on any vcs's and it is not reasonable to ask developers to do so in their go vcs ebuilds for the reason I stated above. Since these are live ebuilds, I think we can assume more about the users that use them and not require the vcs's as runtime dependencies. William --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVx9LMACgkQblQW9DDEZTiVmgCeP6xDSRFYaW0OO4bcPikVUyOp i8QAn1NPTocQR3g/oevuOnYk8yY5wqBM =H8N4 -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--