You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To clone the template, and then populate the initial user config repo being created by the script. This makes changing setup.sh harder, since it requires coordinate of PRs against multiple repos. It also means updates to the templates themselves are PRs against multiple repos, easier to miss some, etc.
We should refactor setup.sh to clone just a subdirectory of the main zmk repo, e.g. zmk/templates/split, zmk/templates/single, or zmk/templates/onboard, and use that to kickstart the user repo.
Currently the
setup.sh
script (docs/static/setup.sh
) uses separate git repos:To clone the template, and then populate the initial user config repo being created by the script. This makes changing
setup.sh
harder, since it requires coordinate of PRs against multiple repos. It also means updates to the templates themselves are PRs against multiple repos, easier to miss some, etc.We should refactor
setup.sh
to clone just a subdirectory of the mainzmk
repo, e.g.zmk/templates/split
,zmk/templates/single
, orzmk/templates/onboard
, and use that to kickstart the user repo.We'll need to leverage newer Git functionality for this, e.g.: https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/52269934#52269934
So we should also check the Git version before continuing.
ToDo:
templates/*
subdirectories.setup.sh
zmk
repo.The text was updated successfully, but these errors were encountered: