Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] questions about small fixes/cleanups
Date: Wed, 14 Sep 2016 14:32:22
Message-Id: 20160914163206.03442cef@gentoo.org
In Reply to: Re: [gentoo-dev] questions about small fixes/cleanups by James Le Cuirot
1 On Wed, 14 Sep 2016 14:55:06 +0100
2 James Le Cuirot <chewi@g.o> wrote:
3
4 > On Wed, 14 Sep 2016 14:53:18 +0100
5 > James Le Cuirot <chewi@g.o> wrote:
6 >
7 > > On Wed, 14 Sep 2016 15:50:28 +0200
8 > > Alexis Ballier <aballier@g.o> wrote:
9 > >
10 > > > > But seriously, once you've googled the repo, you might notice
11 > > > > that it's hosted at github, and that you don't need to create
12 > > > > your own snapshot tarballs any more. Want a snapshot from
13 > > > > 20150423? Try,
14 > > > >
15 > > > > https://github.com/pathscale/libcxxrt/archive/665b0223ee27547175dc327a386fcd88243c7677.tar.gz
16 > > > >
17 > > > > Put COMMIT=665b0223ee27547175dc327a386fcd88243c7677 in the
18 > > > > ebuild, stick that in $SRC_URI and $S, and then future
19 > > > > snapshots will work without modification.
20 > > >
21 > > > that might be better, but how do you map date / $PV to
22 > > > commit ?
23 > >
24 > > You can't.
25 >
26 > Sorry, let me correct that, you can't by date but you can by $PV if
27 > they have created versioned git tags. Just swap the commit reference
28 > for the tag name.
29
30 We're talking of repos without tags :)