crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

Don't suggest an item which user already mentioned

Open sbs2001 opened this issue 3 years ago • 1 comments

Old behaviour

❯ sudo cscli collection install crowdsecurity/apache2 crowdsecurity/
…security/apache2              …security/freebsd         …security/mariadb              …security/odoo          …security/traefik

New behaviour

❯ sudo cscli collection install crowdsecurity/apache2 crowdsecurity/
…security/asterisk             …security/haproxy         …security/modsecurity          …security/opnsense      …security/vsftpd

sbs2001 avatar Aug 04 '22 08:08 sbs2001

Codecov Report

Merging #1702 (8ba2d65) into master (fe5f9bf) will increase coverage by 4.56%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
+ Coverage   53.47%   58.03%   +4.56%     
==========================================
  Files         136      104      -32     
  Lines       18980    12577    -6403     
==========================================
- Hits        10149     7299    -2850     
+ Misses       7711     4541    -3170     
+ Partials     1120      737     -383     
Flag Coverage Δ
func-crowdsec ?
func-cscli ?
unit-linux 64.12% <ø> (ø)
unit-windows 53.52% <ø> (-0.04%) :arrow_down:

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

Impacted Files Coverage Δ
pkg/leakybucket/manager_run.go 67.02% <0.00%> (-1.42%) :arrow_down:
cmd/crowdsec-cli/utils.go
cmd/crowdsec/main.go
cmd/crowdsec-cli/hub.go
cmd/crowdsec-cli/parsers.go
cmd/crowdsec-cli/capi.go
cmd/crowdsec-cli/scenarios.go
cmd/crowdsec/serve.go
cmd/crowdsec-cli/notifications.go
cmd/crowdsec-cli/messages.go
... and 23 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

codecov-commenter avatar Aug 04 '22 08:08 codecov-commenter