Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Where can I find "recent" qemu out-of-tree ebuild
Date: Thu, 26 Oct 2017 13:55:55
Message-Id: CAGfcS_n=uinhqV9QxK94-RTqHBQQ4fFsa-mWCpAvKGUQOD+jMQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Where can I find "recent" qemu out-of-tree ebuild by Walter Dnes
1 On Thu, Oct 26, 2017 at 9:28 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > Michael Orlitzky suggested
3 > https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/qemu?id=4716c9ae8666e4cfc6eff46960f7bff8f4f3d708
4 > which displays the 2 ebuilds I want, and there is a "files" directory. I
5 > do contributed builds for the Pale Moon effort. Cobbling together what
6 > I've found out there, with Michael's URL. I tried...
7 >
8 > git clone --depth 1 https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/qemu?id=4716c9ae8666e4cfc6eff46960f7bff8f4f3d708
9 >
10 > ...but the response was...
11 >
12 > Cloning into 'qemu?id=4716c9ae8666e4cfc6eff46960f7bff8f4f3d708'...
13 > fatal: repository 'https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/qemu?id=4716c9ae8666e4cfc6eff46960f7bff8f4f3d708/' not found
14 >
15 > As near as I can tell, I should be specifying the qemu repository and
16 > commit 4716c9ae8666e4cfc6eff46960f7bff8f4f3d708 Any clues on that?
17 >
18
19 That isn't a git repo URL.
20
21 This should work:
22 git clone git://anongit.gentoo.org/repo/gentoo.git .
23 git checkout 4716c9ae8666e4cfc6eff46960f7bff8f4f3d708.
24
25 I was trying to get git to only fetch that one commit without fetching
26 all the subsequent ones and didn't see any easy way to do that (unless
27 it happens to be the head of a branch). I don't think that partial
28 repositories are really an itch that Linus feels the need to scratch,
29 and a lot of git represents Linus's personal workflow...
30
31 --
32 Rich

Replies

Subject Author
Re: [gentoo-user] Where can I find "recent" qemu out-of-tree ebuild Walter Dnes <waltdnes@××××××××.org>