Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Infra plans regarding $Id$ - official answer...
Date: Thu, 13 Aug 2015 19:43:21
Message-Id: robbat2-20150813T193609-961251519Z@orbis-terrarum.net
In Reply to: [gentoo-dev] Is the $Id$ line in our ebuilds still useful? by William Hubbs
1 On Thu, Aug 13, 2015 at 10:36:16AM -0500, William Hubbs wrote:
2 > I understood the usefulness of this line to some when we were using CVS
3 > since it expanded into the ebuild revision, date, etc.
4 >
5 > This expansion doesn't take place under git, so now I don't understand
6 > the usefulness of this line. If I have missed something, can someone
7 > fill me in, or if it isn't useful any more can we consider removing it?
8 The following is the official answer of Infra, regarding the $Id$
9 expansion.
10
11 The intent is that the ONLY place the keywords are expanded, will be in
12 the rsync export. FUTURE tense, it's not ready yet.
13
14 If there is demand (and I think the consensus is
15 actually the OPPOSITE), we could also have it expand on your local
16 checkouts.
17
18 It expands to the hash of the blob of that file; and from that, you can
19 identify which commits the blob exists in.
20
21 The primary use case of it is to allow users to easily see what version
22 of a given ebuild they are using.
23
24 --
25 Robin Hugh Johnson
26 Gentoo Linux: Developer, Infrastructure Lead
27 E-Mail : robbat2@g.o
28 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

Replies