{"action":"created","comment":{"url":"https://api.github.com/repos/archivesunleashed/aut/pulls/comments/188414962","pull_request_review_id":120388894,"id":188414962,"diff_hunk":"@@ -580,6 +580,11 @@\n       <artifactId>tika-parsers</artifactId>\n       <version>1.12</version>\n     </dependency>\n+    <dependency>\n+      <groupId>org.rogach</groupId>\n+      <artifactId>scallop_2.12</artifactId>","path":"pom.xml","position":6,"original_position":6,"commit_id":"6b86af05b006324bbe68dd60747b11ff993cfcf5","original_commit_id":"6b86af05b006324bbe68dd60747b11ff993cfcf5","user":{"login":"lintool","id":313837,"avatar_url":"https://avatars1.githubusercontent.com/u/313837?v=4","gravatar_id":"","url":"https://api.github.com/users/lintool","html_url":"https://github.com/lintool","followers_url":"https://api.github.com/users/lintool/followers","following_url":"https://api.github.com/users/lintool/following{/other_user}","gists_url":"https://api.github.com/users/lintool/gists{/gist_id}","starred_url":"https://api.github.com/users/lintool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lintool/subscriptions","organizations_url":"https://api.github.com/users/lintool/orgs","repos_url":"https://api.github.com/users/lintool/repos","events_url":"https://api.github.com/users/lintool/events{/privacy}","received_events_url":"https://api.github.com/users/lintool/received_events","type":"User","site_admin":false},"body":"FWIW, bespin is on `2.11`: https://github.com/lintool/bespin/blob/master/pom.xml#L244","created_at":"2018-05-15T19:51:18Z","updated_at":"2018-05-15T19:51:18Z","html_url":"https://github.com/archivesunleashed/aut/pull/225#discussion_r188414962","pull_request_url":"https://api.github.com/repos/archivesunleashed/aut/pulls/225","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/comments/188414962"},"html":{"href":"https://github.com/archivesunleashed/aut/pull/225#discussion_r188414962"},"pull_request":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/archivesunleashed/aut/pulls/225","id":188217122,"html_url":"https://github.com/archivesunleashed/aut/pull/225","diff_url":"https://github.com/archivesunleashed/aut/pull/225.diff","patch_url":"https://github.com/archivesunleashed/aut/pull/225.patch","issue_url":"https://api.github.com/repos/archivesunleashed/aut/issues/225","number":225,"state":"open","locked":false,"title":"Implement DomainFrequency, DomainGraph and PlainText extractor that can be run from command line","user":{"login":"TitusAn","id":38993451,"avatar_url":"https://avatars3.githubusercontent.com/u/38993451?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusAn","html_url":"https://github.com/TitusAn","followers_url":"https://api.github.com/users/TitusAn/followers","following_url":"https://api.github.com/users/TitusAn/following{/other_user}","gists_url":"https://api.github.com/users/TitusAn/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusAn/subscriptions","organizations_url":"https://api.github.com/users/TitusAn/orgs","repos_url":"https://api.github.com/users/TitusAn/repos","events_url":"https://api.github.com/users/TitusAn/events{/privacy}","received_events_url":"https://api.github.com/users/TitusAn/received_events","type":"User","site_admin":false},"body":"Implement DomainFrequency, DomainGraph and PlainText extractor that can be run via command line in spark-submit, along with their tests\r\n\r\n* * *\r\n\r\n**GitHub issue(s)**: #195 \r\n\r\n\r\n# What does this Pull Request do?\r\n\r\nThis pull request implement DomainFrequency, DomainGraph and PlainText extractor that can be run via command line in spark-submit, along with their tests. Job can be submitted like so:\r\n\r\n`./spark-2.3.0-bin-hadoop2.7/bin/spark-submit --class io.archivesunleashed.app.CommandLineAppRunner ./aut/target/aut-0.16.1-SNAPSHOT-fatjar.jar --extractor EXTRACTOR --input ./aut/src/test/resources/warc/example.warc.gz --output OUTPUT`\r\n\r\nwhere EXTRACTOR is one of domainFreq, domainGraph or plainText, and OUTPUT is the directory to write output to.\r\n\r\n# How should this be tested?\r\n\r\n`mvn install` to build the executable and run tests. There are three new tests that test each one of the operations added.\r\n\r\nExecute the above command in command line, substituting path to output, Spark and AUT executable as necessary.\r\n\r\n# Additional Notes:\r\n\r\n* Does this change require documentation to be updated?\r\n\r\nPossibly yes, because the jar file now has additional main function that can be invoked directly.\r\n\r\n* Does this change add any new dependencies?\r\n\r\nYes, org.rogach.scallop is used to parse command line arguments.\r\n\r\n* Could this change or impact execution of existing code?\r\n\r\nNo, because this pull request only creates new files.\r\n\r\n# Interested parties\r\n\r\nTag (@ mention) interested parties.\r\n\r\nThanks in advance for your help with the Archives Unleashed Toolkit!\r\n","created_at":"2018-05-15T18:31:50Z","updated_at":"2018-05-15T19:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"984929309854a1fa41894ede3ce31f7440456124","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/archivesunleashed/aut/pulls/225/commits","review_comments_url":"https://api.github.com/repos/archivesunleashed/aut/pulls/225/comments","review_comment_url":"https://api.github.com/repos/archivesunleashed/aut/pulls/comments{/number}","comments_url":"https://api.github.com/repos/archivesunleashed/aut/issues/225/comments","statuses_url":"https://api.github.com/repos/archivesunleashed/aut/statuses/6b86af05b006324bbe68dd60747b11ff993cfcf5","head":{"label":"TitusAn:master","ref":"master","sha":"6b86af05b006324bbe68dd60747b11ff993cfcf5","user":{"login":"TitusAn","id":38993451,"avatar_url":"https://avatars3.githubusercontent.com/u/38993451?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusAn","html_url":"https://github.com/TitusAn","followers_url":"https://api.github.com/users/TitusAn/followers","following_url":"https://api.github.com/users/TitusAn/following{/other_user}","gists_url":"https://api.github.com/users/TitusAn/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusAn/subscriptions","organizations_url":"https://api.github.com/users/TitusAn/orgs","repos_url":"https://api.github.com/users/TitusAn/repos","events_url":"https://api.github.com/users/TitusAn/events{/privacy}","received_events_url":"https://api.github.com/users/TitusAn/received_events","type":"User","site_admin":false},"repo":{"id":133553093,"name":"aut","full_name":"TitusAn/aut","owner":{"login":"TitusAn","id":38993451,"avatar_url":"https://avatars3.githubusercontent.com/u/38993451?v=4","gravatar_id":"","url":"https://api.github.com/users/TitusAn","html_url":"https://github.com/TitusAn","followers_url":"https://api.github.com/users/TitusAn/followers","following_url":"https://api.github.com/users/TitusAn/following{/other_user}","gists_url":"https://api.github.com/users/TitusAn/gists{/gist_id}","starred_url":"https://api.github.com/users/TitusAn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitusAn/subscriptions","organizations_url":"https://api.github.com/users/TitusAn/orgs","repos_url":"https://api.github.com/users/TitusAn/repos","events_url":"https://api.github.com/users/TitusAn/events{/privacy}","received_events_url":"https://api.github.com/users/TitusAn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TitusAn/aut","description":"      The Archives Unleashed Toolkit is an open-source toolkit for analyzing web archives.","fork":true,"url":"https://api.github.com/repos/TitusAn/aut","forks_url":"https://api.github.com/repos/TitusAn/aut/forks","keys_url":"https://api.github.com/repos/TitusAn/aut/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TitusAn/aut/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TitusAn/aut/teams","hooks_url":"https://api.github.com/repos/TitusAn/aut/hooks","issue_events_url":"https://api.github.com/repos/TitusAn/aut/issues/events{/number}","events_url":"https://api.github.com/repos/TitusAn/aut/events","assignees_url":"https://api.github.com/repos/TitusAn/aut/assignees{/user}","branches_url":"https://api.github.com/repos/TitusAn/aut/branches{/branch}","tags_url":"https://api.github.com/repos/TitusAn/aut/tags","blobs_url":"https://api.github.com/repos/TitusAn/aut/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TitusAn/aut/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TitusAn/aut/git/refs{/sha}","trees_url":"https://api.github.com/repos/TitusAn/aut/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TitusAn/aut/statuses/{sha}","languages_url":"https://api.github.com/repos/TitusAn/aut/languages","stargazers_url":"https://api.github.com/repos/TitusAn/aut/stargazers","contributors_url":"https://api.github.com/repos/TitusAn/aut/contributors","subscribers_url":"https://api.github.com/repos/TitusAn/aut/subscribers","subscription_url":"https://api.github.com/repos/TitusAn/aut/subscription","commits_url":"https://api.github.com/repos/TitusAn/aut/commits{/sha}","git_commits_url":"https://api.github.com/repos/TitusAn/aut/git/commits{/sha}","comments_url":"https://api.github.com/repos/TitusAn/aut/comments{/number}","issue_comment_url":"https://api.github.com/repos/TitusAn/aut/issues/comments{/number}","contents_url":"https://api.github.com/repos/TitusAn/aut/contents/{+path}","compare_url":"https://api.github.com/repos/TitusAn/aut/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TitusAn/aut/merges","archive_url":"https://api.github.com/repos/TitusAn/aut/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TitusAn/aut/downloads","issues_url":"https://api.github.com/repos/TitusAn/aut/issues{/number}","pulls_url":"https://api.github.com/repos/TitusAn/aut/pulls{/number}","milestones_url":"https://api.github.com/repos/TitusAn/aut/milestones{/number}","notifications_url":"https://api.github.com/repos/TitusAn/aut/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TitusAn/aut/labels{/name}","releases_url":"https://api.github.com/repos/TitusAn/aut/releases{/id}","deployments_url":"https://api.github.com/repos/TitusAn/aut/deployments","created_at":"2018-05-15T17:51:24Z","updated_at":"2018-05-15T18:14:21Z","pushed_at":"2018-05-15T18:14:20Z","git_url":"git://github.com/TitusAn/aut.git","ssh_url":"git@github.com:TitusAn/aut.git","clone_url":"https://github.com/TitusAn/aut.git","svn_url":"https://github.com/TitusAn/aut","homepage":"http://archivesunleashed.org/","size":7019,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"archivesunleashed:master","ref":"master","sha":"6f9f9b4cfc447f518c26cad2f0053fa48a6ca9cf","user":{"login":"archivesunleashed","id":19955715,"avatar_url":"https://avatars0.githubusercontent.com/u/19955715?v=4","gravatar_id":"","url":"https://api.github.com/users/archivesunleashed","html_url":"https://github.com/archivesunleashed","followers_url":"https://api.github.com/users/archivesunleashed/followers","following_url":"https://api.github.com/users/archivesunleashed/following{/other_user}","gists_url":"https://api.github.com/users/archivesunleashed/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesunleashed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesunleashed/subscriptions","organizations_url":"https://api.github.com/users/archivesunleashed/orgs","repos_url":"https://api.github.com/users/archivesunleashed/repos","events_url":"https://api.github.com/users/archivesunleashed/events{/privacy}","received_events_url":"https://api.github.com/users/archivesunleashed/received_events","type":"Organization","site_admin":false},"repo":{"id":96417459,"name":"aut","full_name":"archivesunleashed/aut","owner":{"login":"archivesunleashed","id":19955715,"avatar_url":"https://avatars0.githubusercontent.com/u/19955715?v=4","gravatar_id":"","url":"https://api.github.com/users/archivesunleashed","html_url":"https://github.com/archivesunleashed","followers_url":"https://api.github.com/users/archivesunleashed/followers","following_url":"https://api.github.com/users/archivesunleashed/following{/other_user}","gists_url":"https://api.github.com/users/archivesunleashed/gists{/gist_id}","starred_url":"https://api.github.com/users/archivesunleashed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archivesunleashed/subscriptions","organizations_url":"https://api.github.com/users/archivesunleashed/orgs","repos_url":"https://api.github.com/users/archivesunleashed/repos","events_url":"https://api.github.com/users/archivesunleashed/events{/privacy}","received_events_url":"https://api.github.com/users/archivesunleashed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/archivesunleashed/aut","description":"      The Archives Unleashed Toolkit is an open-source toolkit for analyzing web archives.","fork":false,"url":"https://api.github.com/repos/archivesunleashed/aut","forks_url":"https://api.github.com/repos/archivesunleashed/aut/forks","keys_url":"https://api.github.com/repos/archivesunleashed/aut/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archivesunleashed/aut/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archivesunleashed/aut/teams","hooks_url":"https://api.github.com/repos/archivesunleashed/aut/hooks","issue_events_url":"https://api.github.com/repos/archivesunleashed/aut/issues/events{/number}","events_url":"https://api.github.com/repos/archivesunleashed/aut/events","assignees_url":"https://api.github.com/repos/archivesunleashed/aut/assignees{/user}","branches_url":"https://api.github.com/repos/archivesunleashed/aut/branches{/branch}","tags_url":"https://api.github.com/repos/archivesunleashed/aut/tags","blobs_url":"https://api.github.com/repos/archivesunleashed/aut/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archivesunleashed/aut/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archivesunleashed/aut/git/refs{/sha}","trees_url":"https://api.github.com/repos/archivesunleashed/aut/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archivesunleashed/aut/statuses/{sha}","languages_url":"https://api.github.com/repos/archivesunleashed/aut/languages","stargazers_url":"https://api.github.com/repos/archivesunleashed/aut/stargazers","contributors_url":"https://api.github.com/repos/archivesunleashed/aut/contributors","subscribers_url":"https://api.github.com/repos/archivesunleashed/aut/subscribers","subscription_url":"https://api.github.com/repos/archivesunleashed/aut/subscription","commits_url":"https://api.github.com/repos/archivesunleashed/aut/commits{/sha}","git_commits_url":"https://api.github.com/repos/archivesunleashed/aut/git/commits{/sha}","comments_url":"https://api.github.com/repos/archivesunleashed/aut/comments{/number}","issue_comment_url":"https://api.github.com/repos/archivesunleashed/aut/issues/comments{/number}","contents_url":"https://api.github.com/repos/archivesunleashed/aut/contents/{+path}","compare_url":"https://api.github.com/repos/archivesunleashed/aut/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archivesunleashed/aut/merges","archive_url":"https://api.github.com/repos/archivesunleashed/aut/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archivesunleashed/aut/downloads","issues_url":"https://api.github.com/repos/archivesunleashed/aut/issues{/number}","pulls_url":"https://api.github.com/repos/archivesunleashed/aut/pulls{/number}","milestones_url":"https://api.github.com/repos/archivesunleashed/aut/milestones{/number}","notifications_url":"https://api.github.com/repos/archivesunleashed/aut/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archivesunleashed/aut/labels{/name}","releases_url":"https://api.github.com/repos/archivesunleashed/aut/releases{/id}","deployments_url":"https://api.github.com/repos/archivesunleashed/aut/deployments","created_at":"2017-07-06T10:13:44Z","updated_at":"2018-05-15T13:30:15Z","pushed_at":"2018-05-15T18:31:51Z","git_url":"git://github.com/archivesunleashed/aut.git","ssh_url":"git@github.com:archivesunleashed/aut.git","clone_url":"https://github.com/archivesunleashed/aut.git","svn_url":"https://github.com/archivesunleashed/aut","homepage":"http://archivesunleashed.org/","size":7014,"stargazers_count":43,"watchers_count":43,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13,"open_issues":37,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/225"},"html":{"href":"https://github.com/archivesunleashed/aut/pull/225"},"issue":{"href":"https://api.github.com/repos/archivesunleashed/aut/issues/225"},"comments":{"href":"https://api.github.com/repos/archivesunleashed/aut/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/archivesunleashed/aut/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/archivesunleashed/aut/statuses/6b86af05b006324bbe68dd60747b11ff993cfcf5"}},"author_association":"NONE"}}
{"actor":{"display_login":"lintool"}}