crowdsec/pkg/cwhub
mmetc 6b0bdc5eeb
Refact pkg/cwhub: fix some known issues and reorganize files (#2616)
* bump gopkg.in/yaml.v3
* test: cannot remove local items with cscli
* test dangling links
* test: cannot install local item with cscli
* pkg/cwhub: reorg (move) functions in files
* allow hub upgrade with local items
* data download: honor Last-Modified header
* fatal -> warning when attempting to remove a local item (allows remove --all)
* cscli...inspect -o yaml|human: rename remote_path -> path
* Correct count of removed items
Still no separate counter for the --purge option, but should be clear enough
2023-11-28 23:51:51 +01:00
..
testdata Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
cwhub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
dataset.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
dataset_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
doc.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
errors.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
hub.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
hub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
item.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
item_test.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
iteminstall.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
iteminstall_test.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemlink.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemremove.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemupgrade.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemupgrade_test.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
leakybucket.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
pathseparator_unix.go Refact pkg/cwhub (part 4) (#2518) 2023-10-05 09:35:03 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
remote.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
sync.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00