• Re: [gentoo-user] clean up a git sync'd portage

    From Peter Humphrey@21:1/5 to All on Sat Dec 4 11:30:02 2021
    On Saturday, 4 December 2021 09:47:41 GMT William Kenworthy wrote:

    are there any settings useful to reduce the size of a git sync'd
    portage? Its just hit 22Gb and the little arm system I use to maintain it
    is choking. I am doing a git clean -f and git gc --aggressive in the hope
    it reduces it some, but from reading I believe the real problem is years of history logs. Is there a way of a) setting depth=1 for portage and b) cleaning out the existing history? -- or something better?

    You could do what I'm having to do at the moment, and delete /var/db/repos/ gentoo before syncing; also setting clone-depth = 1 in /etc/portage/ repos.conf/gentoo.conf.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to William Kenworthy on Sat Dec 4 15:20:01 2021
    On Sat, 4 Dec 2021 17:47:41 +0800, William Kenworthy wrote:

        are there any settings useful to reduce the size of a git sync'd portage? Its just hit 22Gb and the little arm system I use to maintain
    it is choking.  I am doing a git clean -f and git gc --aggressive in
    the hope it reduces it some, but from reading I believe the real
    problem is years of history logs.  Is there a way of a) setting depth=1
    for portage and b) cleaning out the existing history? -- or something
    better?

    It's 1.9GB here, after a long time of frequent syncing and no cleaning up.
    Do you have distfiles or packages in there?

    You can simply delete the portage directory and sync again.


    --
    Neil Bothwick

    Everything else being equal, fat people use more soap.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmGreNAACgkQ92eFu0QS MJjRJg//Yzo0YsuyZzXsAA8ASbyReXXUBywprJHyc5eoo2CNemu64/4nPaEpdldV b9N6irk7riUnZNDatlSIl5ZxiZO9zOwdJy3jTYcHaGNEHHHi4hbTdSsEdYIRY3IG ds//kMDQMWv0dtQ3Ugo2ggZUSFlb54iA2WCewk/EW8HNnudhqzAC0fgXK31KQxdO bVl0oCnkztz+g4ZV09O2r5gRJ5XneA1JmSwN/xiN7nOVJomW6ivbncwetdKDxXXp N3vZ2yeMTufbffzABb++RAfwcN3y5MySK3Y791fO/9X2E5tx0bBb0BPSGYL8OYWM HyNZqPaGAE25JuwbyRXhXurm9q7WxoT+ic0pG4Isvs8mmV+bGjJclkEP4rqLxWQ4 uglBRLlaRYUQgzzQhBBC3cK/KjOjify6KzKX9fmwqwqRKtT85U1mNGv/bNO7f86N 3WjTse3u8MVkyqBUp7k01A7xxJm2jqQz/qu7DRxmJlb87RI1fhH/BCUTiYRfoRwC FLLHrqTzSFrRlpKVztf//1kaLgSISoGotscEV4ZBxCuRu+9uOUSW4Vucs81Qxcwu KlAEsUqn36rKhl3js3FFAkOsIENUXHERmnlrKGP/MZE9RBlc+R8K0fBm1rM2T/1c NUlSt7kxajW9Jm06HaoOzMzHNkGZMGyoUfguM8q3fucoMz/SUg8=
    =19Q+
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)