Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Usages of CVS $Header$ keyword in ebuilds - use cases wanted
Date: Wed, 27 Aug 2008 19:09:33
Message-Id: 20080827191535.GM30560@curie-int.orbis-terrarum.net
In Reply to: Re: [gentoo-dev] Usages of CVS $Header$ keyword in ebuilds - use cases wanted by Alec Warner
1 On Wed, Aug 27, 2008 at 11:57:30AM -0700, Alec Warner wrote:
2 > So you are saying we should do what?
3 >
4 > precompute the CVS header and inject it into $header$ ourselves
5 > take the checksums
6 > generate the manifest
7 > revert the $header$ change
8 > then commit the ebuild and manifest at once
9 >
10 > The only reason we have double commits right now is that the $header$
11 > replacement is done by cvs at commit time so if we don't do two
12 > commits the checksums all break due to the substitution..how is that
13 > repoman's fault?
14 For those not using SSH ControlMaster, one of the side-effects of having
15 to do two separate commits is the SSH setup latency hitting twice.
16
17 I wouldn't call it repoman's fault like Fabian did, but the
18 double-commit is why I called it a mess. If we drop the $Header$ in any
19 file covered by a developer-generated Manifest, it becomes a single
20 commit with contents+Manifest :-).
21
22 --
23 Robin Hugh Johnson
24 Gentoo Linux Developer & Infra Guy
25 E-Mail : robbat2@g.o
26 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies