Bug#1031324: crowdsec: 404 on cscli hub update

2023-03-16 Thread Cyril Brulebois
Cyril Brulebois  (2023-03-01):
> Apparently upstream needs to do something specific for each upstream
> release that's getting packaged into Debian (so that the version we're
> reporting — according to the version spec they requested — matches
> something that's available on the hub).
> 
> That happened for v1.4.2 already, and the same needs to happen for
> v1.4.6.
> 
> That doesn't require any code change in the package.
> 
> Marking with pending anyway, since that's about to be fixed upstream
> (and documented as a known requirement so that they remember to do that
> for later versions).

After internal discussion upstream, it was decided to just include a 'v'
prefix in BUILD_VERSION, making the need for any manuals steps go away.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/


signature.asc
Description: PGP signature


Bug#1031324: crowdsec: 404 on cscli hub update

2023-03-01 Thread Cyril Brulebois
Control: tag -1 pending

Cyril Brulebois  (2023-02-14):
> The crowdsec binary package comes with a copy of hub files (“offline
> hub”) so that it's immediately useful. It's also possible to switch
> to using the “online hub” by running:
> 
> cscli hub update
> 
> With 1.4.2-1, an error is returned:
> 
> Failed to get Hub index : failed to download index: bad http code 404 
> while requesting https://hub-cdn.crowdsec.net/1.4.2/.index.json
> 
> I'll ask upstream to help debug this issue but since we have a copy
> shipped in the package, this seems to be important at most.

Apparently upstream needs to do something specific for each upstream
release that's getting packaged into Debian (so that the version we're
reporting — according to the version spec they requested — matches
something that's available on the hub).

That happened for v1.4.2 already, and the same needs to happen for
v1.4.6.

That doesn't require any code change in the package.

Marking with pending anyway, since that's about to be fixed upstream
(and documented as a known requirement so that they remember to do that
for later versions).


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/


signature.asc
Description: PGP signature


Bug#1031324: crowdsec: 404 on cscli hub update

2023-02-14 Thread Cyril Brulebois
Package: crowdsec
Version: 1.4.2-1
Severity: important

Hi,

The crowdsec binary package comes with a copy of hub files (“offline
hub”) so that it's immediately useful. It's also possible to switch
to using the “online hub” by running:

cscli hub update

With 1.4.2-1, an error is returned:

Failed to get Hub index : failed to download index: bad http code 404 while 
requesting https://hub-cdn.crowdsec.net/1.4.2/.index.json

I'll ask upstream to help debug this issue but since we have a copy
shipped in the package, this seems to be important at most.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/