Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to git rev-parse repository #641

Closed
KeyboardNerd opened this issue Oct 17, 2018 · 0 comments
Closed

failed to git rev-parse repository #641

KeyboardNerd opened this issue Oct 17, 2018 · 0 comments
Assignees
Labels
kind/bug things are not as they seem priority/high important functionality
Milestone

Comments

@KeyboardNerd
Copy link
Contributor

KeyboardNerd commented Oct 17, 2018

Description of Problem / Feature Request

It seems gitutil.go is buggy, when every updater is retrieving git repo it has this:

{
  "Event": "failed to git rev-parse repository",
  "Level": "error",
  "Location": "gitutil.go:52",
  "Time": "2018-10-16 20:48:57.603876",
  "error": "exit status 128",
  "output": "fatal: not a git repository (or any of the parent directories): .git\n",
  "path": "/var/folders/s0/k5c638mx7cqd__vjjqb1qdkw0000gn/T/ubuntuUpdater597390701"
}

Environment

  • Clair version/image: master
@jzelinskie jzelinskie added kind/bug things are not as they seem priority/high important functionality component/ext/vulnsrc labels Oct 17, 2018
@jzelinskie jzelinskie added this to the v3.0.0 milestone Oct 17, 2018
@KeyboardNerd KeyboardNerd self-assigned this Oct 17, 2018
KeyboardNerd added a commit to KeyboardNerd/clair that referenced this issue Oct 17, 2018
* Add conditional check: if the git repo directory is newly created, we
clone.
* Add tests

Fixes quay#641
KeyboardNerd added a commit to KeyboardNerd/clair that referenced this issue Oct 17, 2018
* Add conditional check: if the git repo directory is newly created, we
clone.
* Add tests

Fixes quay#641
KeyboardNerd added a commit to KeyboardNerd/clair that referenced this issue Oct 17, 2018
* Add conditional check: if the git repo directory is newly created, we
clone.
* Add tests

Fixes quay#641
KeyboardNerd added a commit to KeyboardNerd/clair that referenced this issue Oct 17, 2018
* Add conditional check: if the git repo directory is newly created, we
clone.
* Add tests

Fixes quay#641
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug things are not as they seem priority/high important functionality
Development

No branches or pull requests

2 participants