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

Allow non-github git sources for plugins #2539

Closed
2 of 3 tasks
ficcdaf opened this issue Mar 27, 2025 · 2 comments
Closed
2 of 3 tasks

Allow non-github git sources for plugins #2539

ficcdaf opened this issue Mar 27, 2025 · 2 comments
Labels
invalid This doesn't seem right

Comments

@ficcdaf
Copy link

ficcdaf commented Mar 27, 2025

yazi --debug output

n/a

Please describe the problem you're trying to solve

ya pack -a <owner/repo> should support non-GitHub repositories as well. For example:

ya pack -a https://git.sr.ht/~ficd/ashen:ashen
# should be treated the same as
ya pack -a ficd/ashen:ashen

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

if an https url is given, check if it points to a git repository, then treat it the same as otherwise.

Additional context

No response

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature
@ficcdaf ficcdaf added the feature New feature request label Mar 27, 2025
Copy link

Hey @ficcdaf, I noticed that you did not correctly follow the issue template. Please ensure that:

  • The requested feature does not exist in the newest nightly build.
  • The debug information (yazi --debug) is updated for the newest nightly.
  • The non-optional items in the checklist are checked.

Issues with needs info will be marked ready once edited with the proper content, or closed after 2 days of inactivity.

@sxyazi
Copy link
Owner

sxyazi commented Mar 27, 2025

To support it, we need to find a consistent way to allow all mainstream Git forges.

There's already a PR for it #1718, but I haven't gotten around to looking into it yet. If you have any ideas, feel free to add them to the PR.

Closing as duplicate

@sxyazi sxyazi closed this as completed Mar 27, 2025
@sxyazi sxyazi added invalid This doesn't seem right and removed feature New feature request needs info labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants