-
Notifications
You must be signed in to change notification settings - Fork 395
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
Let ya
support .nu
files
#1947
Comments
Any idea how to support that? |
Hello, Thank you for the excellent work on yazi! From the deploy code, I noticed that currently, plugins only support files in For instance, adding support for other file formats, such as I understand there may be design considerations or reasons behind the current implementation, but I would appreciate your thoughts on expanding this capability. If there's a preferred approach to achieve this, I'd be happy to contribute. |
Adding on to it, what if each plugin can optionally have a file, which will specify to add file |
I want to avoid using a file list as much as possible because it makes the update/uninstall process more complicated. Updating or uninstalling requires cleaning up the files that are already installed. If there’s a file list, which might change over time, it means you would need to compare the file list of the current version with that of the updated version. From my experience, this easily leads to issues with inconsistent file states. For example, a failed installation can cause this, because we are chasing after a constantly changing target. I think a simpler approach would be to introduce a new |
Yeah that also makes sense. |
LGTM, I will give a shot |
yazi --debug
outputPlease describe the problem you're trying to solve
Currently
ya pack -i
doesn't support.nu
files, so the plugin like sudo.yazi, which depends onnushell
will not work.Would you be willing to contribute this feature?
Describe the solution you'd like
I wonder is it a time to let ya pack support
.nu
files.Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: