DEV: Create partial clone of discourse repository (#691)
authorGerhard Schlager <gerhard.schlager@discourse.org>
Mon, 13 Mar 2023 09:58:46 +0000 (10:58 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 09:58:46 +0000 (10:58 +0100)
commit53bbacc8820561772ade256ada94ef2464ca958b
treecf1acd05a95111415d275b34a7b02358891e1065
parent98fa6d771dee53e616f27eed1502c46105aac8eb
DEV: Create partial clone of discourse repository (#691)

A treeless clone is nearly as small as a shallow clone, but it contains the full history which makes it possible to easily checkout tags and commits and allows all features of docker_manager to work correctly.

See https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/ for more information on treeless clones.

Also this change makes it possible to correctly pull the main branch which didn't work before.
image/base/slim.Dockerfile
templates/web.template.yml