From 31ec2694014a77629cbcc23306d6139fdec554e2 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Wed, 1 Mar 2023 23:58:00 +0100 Subject: [PATCH] =?utf8?q?Silence=20=E2=80=9CCrowdsec=20is=20not=20the=20l?= =?utf8?q?atest=20version=E2=80=9D=20messages.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Gbp-Pq: Name 0015-silence-not-latest-version.patch --- pkg/cwhub/helpers.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/cwhub/helpers.go b/pkg/cwhub/helpers.go index 31f6008..a5b5955 100644 --- 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 } -- 2.30.2