[Geoserver-devel] Repo cleanup of 2.21-M0 tag (with m2 folders)

The recently made 2.21-M0 tag had two m2 folders:

  • src/m2
  • src/community/m2
···

Vastly increasing the checkout size (and causing our build server run run out of space).

If you fetched the 2.21-M0 tag count-objects will show:

git count-objects -vH

size-pack: 696.47 MiB

Torben and myself have removed 2.21-M0 tag (and added a clean 2.21-M0.1 tag).

To free up space in your local checkout:

git tag -d 2.21-M0
git reflog expire --expire-unreachable=now --all
git gc --prune=now

After the above:

git count-objects -vH


size-pack: 246.20 MiB shows:


Jody Garnett

As a further update, I’ve run this process on all the geoserver-* workspaces on the Jenkins build server, and freed up approx. 7 GB of space across the different 16 checkouts:

Before:
/dev/sda2 251G 177G 62G 74% /

After
/dev/sda2 251G 170G 69G 72% /

Cheers,
Torben

On Fri, May 20, 2022 at 4:37 PM Jody Garnett <jody.garnett@anonymised.com> wrote:

The recently made 2.21-M0 tag had two m2 folders:

  • src/m2
  • src/community/m2

Vastly increasing the checkout size (and causing our build server run run out of space).

If you fetched the 2.21-M0 tag count-objects will show:

git count-objects -vH

size-pack: 696.47 MiB

Torben and myself have removed 2.21-M0 tag (and added a clean 2.21-M0.1 tag).

To free up space in your local checkout:

git tag -d 2.21-M0
git reflog expire --expire-unreachable=now --all
git gc --prune=now

After the above:

git count-objects -vH


size-pack: 246.20 MiB shows:


Jody Garnett


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel