{"action":"created","comment":{"url":"https://api.github.com/repos/allenai/common/pulls/comments/37471478","id":37471478,"diff_hunk":"@@ -81,19 +83,18 @@ object Version {\n     val pkg = \"/\" + org + \"/\" + name.replaceAll(\"-\", \"\")\n     val artifactConfUrl = this.getClass.getResource(pkg + \"/artifact.conf\")\n     val gitConfUrl = this.getClass.getResource(pkg + \"/git.conf\")\n-\n+    val cacheKeyConfUrl = this.getClass.getResource(pkg + \"/cacheKey.Sha1\")\n     require(artifactConfUrl != null, \"Could not find artifact.conf in \" + pkg + \".\")\n     require(gitConfUrl != null, \"Could not find git.conf in \" + pkg + \".\")\n \n     val artifactConf = ConfigFactory.parseURL(artifactConfUrl)\n     val gitConf = ConfigFactory.parseURL(gitConfUrl)\n-\n     val artifactVersion = artifactConf[String](\"version\")\n     val sha1 = gitConf[String](\"sha1\")\n     val commitDate = gitConf[Long](\"date\")\n     val remotes = gitConf.getStringList(\"remotes\").asScala\n-\n-    Version(GitVersion.create(sha1, commitDate, remotes), artifactVersion)\n+    val cacheKey = Option(System.getProperty(\"application.cacheKey\", null))","path":"core/src/main/scala/org/allenai/common/Version.scala","position":32,"original_position":32,"commit_id":"f473b1ccb0256e3d139d69878de2c627484d3c05","original_commit_id":"f473b1ccb0256e3d139d69878de2c627484d3c05","user":{"login":"ryanai3","id":8884501,"avatar_url":"https://avatars.githubusercontent.com/u/8884501?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanai3","html_url":"https://github.com/ryanai3","followers_url":"https://api.github.com/users/ryanai3/followers","following_url":"https://api.github.com/users/ryanai3/following{/other_user}","gists_url":"https://api.github.com/users/ryanai3/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanai3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanai3/subscriptions","organizations_url":"https://api.github.com/users/ryanai3/orgs","repos_url":"https://api.github.com/users/ryanai3/repos","events_url":"https://api.github.com/users/ryanai3/events{/privacy}","received_events_url":"https://api.github.com/users/ryanai3/received_events","type":"User","site_admin":false},"body":"it is - fixed","created_at":"2015-08-19T21:36:02Z","updated_at":"2015-08-19T21:36:02Z","html_url":"https://github.com/allenai/common/pull/144#discussion_r37471478","pull_request_url":"https://api.github.com/repos/allenai/common/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/allenai/common/pulls/comments/37471478"},"html":{"href":"https://github.com/allenai/common/pull/144#discussion_r37471478"},"pull_request":{"href":"https://api.github.com/repos/allenai/common/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/allenai/common/pulls/144","id":39313597,"html_url":"https://github.com/allenai/common/pull/144","diff_url":"https://github.com/allenai/common/pull/144.diff","patch_url":"https://github.com/allenai/common/pull/144.patch","issue_url":"https://api.github.com/repos/allenai/common/issues/144","number":144,"state":"open","locked":false,"title":"added cacheKey: Option[String] to Version","user":{"login":"ryanai3","id":8884501,"avatar_url":"https://avatars.githubusercontent.com/u/8884501?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanai3","html_url":"https://github.com/ryanai3","followers_url":"https://api.github.com/users/ryanai3/followers","following_url":"https://api.github.com/users/ryanai3/following{/other_user}","gists_url":"https://api.github.com/users/ryanai3/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanai3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanai3/subscriptions","organizations_url":"https://api.github.com/users/ryanai3/orgs","repos_url":"https://api.github.com/users/ryanai3/repos","events_url":"https://api.github.com/users/ryanai3/events{/privacy}","received_events_url":"https://api.github.com/users/ryanai3/received_events","type":"User","site_admin":false},"body":"Adds cacheKey as an option field of version and handles building from resources","created_at":"2015-07-06T21:37:56Z","updated_at":"2015-08-19T21:36:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5aaf2e94d70141c13c786a1843616b9d2a9df0eb","assignee":{"login":"schmmd","id":954798,"avatar_url":"https://avatars.githubusercontent.com/u/954798?v=3","gravatar_id":"","url":"https://api.github.com/users/schmmd","html_url":"https://github.com/schmmd","followers_url":"https://api.github.com/users/schmmd/followers","following_url":"https://api.github.com/users/schmmd/following{/other_user}","gists_url":"https://api.github.com/users/schmmd/gists{/gist_id}","starred_url":"https://api.github.com/users/schmmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmmd/subscriptions","organizations_url":"https://api.github.com/users/schmmd/orgs","repos_url":"https://api.github.com/users/schmmd/repos","events_url":"https://api.github.com/users/schmmd/events{/privacy}","received_events_url":"https://api.github.com/users/schmmd/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/allenai/common/pulls/144/commits","review_comments_url":"https://api.github.com/repos/allenai/common/pulls/144/comments","review_comment_url":"https://api.github.com/repos/allenai/common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allenai/common/issues/144/comments","statuses_url":"https://api.github.com/repos/allenai/common/statuses/f473b1ccb0256e3d139d69878de2c627484d3c05","head":{"label":"ryanai3:add-cache-key","ref":"add-cache-key","sha":"f473b1ccb0256e3d139d69878de2c627484d3c05","user":{"login":"ryanai3","id":8884501,"avatar_url":"https://avatars.githubusercontent.com/u/8884501?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanai3","html_url":"https://github.com/ryanai3","followers_url":"https://api.github.com/users/ryanai3/followers","following_url":"https://api.github.com/users/ryanai3/following{/other_user}","gists_url":"https://api.github.com/users/ryanai3/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanai3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanai3/subscriptions","organizations_url":"https://api.github.com/users/ryanai3/orgs","repos_url":"https://api.github.com/users/ryanai3/repos","events_url":"https://api.github.com/users/ryanai3/events{/privacy}","received_events_url":"https://api.github.com/users/ryanai3/received_events","type":"User","site_admin":false},"repo":{"id":37887366,"name":"common","full_name":"ryanai3/common","owner":{"login":"ryanai3","id":8884501,"avatar_url":"https://avatars.githubusercontent.com/u/8884501?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanai3","html_url":"https://github.com/ryanai3","followers_url":"https://api.github.com/users/ryanai3/followers","following_url":"https://api.github.com/users/ryanai3/following{/other_user}","gists_url":"https://api.github.com/users/ryanai3/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanai3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanai3/subscriptions","organizations_url":"https://api.github.com/users/ryanai3/orgs","repos_url":"https://api.github.com/users/ryanai3/repos","events_url":"https://api.github.com/users/ryanai3/events{/privacy}","received_events_url":"https://api.github.com/users/ryanai3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanai3/common","description":"A collection of useful utility classes and functions.","fork":true,"url":"https://api.github.com/repos/ryanai3/common","forks_url":"https://api.github.com/repos/ryanai3/common/forks","keys_url":"https://api.github.com/repos/ryanai3/common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanai3/common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanai3/common/teams","hooks_url":"https://api.github.com/repos/ryanai3/common/hooks","issue_events_url":"https://api.github.com/repos/ryanai3/common/issues/events{/number}","events_url":"https://api.github.com/repos/ryanai3/common/events","assignees_url":"https://api.github.com/repos/ryanai3/common/assignees{/user}","branches_url":"https://api.github.com/repos/ryanai3/common/branches{/branch}","tags_url":"https://api.github.com/repos/ryanai3/common/tags","blobs_url":"https://api.github.com/repos/ryanai3/common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanai3/common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanai3/common/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanai3/common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanai3/common/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanai3/common/languages","stargazers_url":"https://api.github.com/repos/ryanai3/common/stargazers","contributors_url":"https://api.github.com/repos/ryanai3/common/contributors","subscribers_url":"https://api.github.com/repos/ryanai3/common/subscribers","subscription_url":"https://api.github.com/repos/ryanai3/common/subscription","commits_url":"https://api.github.com/repos/ryanai3/common/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanai3/common/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanai3/common/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanai3/common/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanai3/common/contents/{+path}","compare_url":"https://api.github.com/repos/ryanai3/common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanai3/common/merges","archive_url":"https://api.github.com/repos/ryanai3/common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanai3/common/downloads","issues_url":"https://api.github.com/repos/ryanai3/common/issues{/number}","pulls_url":"https://api.github.com/repos/ryanai3/common/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanai3/common/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanai3/common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanai3/common/labels{/name}","releases_url":"https://api.github.com/repos/ryanai3/common/releases{/id}","created_at":"2015-06-23T00:09:49Z","updated_at":"2015-06-23T00:09:49Z","pushed_at":"2015-08-19T21:03:53Z","git_url":"git://github.com/ryanai3/common.git","ssh_url":"git@github.com:ryanai3/common.git","clone_url":"https://github.com/ryanai3/common.git","svn_url":"https://github.com/ryanai3/common","homepage":null,"size":23324,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"allenai:master","ref":"master","sha":"cc49644875f198c020719eabad93731f49541d46","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":15063788,"name":"common","full_name":"allenai/common","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/common","description":"A collection of useful utility classes and functions.","fork":false,"url":"https://api.github.com/repos/allenai/common","forks_url":"https://api.github.com/repos/allenai/common/forks","keys_url":"https://api.github.com/repos/allenai/common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/common/teams","hooks_url":"https://api.github.com/repos/allenai/common/hooks","issue_events_url":"https://api.github.com/repos/allenai/common/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/common/events","assignees_url":"https://api.github.com/repos/allenai/common/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/common/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/common/tags","blobs_url":"https://api.github.com/repos/allenai/common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/common/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/common/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/common/languages","stargazers_url":"https://api.github.com/repos/allenai/common/stargazers","contributors_url":"https://api.github.com/repos/allenai/common/contributors","subscribers_url":"https://api.github.com/repos/allenai/common/subscribers","subscription_url":"https://api.github.com/repos/allenai/common/subscription","commits_url":"https://api.github.com/repos/allenai/common/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/common/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/common/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/common/issues/comments{/number}","contents_url":"https://api.github.com/repos/allenai/common/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/common/merges","archive_url":"https://api.github.com/repos/allenai/common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/common/downloads","issues_url":"https://api.github.com/repos/allenai/common/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/common/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/common/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/common/labels{/name}","releases_url":"https://api.github.com/repos/allenai/common/releases{/id}","created_at":"2013-12-10T01:16:45Z","updated_at":"2015-04-30T23:34:32Z","pushed_at":"2015-08-19T21:03:53Z","git_url":"git://github.com/allenai/common.git","ssh_url":"git@github.com:allenai/common.git","clone_url":"https://github.com/allenai/common.git","svn_url":"https://github.com/allenai/common","homepage":null,"size":24487,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":11,"forks":7,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allenai/common/pulls/144"},"html":{"href":"https://github.com/allenai/common/pull/144"},"issue":{"href":"https://api.github.com/repos/allenai/common/issues/144"},"comments":{"href":"https://api.github.com/repos/allenai/common/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/allenai/common/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/allenai/common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allenai/common/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/allenai/common/statuses/f473b1ccb0256e3d139d69878de2c627484d3c05"}}}}