Gentoo Archives: gentoo-dev

From: Martin Vaeth <vaeth@××××××××××××××××××××××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [RFC] git.eclass, git-2.eclass... git-r1.eclass?
Date: Wed, 28 Aug 2013 19:14:29
Message-Id: slrnl1sivo.lgc.vaeth@lounge.imp.fu-berlin.de
In Reply to: [gentoo-dev] [RFC] git.eclass, git-2.eclass... git-r1.eclass? by "Michał Górny"
1 Somewhat unrelated, but please think about it when you make
2 such a major change:
3
4 Michał Górny <mgorny@g.o> wrote:
5 > EVCS_OFFLINE 0 // these are for make.conf
6 > EGIT_REPACK 0
7 > EGIT_PRUNE 0
8
9 The latter two were always bugging me since they should better
10 be coupled with EVCS_OFFLINE:
11
12 IMHO, *whenever* the repository is modified (by fetching new data)
13 it should afterwards be repacked and pruned to save space if possible.
14 However, repacking and pruning of an unchanged repository
15 (in particular if EVCS_OFFLINE=1) makes no sense but only costs
16 unnecessary time and - even worse - touches/modifies files which is
17 bad for COW filesystems or other sorts of backups (which are
18 useful for the git sources directory in case upstream makes a
19 serious rebase).