{"action":"created","issue":{"url":"https://api.github.com/repos/fossas/fossa-cli/issues/280","repository_url":"https://api.github.com/repos/fossas/fossa-cli","labels_url":"https://api.github.com/repos/fossas/fossa-cli/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/fossas/fossa-cli/issues/280/comments","events_url":"https://api.github.com/repos/fossas/fossa-cli/issues/280/events","html_url":"https://github.com/fossas/fossa-cli/issues/280","id":363213288,"node_id":"MDU6SXNzdWUzNjMyMTMyODg=","number":280,"title":"test.sh broken: no revision found for package name error on analyze with unedited init for hashicorp/consul","user":{"login":"microsoftly","id":4560399,"node_id":"MDQ6VXNlcjQ1NjAzOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4560399?v=4","gravatar_id":"","url":"https://api.github.com/users/microsoftly","html_url":"https://github.com/microsoftly","followers_url":"https://api.github.com/users/microsoftly/followers","following_url":"https://api.github.com/users/microsoftly/following{/other_user}","gists_url":"https://api.github.com/users/microsoftly/gists{/gist_id}","starred_url":"https://api.github.com/users/microsoftly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsoftly/subscriptions","organizations_url":"https://api.github.com/users/microsoftly/orgs","repos_url":"https://api.github.com/users/microsoftly/repos","events_url":"https://api.github.com/users/microsoftly/events{/privacy}","received_events_url":"https://api.github.com/users/microsoftly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T16:02:58Z","updated_at":"2018-09-24T16:59:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\n`fossa analyze` fails on `github.com/hashicorp/consul` when it should not return an error (I do not know the exact expected output at the moment)\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. `go get -u -v github.com/hashicorp/consul`\r\n2. `fossa init`\r\n3. `fossa analyze -o --option allow-nested-vendor:true --option allow-deep-vendor:true go:.`\r\n4. See error, expected to be `FATAL Could not analyze: no revision found for package name`\r\n\r\n**Expected behavior**\r\nsuccessful output with package analysis\r\n\r\n**Debugging information**\r\n`\r\nDEBUG Could not find revision for package \"cloud.google.com/go/compute/metadata\" callers=[/home/fossa/go/src/github.com/fossas/fossa-cli/analyzers/golang/revision.go:github.com/fossas/fossa-cli/analyzers/golang.(*Analyzer).RevisionDirect:34 /home/fossa/go/src/github.com/fossas/fossa-cli/analyzers/golang/revision.go:github.com/fossas/fossa-cli/analyzers/golang.(*Analyzer).Revision:22 /home/fossa/go/src/github.com/fossas/fossa-cli/analyzers/golang/analyze.go:github.com/fossas/fossa-cli/analyzers/golang.(*Analyzer).Analyze:131 /home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze/analyze.go:github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze.Do:122 /home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze/analyze.go:github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze.Run:48 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/app.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.HandleAction:490 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/command.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.Command.Run:210 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/app.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.(*App).Run:255 /home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/main.go:main.main:47]\r\nFATAL Could not analyze: no revision found for package name callers=[/home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze/analyze.go:github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze.Do:124 /home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze/analyze.go:github.com/fossas/fossa-cli/cmd/fossa/cmd/analyze.Run:48 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/app.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.HandleAction:490 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/command.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.Command.Run:210 /home/fossa/go/src/github.com/fossas/fossa-cli/vendor/github.com/urfave/cli/app.go:github.com/fossas/fossa-cli/vendor/github.com/urfave/cli.(*App).Run:255 /home/fossa/go/src/github.com/fossas/fossa-cli/cmd/fossa/main.go:main.main:47]\r\n`\r\n\r\n1. The output of running the buggy command with the `--debug` flag\r\n2. version: `0.7.7` & `master`\r\n3. `.fossa.yml`\r\n``` yml\r\nversion: 1\r\ncli:\r\n  server: https://app.fossa.io\r\n  fetcher: custom\r\n  project: https://github.com/hashicorp/consul\r\nanalyze:\r\n  modules:\r\n  - name: github.com/hashicorp/consul\r\n    type: go\r\n    target: github.com/hashicorp/consul\r\n    path: /Users/Fossa/projects/go/src/github.com/hashicorp/consul\r\n  - name: github.com/hashicorp/consul/connect/certgen\r\n    type: go\r\n    target: github.com/hashicorp/consul/connect/certgen\r\n    path: /Users/Fossa/projects/go/src/github.com/hashicorp/consul/connect/certgen\r\n  - name: startup\r\n    type: npm\r\n    target: ui-v2/lib/startup\r\n    path: ui-v2/lib/startup\r\n  - name: consul-ui\r\n    type: npm\r\n    target: ui-v2\r\n    path: ui-v2\r\n  - name: Gemfile\r\n    type: gem\r\n    target: ui\r\n    path: ui\r\n  - name: Gemfile\r\n    type: gem\r\n    target: website\r\n    path: website\r\n```\r\n\r\n**Environment (please complete the following information):**\r\n - osx 10.13.6 \r\n - fossa-cli-test-base:97a5a641-7416-4e03-9235-cdf93ce2ef35\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fossas/fossa-cli/issues/comments/424048524","html_url":"https://github.com/fossas/fossa-cli/issues/280#issuecomment-424048524","issue_url":"https://api.github.com/repos/fossas/fossa-cli/issues/280","id":424048524,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDA0ODUyNA==","user":{"login":"microsoftly","id":4560399,"node_id":"MDQ6VXNlcjQ1NjAzOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4560399?v=4","gravatar_id":"","url":"https://api.github.com/users/microsoftly","html_url":"https://github.com/microsoftly","followers_url":"https://api.github.com/users/microsoftly/followers","following_url":"https://api.github.com/users/microsoftly/following{/other_user}","gists_url":"https://api.github.com/users/microsoftly/gists{/gist_id}","starred_url":"https://api.github.com/users/microsoftly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsoftly/subscriptions","organizations_url":"https://api.github.com/users/microsoftly/orgs","repos_url":"https://api.github.com/users/microsoftly/repos","events_url":"https://api.github.com/users/microsoftly/events{/privacy}","received_events_url":"https://api.github.com/users/microsoftly/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T16:59:32Z","updated_at":"2018-09-24T16:59:32Z","author_association":"CONTRIBUTOR","body":"The error state is coming from the module:\r\n`\r\n  - name: github.com/hashicorp/consul\r\n    type: go\r\n    target: github.com/hashicorp/consul\r\n    path: /Users/Fossa/projects/go/src/github.com/hashicorp/consul\r\n`"}}
{"actor":{"display_login":"microsoftly"}}