You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that the file plugins.json is grabbing its plugin ID from the name of the file under _plugins/, rather than the id: field in the data at the top of the file. If this is intended, it should be documented and the id field removed.
This causes a problem with:
the built in backup & restore
Upgrade to Python 3
since they look to compare the internal ID with the repository, and don't find a match.
Might need to check that no plugins are adversely affected (ie. wrong ID inside the file, but filename is right), but this is probably not a problem since it says that the ID should be correct
The text was updated successfully, but these errors were encountered:
Additional thoughts from a Discord discussion a while back:
We can only check stuff on GitHub easily, but we already do some things there that looks at the plugin metadata, so we could probably easily add a "is the id fully identical" thing and first step flag anything that's currently NOT
then fix this in the repo across the board, then add it as mandatory pr check step for the future
long term it should probably be somehow switched to be case insensitive
but again, still no idea what that could break
(had this in my Todoist backlog and am adding it here now that I'm creating a public one on GitHub Projects)
Problem
Seems that the file
plugins.json
is grabbing its plugin ID from the name of the file under_plugins/
, rather than theid:
field in the data at the top of the file. If this is intended, it should be documented and theid
field removed.This causes a problem with:
since they look to compare the internal ID with the repository, and don't find a match.
Example
https://plugins.octoprint.org/plugins/DiscordRemote/
The internal ID is
discordremote
, which is in the file_plugins/DiscordRemote.md
correctly - however, in the plugins.json file, the ID is wrongLinking cameroncros/OctoPrint-DiscordRemote#141, and first noticed with Kragrathea/OctoPrint-PrettyGCode#68 (comment)
One issue with changing it
Might need to check that no plugins are adversely affected (ie. wrong ID inside the file, but filename is right), but this is probably not a problem since it says that the ID should be correct
The text was updated successfully, but these errors were encountered: