-
Notifications
You must be signed in to change notification settings - Fork 8
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
Put the plugin into the script folder #102
Comments
What exactly are you suggesting? Moving where addons are placed? |
Yes, quoting my previous review suggestions:
|
If you choose to maintain the current logic, please consider changing the folder structure of the project to the following more reasonable composition:
|
Sorry, I don't see any review suggestions on that PR, are you sure that you published them? If you had any suggested changes feel free to make a new PR that contains them, I can't say I'll follow them but I'd value the feedback.
The problem with this file structure is that this repository would not longer be easily clonable into the scripts directory as the
Changing the name of
I did consider that while working on the PR, but I think there are a number of problems with the idea. Firstly, I think there are some problems that come with conflating the directory where we store the addons, with the directory they are loaded from. If we made this change, then when users enable addons all of the addons maintained in the repository will be run by default. This is not ideal as many of the addons in that list designed for entirely different operating systems, and some will throw errors if required files and programs have not been configured or installed. We could tell people to remove the addons they don't want, but in my experience that doesn't work; there are several issues reports where people have posted This also creates an issue when it comes to updating file-browser. If people do remove addons from that folder, then each update would replace them again by default. Additional, addons added manually might cause conflict with future addons added to this repository. I'd also generally like to avoid asking people to pollute a clone of this repository when enabling addons. So for those reasons I think it is best to keep the current default. However, it is of course possible for anyone to manually switch their addon directory to |
As commented in #100, it doesn't seem to make much sense to separate plugins after refactoring the script into a directory script. Putting it in the script folder seems more reasonable, but it will once again disrupt downward compatibility.
The text was updated successfully, but these errors were encountered: