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

Provide plugin support #3

Open
ereOn opened this issue Mar 12, 2015 · 0 comments
Open

Provide plugin support #3

ereOn opened this issue Mar 12, 2015 · 0 comments
Labels
Milestone

Comments

@ereOn
Copy link
Member

ereOn commented Mar 12, 2015

Plix need to support external plugins that must be able to:

  • Modify the global variables.
  • Modify the matrix.
  • Modify the exclusion matrix.
  • Depend on and load other plugins.
  • Modify the install, script, ... command lists.

If a plugin includes unused dimension in the matrix, those must not show up as unused-warnings when running as it would be hard, if not impossible, for the user to fix those.

Plugins must be specified via their Python path and will be processed in order before the final configuration is shown to the user. This gives a chance to the user to review the final configuration.

The proposed syntax is:

plugins:
  - plix.plugins.PythonPlugin

Plugins can also take options, in which case the following form should be used:

plugins:
  - name: plix.plugins.PythonPlugin
    options:
      enabled_versions: [2.7, 3.4]
@ereOn ereOn added the feature label Mar 12, 2015
@ereOn ereOn added this to the 1.0.0 milestone Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant