Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
infra
infra
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • alpine
  • infra
  • infrainfra
  • Issues
  • #9329

Closed
Open
Opened Aug 23, 2018 by Jason Bradshaw@jbradshaw

git.alpinelinux.org/cgit/alpine-secdb redirect to https://github.com/alpinelinux/alpine-secdb causing issues with git clone via https (CLAIR SCANNER)

Hopefully this is the right place. I was checking out goharbor, and noticed that clair was having some issues with the alpine vulnerability database downloads. Looks like clair https://github.com/coreos/clair/blob/master/ext/vulnsrc/alpine/alpine.go\#L38 is cloning via https and is having issues with the redirect.

{Event not pull alpine-secdb repository“,”Level“:”error“,”Location“:”alpine.go:186“,”Time“:”2018-08-23 02:13:59.211600“,”error“:”exit status 128“,”output“:”Cloning into ‘.’…\nfatal: unable to update url base from redirection:\n asked for: https://git.alpinelinux.org/cgit/alpine-secdb/info/refs?service=git-upload-pack\\n redirect: https://github.com/alpinelinux/alpine-secdb\\n"}

curl -v https://git.alpinelinux.org/cgit/alpine-secdb/info/refs?service=git-upload-pack

  • Trying 185.15.220.34…
    …
    …
    < HTTP/1.1 301 Moved Permanently
    …
    …
    < Location: https://github.com/alpinelinux/alpine-secdb

git clone https://git.alpinelinux.org/cgit/alpine-secdb
Cloning into ‘alpine-secdb’…
fatal: unable to update url base from redirection:
asked for: https://git.alpinelinux.org/cgit/alpine-secdb/info/refs?service=git-upload-pack
redirect: https://github.com/alpinelinux/alpine-secdb

(from redmine: issue id 9329, created on 2018-08-23, closed on 2018-08-23)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/infra/infra#9329