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

[CLOSED] Add path parameter to customized plugins #22

Conversation

FedericaBrando
Copy link
Member

@FedericaBrando FedericaBrando commented Mar 4, 2024

Draft of implementation of new key for plugins in the annotation. ref to

summary:

  • add new key in in AnnotationKeyclass for path
  • edit yaml config
  • edit plugin search glob given the path.

#TODOs:

  • add tests
  • add documentation

@dmartmillan @CarlosLopezElorduy

This implementation includes the possibility of adding a parameter "path" to where to find the customized plugins.

Although I think this solves only part of the problem, since it would accept the path, although we need to understand a way to handle plugins in packages that uses openvariant (i.e. cgi-pipeline)

- add new key in in `AnnotationKey`class for path
- edit yaml config
- edit plugin search glob given the path.
@FedericaBrando FedericaBrando added the enhancement New feature or request label Mar 4, 2024
@FedericaBrando FedericaBrando self-assigned this Mar 4, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.97%. Comparing base (20acac5) to head (0b55352).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #22      +/-   ##
===========================================
- Coverage    85.01%   84.97%   -0.05%     
===========================================
  Files           44       44              
  Lines         1902     1903       +1     
===========================================
  Hits          1617     1617              
- Misses         285      286       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FedericaBrando FedericaBrando marked this pull request as draft March 5, 2024 10:16
@FedericaBrando FedericaBrando deleted the 21-openvariant--add-path-to-external-plugin-folder-in-annotation branch March 8, 2024 11:10
@FedericaBrando
Copy link
Member Author

Closed as we decided to go with another solution. Ref

@FedericaBrando FedericaBrando changed the title [DRAFT] Add path parameter to customized plugins [CLOSED] Add path parameter to customized plugins Mar 11, 2024
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 this pull request may close these issues.

2 participants