Skip to content

Allow non-github git sources for plugins #2539

Description

@ficd0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions