{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1247","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1247/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1247/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1247/events","html_url":"https://github.com/dart-lang/pub/issues/1247","id":85646698,"number":1247,"title":"pub-cache/git corruption not resolvable with 'pub repair'","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/NeedsInfo","name":"NeedsInfo","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:25:42Z","updated_at":"2015-06-05T22:25:42Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#22455_\n\n*This issue was originally filed by travis.sand...&#064;workiva.com*\n_____\n**What steps will reproduce the problem?**\n1. I wish I had exact steps, but our team is regularly encountering issues with this\n2. It seems to occur most often when switching the version of a dependency\n3. We regularly use git/url/ref dependencies for internal libraries, could be a contributing factor\n\n**What is the expected output? What do you see instead?**\npub serve / pub get should work\nInstead, we see errors like: + internal_library_name 0.0.0 from git {ref: 1.1.0, url: git@github.com:username/internal_library_name.git}\nGit error. Command: git checkout 1.1.0\n\n**What version of the product are you using?**\nDart 1.8.3\n\n**On what operating system?**\nOS X 10.10\n\n**What browser (if applicable)?**\nDartium\n\n**Please provide any additional information below.**\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109462432","html_url":"https://github.com/dart-lang/pub/issues/1247#issuecomment-109462432","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1247","id":109462432,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:25:42Z","updated_at":"2015-06-05T22:25:42Z","body":"*This comment was originally written by travis.sand...&#064;workiva.com*\n_____\nYeah, I should have mentioned that is our workaround to any \"weird\" pub get/pub serve issue is to blow away ~/.pub-cache/git."}}