1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Cyril Brulebois <cyril@debamax.com>
Date: Wed, 01 Mar 2023 23:58:00 +0100
Subject: Silence “Crowdsec is not the latest version” messages.
We're shipping crowdsec in a stable Debian release, which isn't quite
compatible with a “latest and greatest” approach. :)
Upstream maintains a hub branch for the version we ship in stable anyway.
--- a/pkg/cwhub/helpers.go
+++ b/pkg/cwhub/helpers.go
@@ -35,11 +35,6 @@ func chooseHubBranch() (string, error) {
return "master", nil
}
- log.Warnf("Crowdsec is not the latest version. "+
- "Current version is '%s' and the latest stable version is '%s'. Please update it!",
- csVersion, latest)
- log.Warnf("As a result, you will not be able to use parsers/scenarios/collections "+
- "added to Crowdsec Hub after CrowdSec %s", latest)
return csVersion, nil
}
|