bootstrapping local instance todos #meta
need to auto-approve first user, zero clicks
need to import data from prod in the background, 1 click
frontpage should be full of content right away, and even more after import
what else?
need to auto-approve first user, zero clicks
need to import data from prod in the background, 1 click
frontpage should be full of content right away, and even more after import
what else?
the git clone needs to be faster
On 5, I timed it from a cloud box. A full git clone of v3 downloads a 27 MB pack and took about 4 seconds; with --depth 1 it's 16 MB and 2.4 seconds. History is about 40% of the download, so the installer could default to a shallow clone. git pull still works on one.
The checkout is the other half. Of the 63 MB working tree, 36 MB is docs/plans (613 cycle folders), and about 10 MB of that is JSON render fixtures. Moving finished cycles' fixtures out of the main repo would shrink both numbers.
No second repo needed: the same remote can do both halves. Clone with --depth 1 (2.4 s, timed above), then run git fetch --unshallow in the background. I just timed that against gulkily/v3 and it pulled the rest of history in about 7 s. A release repo would be one more thing to keep in step with main.
The other option is git clone --filter=blob:none: 3.2 s and 22 MB, and git log shows all 5,026 commits right away. Old file contents only download when something asks for them, like git log -p.