Github redirects for go based ports seems to be not working as expected

Matthias Fechner idefix at fechner.net
Thu Oct 22 13:51:26 UTC 2020


Dear all,

I maintain some ports having outdated information in the go definition.
With outdated I mean that the project as moved in github to another group.

An example you can find here:
https://gitlab.fechner.net/mfechner/Gitlab/-/commit/12380a1a2e726938175a7445396665091e3363d4

The link:
https://github.com/codahale/hdrhistogram

changed to:
https://github.com/HdrHistogram/hdrhistogram-go

So it was necessary to also modify the line in the Makefile from:
|codahale:hdrhistogram:3a0bb77429bd:codahale_hdrhistogram/vendor/github.com/codahale/hdrhistogram 
\|

to:
|HdrHistogram:hdrhistogram-go:3a0bb77429bd:codahale_hdrhistogram_go/vendor/github.com/codahale/hdrhistogram 
\|

|Only after this, the download was working again.
If a try to download the files manually in the browser, both links are 
working:|

https://codeload.github.com/|codahale|/hdrhistogram/tar.gz/3a0bb77429bd?dummy=/|codahale|-hdrhistogram-3a0bb77429bd_GH0.tar.gz 


https://codeload.github.com/HdrHistogram/hdrhistogram-go/tar.gz/3a0bb77429bd?dummy=/HdrHistogram-hdrhistogram-go-3a0bb77429bd_GH0.tar.gz

Does anyone have an idea why ports cannot download the old version but must use the one with renamed group and project?

Thanks a lot!


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



More information about the freebsd-ports mailing list