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
pass.ReportResult(pass.AnalyzerName, pathRelativeToMetadata, fmt.Sprintf("plugin.json: %s path should be relative to plugin.json: %s", path.kind, path.path), "Don't use absolute paths inside plugin.json")
My explanation can be found in this forum post. In summary, I am getting this error because I am putting absolute links to my screenshots in plugin.json. I believe that this restriction should be lifted for screenshots, because when relative paths are used, the screenshots are packaged in with the plugin and get an asset size limit warning.
The text was updated successfully, but these errors were encountered:
So far we require the screenshot to use relative urls as this is the way our Grafana Catalog works. This is not something we can change in the validator only.
plugin-validator/pkg/analysis/passes/metadatapaths/metadatapaths.go
Line 88 in 63f4223
My explanation can be found in this forum post. In summary, I am getting this error because I am putting absolute links to my screenshots in
plugin.json
. I believe that this restriction should be lifted for screenshots, because when relative paths are used, the screenshots are packaged in with the plugin and get an asset size limit warning.The text was updated successfully, but these errors were encountered: