{"action":"opened","issue":{"url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2035","repository_url":"https://api.github.com/repos/coreos/prometheus-operator","labels_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2035/labels{/name}","comments_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2035/comments","events_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2035/events","html_url":"https://github.com/coreos/prometheus-operator/issues/2035","id":372261388,"node_id":"MDU6SXNzdWUzNzIyNjEzODg=","number":2035,"title":"kube-prometheus is not `jb install`-able","user":{"login":"intelfx","id":1158172,"node_id":"MDQ6VXNlcjExNTgxNzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1158172?v=4","gravatar_id":"","url":"https://api.github.com/users/intelfx","html_url":"https://github.com/intelfx","followers_url":"https://api.github.com/users/intelfx/followers","following_url":"https://api.github.com/users/intelfx/following{/other_user}","gists_url":"https://api.github.com/users/intelfx/gists{/gist_id}","starred_url":"https://api.github.com/users/intelfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelfx/subscriptions","organizations_url":"https://api.github.com/users/intelfx/orgs","repos_url":"https://api.github.com/users/intelfx/repos","events_url":"https://api.github.com/users/intelfx/events{/privacy}","received_events_url":"https://api.github.com/users/intelfx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-20T23:08:14Z","updated_at":"2018-10-20T23:08:14Z","closed_at":null,"author_association":"NONE","body":"cf. jsonnet-bundler/jsonnet-bundler#21\r\n\r\n```\r\n$ cd ~\r\n$ mkcd a/b\r\n$ pwd\r\n/home/intelfx/a/b\r\n$ jb init\r\n$ GIT_TRACE=1 jb install github.com/coreos/prometheus-operator/contrib/kube-prometheus\r\n19:35:32.168355 git.c:415               trace: built-in: git clone https://github.com/coreos/prometheus-operator vendor/.tmp/jsonnetpkg-kube-prometheus-master407984102\r\nCloning into 'vendor/.tmp/jsonnetpkg-kube-prometheus-master407984102'...\r\n19:35:32.170174 run-command.c:637       trace: run_command: git-remote-https origin https://github.com/coreos/prometheus-operator\r\n19:35:33.193653 run-command.c:637       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://github.com/coreos/prometheus-operator/\r\n19:35:33.195016 git.c:415               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://github.com/coreos/prometheus-operator/\r\nremote: Enumerating objects: 3, done.\r\nremote: Counting objects: 100% (3/3), done.\r\nremote: Compressing objects: 100% (3/3), done.\r\n19:35:33.384312 run-command.c:637       trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 23200 on intelfx-laptop' --check-self-contained-and-connected --pack_header=2,38625\r\n19:35:33.385578 git.c:415               trace: built-in: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 23200 on intelfx-laptop' --check-self-contained-and-connected --pack_header=2,38625\r\nremote: Total 38625 (delta 0), reused 0 (delta 0), pack-reused 38622\r\nReceiving objects: 100% (38625/38625), 53.01 MiB | 8.04 MiB/s, done.\r\nResolving deltas: 100% (21532/21532), done.\r\n19:35:40.531724 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet '--progress=Checking connectivity'\r\n19:35:40.532658 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet '--progress=Checking connectivity'\r\n19:35:41.389250 git.c:415               trace: built-in: git checkout master\r\nAlready on 'master'\r\nYour branch is up to date with 'origin/master'.\r\n19:35:41.616175 git.c:415               trace: built-in: git clone ../../ vendor/.tmp/jsonnetpkg-kube-prometheus-50038889fade4d7a17352592cd268d9d1e709b93371312653\r\nCloning into 'vendor/.tmp/jsonnetpkg-kube-prometheus-50038889fade4d7a17352592cd268d9d1e709b93371312653'...\r\n19:35:41.618256 run-command.c:637       trace: run_command: unset GIT_DIR; 'git-upload-pack '\\''/home/intelfx/a/b/../../'\\'''\r\n19:35:41.619862 git.c:415               trace: built-in: git upload-pack /home/intelfx/a/b/../../\r\ndone.\r\n19:35:41.657116 git.c:415               trace: built-in: git checkout 50038889fade4d7a17352592cd268d9d1e709b93\r\nfatal: reference is not a tree: 50038889fade4d7a17352592cd268d9d1e709b93\r\njb: error: failed to install: failed to install package: exit status 128\r\n```\r\n\r\nI don't think `../../` as remote will ever work with jb, by the time this (transitive) dependency is cloned, the original git repo is long gone.\r\n"}}
{"actor":{"display_login":"intelfx"}}