OpenLightingProject / OpenLightingProject/open-fixture-library

Spot plugin errors

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component-plugin
Dominant language
JSON
Stars
258
Forks
100
Avg merge
11h 52m
Merged PRs (30d)
53

Description

If a plugin is invalid, the thrown errors often don't make clear that this is a mistake in the plugin – you have to dig into the server code (e.g. main.js) and understand how the usage of plugins exactly works.

As we want to encourage developers to add plugins, errors in the plugins should be spotted, for example:

  • Missing name or version or import/export in module.exports
  • Bad output files object / array (e.g. 2d array)
  • Duplicate output file name (which currently results in overwriting one of them)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the plugin handling in main.js and trace how plugin exports and output files are processed. Done means invalid plugins produce clear plugin-specific errors for missing metadata or exports, malformed output file structures, and duplicate output filenames.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.