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

quoter plugin is reinstalled when updating plugins #3390

Open
injust opened this issue Jul 15, 2024 · 1 comment
Open

quoter plugin is reinstalled when updating plugins #3390

injust opened this issue Jul 15, 2024 · 1 comment

Comments

@injust
Copy link
Contributor

injust commented Jul 15, 2024

Description of the problem or steps to reproduce

micro -plugin install quoter
micro -plugin update
micro -plugin update
...

Specifications

Commit hash: 68d88b57
OS: macOS Sonoma 14.5
Terminal: Ghostty

@injust injust changed the title quoter plugin is reinstalled when updating quoter plugin is reinstalled when updating plugins Jul 15, 2024
@niten94
Copy link
Contributor

niten94 commented Jul 25, 2024

The plugin is reinstalled because the version in quoter.lua is lower than the newest version in repo.json. I have not looked at the code of micro but I think the version in the Lua source code file is used when checking the version that is installed. The version in quoter.lua has to be updated but it would be also less confusing if an error is printed in micro when installing a plugin and the version is different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants