{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/24076","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/24076/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/24076/comments","events_url":"https://api.github.com/repos/golang/go/issues/24076/events","html_url":"https://github.com/golang/go/issues/24076","id":299768877,"number":24076,"title":"x/vgo: not working with GitHub Enterprise","user":{"login":"richardwilkes","id":13079058,"avatar_url":"https://avatars2.githubusercontent.com/u/13079058?v=4","gravatar_id":"","url":"https://api.github.com/users/richardwilkes","html_url":"https://github.com/richardwilkes","followers_url":"https://api.github.com/users/richardwilkes/followers","following_url":"https://api.github.com/users/richardwilkes/following{/other_user}","gists_url":"https://api.github.com/users/richardwilkes/gists{/gist_id}","starred_url":"https://api.github.com/users/richardwilkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardwilkes/subscriptions","organizations_url":"https://api.github.com/users/richardwilkes/orgs","repos_url":"https://api.github.com/users/richardwilkes/repos","events_url":"https://api.github.com/users/richardwilkes/events{/privacy}","received_events_url":"https://api.github.com/users/richardwilkes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/71","html_url":"https://github.com/golang/go/milestone/71","labels_url":"https://api.github.com/repos/golang/go/milestones/71/labels","id":3130892,"number":71,"title":"vgo","description":null,"creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":11,"state":"open","created_at":"2018-02-20T19:51:55Z","updated_at":"2018-02-23T19:23:52Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-02-23T16:26:14Z","updated_at":"2018-02-23T20:24:13Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\ngo version go1.10 darwin/amd64 vgo:2018-02-20.1\r\n\r\n### Does this issue reproduce with the latest release?\r\nYes\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/Users/rich/Library/Caches/go-build\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/rich/code/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/Cellar/go/1.10/libexec\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/usr/local/Cellar/go/1.10/libexec/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/s9/9s3fk2mx5f936dkcp66ltwsc0000gn/T/go-build062786983=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nVGOMODROOT=\"\"\r\n\r\n### What did you do?\r\nAttempted to build some code that had dependencies on one or more packages that come from our internal GitHub repo as well as from the public github.com using the experimental `vgo` tool. As this refers to an internal repo (and that is the basis of the problem), there is no way for me to give you code that reproduces the problem that you can actually try. Suffice to say, though, that even the simplest import causes the issue.\r\n\r\n### What did you expect to see?\r\nI was hoping that GitHub Enterprise would work as well as normal GitHub.\r\n\r\n### What did you see instead?\r\n> vgo: resolving import \"jaxf-github.fanatics.corp/forge/furnace\"\r\n> findRepo: XML syntax error on line 25: unescaped < inside quoted string\r\n> vgo: import \"jaxf-github.fanatics.corp/forge/ratelimiter\" ->\r\n> import \"jaxf-github.fanatics.corp/forge/furnace\": unknown VCS, Repo: git,\r\n> https://jaxf-github.fanatics.corp/forge/furnace.git\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/368128683","html_url":"https://github.com/golang/go/issues/24076#issuecomment-368128683","issue_url":"https://api.github.com/repos/golang/go/issues/24076","id":368128683,"user":{"login":"mikkeloscar","id":128566,"avatar_url":"https://avatars0.githubusercontent.com/u/128566?v=4","gravatar_id":"","url":"https://api.github.com/users/mikkeloscar","html_url":"https://github.com/mikkeloscar","followers_url":"https://api.github.com/users/mikkeloscar/followers","following_url":"https://api.github.com/users/mikkeloscar/following{/other_user}","gists_url":"https://api.github.com/users/mikkeloscar/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkeloscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkeloscar/subscriptions","organizations_url":"https://api.github.com/users/mikkeloscar/orgs","repos_url":"https://api.github.com/users/mikkeloscar/repos","events_url":"https://api.github.com/users/mikkeloscar/events{/privacy}","received_events_url":"https://api.github.com/users/mikkeloscar/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T20:24:13Z","updated_at":"2018-02-23T20:24:13Z","author_association":"NONE","body":"The APIs are the same (except for the base path) but `vgo` would have to know that something like https://github.mycompany.com is a Github Enterprise installation.\r\n\r\nIt would be great to think about this case from the beginning!\r\n\r\nI opened a similar issue when `dep` was released: https://github.com/golang/dep/issues/174 but this is unfortunately still an issue preventing us from adopting `dep`. "}}
{"actor":{"display_login":"mikkeloscar"}}