Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] clean up a git sync'd portage
Date: Sat, 04 Dec 2021 14:19:16
Message-Id: 20211204141856.16397bc4@digimed.co.uk
In Reply to: [gentoo-user] clean up a git sync'd portage by William Kenworthy
1 On Sat, 4 Dec 2021 17:47:41 +0800, William Kenworthy wrote:
2
3 >     are there any settings useful to reduce the size of a git sync'd
4 > portage? Its just hit 22Gb and the little arm system I use to maintain
5 > it is choking.  I am doing a git clean -f and git gc --aggressive in
6 > the hope it reduces it some, but from reading I believe the real
7 > problem is years of history logs.  Is there a way of a) setting depth=1
8 > for portage and b) cleaning out the existing history? -- or something
9 > better?
10
11 It's 1.9GB here, after a long time of frequent syncing and no cleaning up.
12 Do you have distfiles or packages in there?
13
14 You can simply delete the portage directory and sync again.
15
16
17 --
18 Neil Bothwick
19
20 Everything else being equal, fat people use more soap.