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

Refact cwhub: simplify tree scan and dependency checks #2600

Merged
merged 7 commits into from
Nov 20, 2023
Merged

Conversation

mmetc
Copy link
Contributor

@mmetc mmetc commented Nov 17, 2023

No description provided.

Copy link

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (56ad2bb) 57.46% compared to head (f50b65b) 57.52%.

Files Patch % Lines
pkg/cwhub/sync.go 74.35% 28 Missing and 2 partials ⚠️
pkg/cwhub/helpers.go 75.00% 4 Missing and 5 partials ⚠️
pkg/cwhub/hub.go 76.92% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/console.go 0.00% 1 Missing ⚠️
cmd/crowdsec-cli/item_suggest.go 0.00% 1 Missing ⚠️
cmd/crowdsec/output.go 50.00% 0 Missing and 1 partial ⚠️
pkg/cwhub/enable.go 75.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           hub-1.5.6    #2600      +/-   ##
=============================================
+ Coverage      57.46%   57.52%   +0.06%     
=============================================
  Files            193      193              
  Lines          25945    25970      +25     
=============================================
+ Hits           14908    14939      +31     
+ Misses          9520     9516       -4     
+ Partials        1517     1515       -2     
Flag Coverage Δ
bats 39.12% <71.66%> (+0.05%) ⬆️
unit-linux 54.62% <61.27%> (-0.06%) ⬇️
unit-windows 51.22% <61.27%> (-0.04%) ⬇️

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

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

@mmetc mmetc added the kind/enhancement New feature or request label Nov 17, 2023
@mmetc mmetc requested a review from sabban November 17, 2023 14:23
@mmetc mmetc marked this pull request as ready for review November 17, 2023 14:24
@mmetc mmetc changed the title Refact cwhub Refact cwhub: simplify tree scan and dependency checks Nov 20, 2023
Copy link
Contributor

@sabban sabban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mmetc mmetc merged commit 6b317f0 into hub-1.5.6 Nov 20, 2023
13 checks passed
@mmetc mmetc deleted the refact-cwhub branch November 20, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request needs/area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants