From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Op4zH-0007Kz-Tt for garchives@archives.gentoo.org; Fri, 27 Aug 2010 19:53:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B592E084C; Fri, 27 Aug 2010 19:53:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7562EE084C for ; Fri, 27 Aug 2010 19:53:13 +0000 (UTC) Received: from sf.home (unknown [93.84.248.5]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id EBB881B40BD; Fri, 27 Aug 2010 19:53:09 +0000 (UTC) Date: Fri, 27 Aug 2010 22:53:06 +0300 From: Sergei Trofimovich To: Nikos Chantziaras Cc: gentoo-devhelp@lists.gentoo.org Subject: Re: [gentoo-devhelp] How do I select a specific Git "head" in live ebuilds? Message-ID: <20100827225306.544c52a7@sf.home> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/EuQtVbrpI3N2b+zOl3AaQsM"; protocol="application/pgp-signature" X-Archives-Salt: f48f1a77-0c30-4175-9df6-8c0feab526f6 X-Archives-Hash: 3f32737230ddd6334cf476816d6b0821 --Sig_/EuQtVbrpI3N2b+zOl3AaQsM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I am trying to create an ebuild that fetches a specific head from a Git=20 > repo. As you can see here: >=20 > http://lmms.git.sourceforge.net/git/gitweb.cgi?p=3Dlmms/lmms;a=3Dsummary >=20 > There are several "heads" listed: master, stable-0.4, calf-updates, etc.= =20 > By default, the git eclass uses "master". I tried putting: >=20 > EGIT_BRANCH=3D"stable-0.4" >=20 > in the ebuild. But this doesn't seem to help; "master" is emerged=20 > instead of "stable-0.4". >=20 > What am I doing wrong? Hi Nikos! I didn't dig seriously in eclass, but EGIT_TREE and _BRANCH both helped me. EGIT_REPO_URI=3D"git://repo.or.cz/tinycc.git" EGIT_TREE=3D"mob" EGIT_BRANCH=3D"mob" Whole thing is here: http://repo.or.cz/w/slyfox-gentoo.git/blob_plain/aaa609469a6f819b8823ad= 45dc424eb18d24078c:/dev-lang/tcc/tcc-9999.ebuild --=20 Sergei --Sig_/EuQtVbrpI3N2b+zOl3AaQsM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkx4F6UACgkQcaHudmEf86pojACfXKa66Qdw0WaH66e2maaTZeqd OxkAn1WiwW2n86LDs4favSg5cBUQQo5/ =eZzZ -----END PGP SIGNATURE----- --Sig_/EuQtVbrpI3N2b+zOl3AaQsM--