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

Support for Local Plugin Files in Addition to HTTPS #1507

Closed
jackheuberger opened this issue Jun 1, 2022 · 1 comment · Fixed by #1508
Closed

Support for Local Plugin Files in Addition to HTTPS #1507

jackheuberger opened this issue Jun 1, 2022 · 1 comment · Fixed by #1508
Labels
enhancement New feature or request

Comments

@jackheuberger
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I'm trying to write a custom Megalinter plugin that's defined in a private repository, meaning a GET request to the .yml definition cannot be made without setting access tokens in request headers.

Describe the solution you'd like
Support for file paths in the PLUGINS property within .mega-linter.yml. For example:

PLUGINS:
  - "<private_repo_submodule>/mega-linter-plugin-xxx/xxx.megalinter-descriptor.yml"

Describe alternatives you've considered
Support for the file:// protocol. For example:

PLUGINS:
  - file://<pwd>/mega-linter-plugin-xxx/xxx.megalinter-descriptor.yml

Additional context
I would be willing to work on this. Thanks!

@jackheuberger jackheuberger added the enhancement New feature or request label Jun 1, 2022
@jackheuberger jackheuberger changed the title Support for Local Plugin Files & HTTPS Support for Local Plugin Files in Addition to HTTPS Jun 1, 2022
@nvuillam
Copy link
Member

nvuillam commented Jun 2, 2022

@jackheuberger i'd be glad to accept such PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants