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

Refactor repository reading for recursive directory searching #1239

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Nov 13, 2023

Description

This PR does some refactoring of the repository class to better handle recursive directories and make its role more flexible. There are still some updates needed to add searching a local recursive repository (mostly regarding locating specific integrations), but that will be enabled when catalog metadata is added.

Issues Resolved

Resolves #1236

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Merging #1239 (93e8210) into main (80f112a) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1239      +/-   ##
==========================================
+ Coverage   44.06%   44.08%   +0.01%     
==========================================
  Files         329      329              
  Lines       19672    19682      +10     
  Branches     4685     4687       +2     
==========================================
+ Hits         8669     8677       +8     
- Misses      10958    10960       +2     
  Partials       45       45              
Flag Coverage Δ
dashboards-observability 44.08% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

@Swiddis Swiddis added integrations Used to denote items related to the Integrations project maintenance labels Nov 13, 2023
@ps48
Copy link
Member

ps48 commented Nov 13, 2023

Does this need backport to 2.x?

@Swiddis
Copy link
Collaborator Author

Swiddis commented Nov 13, 2023

Does this need backport to 2.x?

Yes, but I think we're planning on changing the branching strategy to avoid needing as many backports for our next releases. I'll hold off on backporting until after that discussion has developed further.

@Swiddis Swiddis merged commit d7efbd4 into opensearch-project:main Nov 13, 2023
11 checks passed
@Swiddis Swiddis deleted the refactor-reader branch November 13, 2023 21:07
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 14, 2023
(cherry picked from commit d7efbd4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x integrations Used to denote items related to the Integrations project maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename RepositoryReader to TemplateManager
3 participants