bsiegert / BulkTracker

Track bulk build status in pkgsrc
Other
8 stars 1 forks source link

Use direct HTTP Get instead of urlfetch transport #25

Closed bsiegert closed 2 years ago

bsiegert commented 3 years ago

Ideally, this should be done in a way that falls back to urlfetch, at least initially, to not break fetching of builds completely.

The "new" go112 runtime should support direct calls to http.Get just fine, I believe.

bsiegert commented 3 years ago

Related issue: Some URLs are ftp. urlfetch does not support FTP URLs, same goes for http.Get.

Easy enough solution: insert https://pkg.go.dev/github.com/smira/go-ftp-protocol/protocol as a RoundTripper for the FTP protocol.