{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/7513","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/7513/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/7513/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/7513/events","html_url":"https://github.com/cockroachdb/cockroach/issues/7513","id":162806575,"number":7513,"title":"build: make protobuf errors out when trying to clone repo","user":{"login":"RaduBerinde","id":16544120,"avatar_url":"https://avatars.githubusercontent.com/u/16544120?v=3","gravatar_id":"","url":"https://api.github.com/users/RaduBerinde","html_url":"https://github.com/RaduBerinde","followers_url":"https://api.github.com/users/RaduBerinde/followers","following_url":"https://api.github.com/users/RaduBerinde/following{/other_user}","gists_url":"https://api.github.com/users/RaduBerinde/gists{/gist_id}","starred_url":"https://api.github.com/users/RaduBerinde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaduBerinde/subscriptions","organizations_url":"https://api.github.com/users/RaduBerinde/orgs","repos_url":"https://api.github.com/users/RaduBerinde/repos","events_url":"https://api.github.com/users/RaduBerinde/events{/privacy}","received_events_url":"https://api.github.com/users/RaduBerinde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-06-28T23:00:31Z","updated_at":"2016-06-29T02:05:34Z","closed_at":null,"body":"`make protobuf` hits this error:\r\n```\r\ncd ./cockroach/build && npm install --no-progress\r\nnpm WARN package.json @ No repository field.\r\nnpm ERR! git clone git@github.com:github:sintef-9012/Proto2TypeScript Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-github-sintef-9012-Proto2TypeScript-0d69e939'...\r\nnpm ERR! git clone git@github.com:github:sintef-9012/Proto2TypeScript fatal: remote error: \r\nnpm ERR! git clone git@github.com:github:sintef-9012/Proto2TypeScript    is not a valid repository name\r\nnpm ERR! git clone git@github.com:github:sintef-9012/Proto2TypeScript   Email support@github.com for help\r\nnpm ERR! notarget No compatible version found: proto2ts@'github:sintef-9012/Proto2TypeScript'\r\nnpm ERR! notarget Valid install targets:\r\nnpm ERR! notarget [\"1.0.0\",\"2.0.0\"]\r\nnpm ERR! notarget \r\nnpm ERR! notarget This is most likely not a problem with npm itself.\r\nnpm ERR! notarget In most cases you or one of your dependencies are requesting\r\nnpm ERR! notarget a package version that doesn't exist.\r\n\r\nnpm ERR! System Linux 3.16.0-4-amd64\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"--no-progress\"\r\nnpm ERR! cwd /go/src/github.com/cockroachdb/cockroach/build\r\nnpm ERR! node -v v0.10.29\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! code ETARGET\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /go/src/github.com/cockroachdb/cockroach/build/npm-debug.log\r\nnpm ERR! not ok code 0\r\ncockroach/build/protobuf.mk:91: recipe for target 'cockroach/build/npm.installed' failed\r\nmake[1]: *** [cockroach/build/npm.installed] Error 1\r\nmake[1]: Leaving directory '/go/src/github.com/cockroachdb'\r\nMakefile:208: recipe for target 'protobuf' failed\r\nmake: *** [protobuf] Error 2\r\n```\r\n\r\nIt works if I make this change to `proto2ts`:\r\n```\r\n-    \"proto2ts\": \"github:sintef-9012/Proto2TypeScript\",\r\n+    \"proto2ts\": \"sintef-9012/Proto2TypeScript\",\r\n```\r\n\r\nThis is on a Debian 8.1.\r\n\r\nBy the way, I had to install `npm` and `nodejs-legacy` (the latter wasn't easy to identify..). These should be added to the prerequisites in CONTRIBUTING.md\r\n\r\n@tamird "},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/229237096","html_url":"https://github.com/cockroachdb/cockroach/issues/7513#issuecomment-229237096","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/7513","id":229237096,"user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T02:05:34Z","updated_at":"2016-06-29T02:05:34Z","body":"https://github.com/cockroachdb/cockroach/blob/master/build/Dockerfile#L6"}}
{"actor":{"display_login":"tamird"}}