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 612B7198005 for ; Fri, 22 Feb 2013 09:52:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C66621C0D9; Fri, 22 Feb 2013 09:51:38 +0000 (UTC) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C19E21C0D3 for ; Fri, 22 Feb 2013 09:51:37 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fs19so292369vbb.30 for ; Fri, 22 Feb 2013 01:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=+sX/alp/C2tOnOBGYUlRktsxy0kwXpFbuJDERpctZcI=; b=g9fFzdIgQR9RoSJ3j+685FuLZGWjufCr6EOuuksvRKmsQemoik79mmlFTxVZwBHWA/ R6Led8Relh8S2dNrQGwGx1deel9Vqu0XdhTwo9OnYEbb+6b/FCKjPtbbFkeciQt0LmL5 7ezrSIRbLoV/UiW1z1mbbH6zNS1IFx7bxC61/pOFAzcr06p6JHVzNs1sTkPY/HSXEqpj AYq48H/eRDigNjkO0vhK4GPN98Lavw39K+eSc/RYZu51Nvwo/x7JQCzw+OO/BwEnGbvq 3Fdlchnc4hFVaUZzuuut+Kw0rPJqSBRZDQjKZOkjS4VGOVloophTFfXLaGLstN5JmJHm x0JQ== 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 X-Received: by 10.220.8.75 with SMTP id g11mr1556376vcg.60.1361526696267; Fri, 22 Feb 2013 01:51:36 -0800 (PST) Received: by 10.58.163.132 with HTTP; Fri, 22 Feb 2013 01:51:36 -0800 (PST) In-Reply-To: <51272189.6020505@flameeyes.eu> References: <512715FA.5050800@mva.name> <51272189.6020505@flameeyes.eu> Date: Fri, 22 Feb 2013 22:51:36 +1300 Message-ID: Subject: Re: [gentoo-dev] [discussion] GitHub eclass From: Kent Fredric To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 99a88c9e-2f6a-4732-a5d6-e7a98ec187f6 X-Archives-Hash: 676927d60236c53dc444eacd9f163c13 On 22 February 2013 20:43, Diego Elio Petten=C3=B2 = wrote: > On 22/02/2013 08:37, Kent Fredric wrote: >> I'd make sure to add some sort of easy support to switch to >> snapshotted tar.gz installs instead of live git checkouts, ie: >> >> GH_SNAPSHOT=3Ddeadbeef # use commit id 'deadbeef' by fetching a tar.gz >> from github instead of a git clone > > This is not going to fly because a live git checkout does not need > digests in the manifest, but a tar.gz snapshot does. Though surely you could have behaviour that differs based on the right things being specified, so that turning on GH_SNAPSHOT=3D becomes a helper that generates SRC_URI , which in turn makes it so you can satisfy the manifest digest requirement. --=20 Kent