etho201 / docker-pi-stacks

Curated stacks of useful Docker containers for the Raspberry Pi.
GNU General Public License v3.0
19 stars 4 forks source link

svn sunset #5

Open etho201 opened 1 year ago

etho201 commented 1 year ago

https://github.blog/2023-01-20-sunsetting-subversion-support/

etho201 commented 1 year ago

Tip: Use Subversion to quickly download the Traefik2 folder into the config directory.

svn export https://github.com/etho201/docker-pi-stacks/trunk/config/traefik2

The main thing we heard when speaking with customers and communities was checking out a subset of the repository–a single directory, or only the latest commit. I have good news: with sparse checkout, sparse index, and partial clone, Git can now do a pretty decent job at these workflows.

etho201 commented 1 year ago

https://stackoverflow.com/questions/4114887/is-it-possible-to-do-a-sparse-checkout-without-checking-out-the-whole-repository

git clone --filter=blob:none --no-checkout --depth 1 --sparse <project-url>
cd <project>

Specify folders you want to clone

git sparse-checkout add <folder1> <folder2>
git checkout