Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: OMZP:: snippets fail to update #318

Open
2 of 3 tasks
morganmay opened this issue Jun 13, 2024 · 1 comment
Open
2 of 3 tasks

[bug]: OMZP:: snippets fail to update #318

morganmay opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. triage 📑 The issue is awaiting investigation.

Comments

@morganmay
Copy link

morganmay commented Jun 13, 2024

Environment

zsh 5.9 (x86_64-pc-linux-gnu) on Arch Linux

Reproduction steps

1. Install Oh My ZSH snippets using `OMZP::` syntax
2. Update snippets with `zi update -a` or `zi update -s`

Expected behavior

1. OMZ plugin snippets are downloaded from GitHub using SVN

Current behavior

1. When I run `zi update -a` or `zi update -s`, `OMZP::` snippets fail to update.
2. For example, when `zi` tries to update `OMZP::alias-finder`, I get this error message:

svn: E170013: Unable to connect to a repository at URL 'https://github.com/ohmyzsh/ohmyzsh/trunk/plugins/alias-finder'
svn: E160013: '/ohmyzsh/ohmyzsh/trunk/plugins/alias-finder' path not found
Updating '.':
svn: E170013: Unable to connect to a repository at URL 'https://github.com/ohmyzsh/ohmyzsh/trunk/plugins/alias-finder'
svn: E160013: '/ohmyzsh/ohmyzsh/trunk/plugins/alias-finder' path not found
  1. All OMZP:: snippets fail to update with similar E160013 and E170013 SVN errors.


### Code snippet

```zsh
omz_plugins=(
  alias-finder
  command-not-found
  common-aliases
  emoji
  extract
  git
  history-substring-search
  urltools
  vi-mode
)
for OMZ_PLUGIN in $omz_plugins; do
  zi ice svn
  zi snippet OMZP::$OMZ_PLUGIN
done

Additional information

This used to work. I'm not sure when it stopped. Poking around in the OMZ repository, it looks like the /trunk/ directory is gone, but all of these plugins are still present, so maybe it's just a case of needing to update the URLs in the ZI_1MAP array?

Self-service

  • I'd be willing to address this documentation request myself.

Have you read the Contributing Guidelines?

Are you familiar with the Contributor Covenant Code of Conduct?

@morganmay morganmay added bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. triage 📑 The issue is awaiting investigation. labels Jun 13, 2024
@DeepBlueRobot
Copy link

I have the same problems.
I find this: Subversion has been sunset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Inconsistencies or issues which will cause a problem for users or implementors. triage 📑 The issue is awaiting investigation.
Projects
None yet
Development

No branches or pull requests

3 participants