{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/149","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/149/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/149/events","html_url":"https://github.com/dart-lang/pub/issues/149","id":85641922,"number":149,"title":"pub: cleaning up 'dirty' packages -- `pub pristine` or similiar?","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/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-06-05T21:59:43Z","updated_at":"2015-06-05T21:59:45Z","closed_at":null,"body":"<a href=\"https://github.com/kevmoo\"><img src=\"https://avatars.githubusercontent.com/u/17034?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [kevmoo](https://github.com/kevmoo)**\n_Originally opened as dart-lang/sdk#5391_\n\n----\n\n**What steps will reproduce the problem?**\n1. Add a 3rd-party package to a project.\n2. Use CMD-F3 in the editor to find and open a file from the imported package.\n3. Change the code.\n\nPub update/install: don't cleanup the changes.\n\nI'd vote for a 'pub pristine' command or similar (see Ruby gems) to force a refresh of the contents on disk, ever if version/revision values have not changed."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109452193","html_url":"https://github.com/dart-lang/pub/issues/149#issuecomment-109452193","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/149","id":109452193,"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-05T21:59:45Z","updated_at":"2015-06-05T21:59:45Z","body":"<a href=\"https://github.com/kevmoo\"><img src=\"https://avatars.githubusercontent.com/u/17034?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [kevmoo](https://github.com/kevmoo)**\n\n----\n\nGreat feature, but I'd still argue for --force (or similar) on get/upgrade\n\nI'd take 'pub cache pristine' which would run through all installed packages, for instance."}}