Gentoo Archives: gentoo-dev

From: Maxim Kammerer <mk@×××.su>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Should portage tree CVS impose a commit moratorium during snapshot creation?
Date: Thu, 03 Jan 2013 09:47:45
Message-Id: CAHsXYDBCPBCkvL8tHWET8Kq5h+iq27FCj=M9Q3_SXnU-jJkqaQ@mail.gmail.com
1 In latest portage tree snapshot:
2
3 * Digest verification failed:
4 * /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild
5 * Reason: Filesize does not match recorded size
6 * Got: 2598
7 * Expected: 2582
8
9 The problem is that the directory was apparently included into daily
10 snapshot between 00:31:07 UTC (ebuild commit) and 00:31:13 UTC
11 (Manifest commit). For those that don't remember, CVS does not have
12 atomic commits, so it's not possible to instead use something like svn
13 export / git archive.
14
15 Since Gentoo Handbook now recommends using emerge-webrsync to fetch
16 the tree, perhaps some guards should be put in place to avoid having a
17 snapshot with bad digests for 24 hours? E.g., a commit moratorium, or
18 verification of all digests in a temporary tree copy before archiving,
19 or synchronizing to a copy tree until the result is stable.
20
21 --
22 Maxim Kammerer
23 Liberté Linux: http://dee.su/liberte

Replies