crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

use go-cs-lib/downloader for data files, hub index, item YAML

Open mmetc opened this issue 1 year ago • 3 comments

context.TODO will be implemented in a separate PR to simplify review

mmetc avatar Apr 03 '24 14:04 mmetc

@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.

github-actions[bot] avatar Apr 03 '24 14:04 github-actions[bot]

@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 appsec
  • /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.

github-actions[bot] avatar Apr 03 '24 14:04 github-actions[bot]

Codecov Report

Attention: Patch coverage is 46.66667% with 56 lines in your changes are missing coverage. Please review.

Project coverage is 27.60%. Comparing base (a2dcc0e) to head (7c70097).

Files Patch % Lines
pkg/cwhub/dataset.go 0.00% 23 Missing :warning:
pkg/cwhub/itemupgrade.go 60.41% 15 Missing and 4 partials :warning:
cmd/crowdsec-cli/itemcli.go 0.00% 11 Missing :warning:
pkg/cwhub/iteminstall.go 60.00% 1 Missing and 1 partial :warning:
pkg/cwhub/remote.go 92.30% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2926      +/-   ##
==========================================
- Coverage   27.62%   27.60%   -0.03%     
==========================================
  Files         398      398              
  Lines       57904    57799     -105     
==========================================
- Hits        15997    15955      -42     
+ Misses      39955    39906      -49     
+ Partials     1952     1938      -14     
Flag Coverage Δ
unit-linux 35.14% <49.43%> (+0.02%) :arrow_up:
unit-windows 25.64% <46.66%> (-0.03%) :arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Apr 22 '24 22:04 codecov-commenter