Fix/replace svn with git sparse checkout#338
Conversation
GitHub sunset SVN support in January 2024, breaking the `svn` ice used to download subdirectories (e.g., OMZ plugins). This replaces the SVN implementation with git sparse-checkout which provides the same subdirectory cloning capability using native git. Changes: - ZI_1MAP: remove /trunk/ from URLs (no longer needed for git) - .zi-mirror-using-svn(): rewrite to use git clone --no-checkout --depth=1 --filter=tree:0 + git sparse-checkout - side.zsh: detect .git in addition to .svn for existing snippets - autoload.zsh: use git status when .git dir is present
Git sparse-checkout preserves directory structure and cone mode checks out root files. Fix by cloning to temp dir with --no-cone, then copying only subpath contents to target directory.
|
Can anybody check this pr ? |
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
|
Pull Request closed and locked due to lack of activity. |
|
This PR has been open since March 11 without updates. The SVN removal work has been addressed differently in the main branch (via Could you rebase this on |
GitHub sunset SVN support in January 2024, breaking the
svnice used to download subdirectories (e.g., OMZ plugins). This replaces the SVN implementation with git sparse-checkout which provides the same subdirectory cloning capability using native git.Changes:
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Other information (if applicable)