{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7","id":199080568,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MDgwNTY4","html_url":"https://github.com/sourcerer-io/anishot/pull/7","diff_url":"https://github.com/sourcerer-io/anishot/pull/7.diff","patch_url":"https://github.com/sourcerer-io/anishot/pull/7.patch","issue_url":"https://api.github.com/repos/sourcerer-io/anishot/issues/7","number":7,"state":"closed","locked":false,"title":"Replace absl by python argparse from stdlib","user":{"login":"4383","id":1541489,"node_id":"MDQ6VXNlcjE1NDE0ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1541489?v=4","gravatar_id":"","url":"https://api.github.com/users/4383","html_url":"https://github.com/4383","followers_url":"https://api.github.com/users/4383/followers","following_url":"https://api.github.com/users/4383/following{/other_user}","gists_url":"https://api.github.com/users/4383/gists{/gist_id}","starred_url":"https://api.github.com/users/4383/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4383/subscriptions","organizations_url":"https://api.github.com/users/4383/orgs","repos_url":"https://api.github.com/users/4383/repos","events_url":"https://api.github.com/users/4383/events{/privacy}","received_events_url":"https://api.github.com/users/4383/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\n# Overview\r\n- remove dependency (absl)\r\n- replace absl by python standard library argparse \r\n- remove unused import (os).\r\n- update help\r\n\r\n## Issues\r\nFix #5 \r\n\r\n## Usage\r\n```shell\r\n$ git clone https://github.com/4383/anishot --single-branch -b absl_to_argparse\r\n$ cd anishot\r\n$ pip install pbr\r\n$ python setup.py develop\r\n$ anishot ~/screenshot.png /tmp/output.gif 486\r\nDone! Generated file will be available at /tmp/output.gif\r\n$ ls /tmp\r\noutput.py\r\n$ anishot --help\r\nusage: anishot [-h] [-p PAD] [-m MAXSPEED] [-s [STOPS [STOPS ...]]]\r\n               [--zoom-steps ZOOM_STEPS] [--start-scale START_SCALE]\r\n               [--zoom-to ZOOM_TO] [--shadow-size SHADOW_SIZE]\r\n               [--rgb-outline RGB_OUTLINE] [--rgb-background RGB_BACKGROUND]\r\n               [--rgb-shadow RGB_SHADOW] [--rgb-window RGB_WINDOW]\r\n               input output height\r\n\r\nAnimates a long screenshot into a GIF\r\n\r\npositional arguments:\r\n  input                 Input screenshot image\r\n  output                Output animated GIF\r\n  height                Window height\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  -p PAD, --pad PAD     Padding on sides\r\n  -m MAXSPEED, --maxspeed MAXSPEED\r\n                        Max speed on scroll px/frame\r\n  -s [STOPS [STOPS ...]], --stops [STOPS [STOPS ...]]\r\n                        Max speed on scroll px/frame\r\n  --zoom-steps ZOOM_STEPS\r\n                        Number of steps on initial zoom in\r\n  --start-scale START_SCALE\r\n                        Start scale\r\n  --zoom-to ZOOM_TO     Point to zoom to\r\n  --shadow-size SHADOW_SIZE\r\n                        Shadow size\r\n  --rgb-outline RGB_OUTLINE\r\n                        Screenshot outline color\r\n  --rgb-background RGB_BACKGROUND\r\n                        Background color\r\n  --rgb-shadow RGB_SHADOW\r\n                        Screenshot shadow color\r\n  --rgb-window RGB_WINDOW\r\n                        Window outline color\r\n```","created_at":"2018-07-03T20:54:03Z","updated_at":"2018-08-10T02:43:12Z","closed_at":"2018-08-10T02:43:12Z","merged_at":"2018-08-10T02:43:12Z","merge_commit_sha":"6521ec380e895b8490cb7386896a600b9fafb556","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7/commits","review_comments_url":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7/comments","review_comment_url":"https://api.github.com/repos/sourcerer-io/anishot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcerer-io/anishot/issues/7/comments","statuses_url":"https://api.github.com/repos/sourcerer-io/anishot/statuses/7626a0b35a8b9d595040f9b977d99c457b83bb1c","head":{"label":"4383:absl_to_argparse","ref":"absl_to_argparse","sha":"7626a0b35a8b9d595040f9b977d99c457b83bb1c","user":{"login":"4383","id":1541489,"node_id":"MDQ6VXNlcjE1NDE0ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1541489?v=4","gravatar_id":"","url":"https://api.github.com/users/4383","html_url":"https://github.com/4383","followers_url":"https://api.github.com/users/4383/followers","following_url":"https://api.github.com/users/4383/following{/other_user}","gists_url":"https://api.github.com/users/4383/gists{/gist_id}","starred_url":"https://api.github.com/users/4383/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4383/subscriptions","organizations_url":"https://api.github.com/users/4383/orgs","repos_url":"https://api.github.com/users/4383/repos","events_url":"https://api.github.com/users/4383/events{/privacy}","received_events_url":"https://api.github.com/users/4383/received_events","type":"User","site_admin":false},"repo":{"id":138728713,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3Mjg3MTM=","name":"anishot","full_name":"4383/anishot","owner":{"login":"4383","id":1541489,"node_id":"MDQ6VXNlcjE1NDE0ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1541489?v=4","gravatar_id":"","url":"https://api.github.com/users/4383","html_url":"https://github.com/4383","followers_url":"https://api.github.com/users/4383/followers","following_url":"https://api.github.com/users/4383/following{/other_user}","gists_url":"https://api.github.com/users/4383/gists{/gist_id}","starred_url":"https://api.github.com/users/4383/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4383/subscriptions","organizations_url":"https://api.github.com/users/4383/orgs","repos_url":"https://api.github.com/users/4383/repos","events_url":"https://api.github.com/users/4383/events{/privacy}","received_events_url":"https://api.github.com/users/4383/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/4383/anishot","description":"Animate a long screenshot","fork":true,"url":"https://api.github.com/repos/4383/anishot","forks_url":"https://api.github.com/repos/4383/anishot/forks","keys_url":"https://api.github.com/repos/4383/anishot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4383/anishot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4383/anishot/teams","hooks_url":"https://api.github.com/repos/4383/anishot/hooks","issue_events_url":"https://api.github.com/repos/4383/anishot/issues/events{/number}","events_url":"https://api.github.com/repos/4383/anishot/events","assignees_url":"https://api.github.com/repos/4383/anishot/assignees{/user}","branches_url":"https://api.github.com/repos/4383/anishot/branches{/branch}","tags_url":"https://api.github.com/repos/4383/anishot/tags","blobs_url":"https://api.github.com/repos/4383/anishot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4383/anishot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4383/anishot/git/refs{/sha}","trees_url":"https://api.github.com/repos/4383/anishot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4383/anishot/statuses/{sha}","languages_url":"https://api.github.com/repos/4383/anishot/languages","stargazers_url":"https://api.github.com/repos/4383/anishot/stargazers","contributors_url":"https://api.github.com/repos/4383/anishot/contributors","subscribers_url":"https://api.github.com/repos/4383/anishot/subscribers","subscription_url":"https://api.github.com/repos/4383/anishot/subscription","commits_url":"https://api.github.com/repos/4383/anishot/commits{/sha}","git_commits_url":"https://api.github.com/repos/4383/anishot/git/commits{/sha}","comments_url":"https://api.github.com/repos/4383/anishot/comments{/number}","issue_comment_url":"https://api.github.com/repos/4383/anishot/issues/comments{/number}","contents_url":"https://api.github.com/repos/4383/anishot/contents/{+path}","compare_url":"https://api.github.com/repos/4383/anishot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4383/anishot/merges","archive_url":"https://api.github.com/repos/4383/anishot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4383/anishot/downloads","issues_url":"https://api.github.com/repos/4383/anishot/issues{/number}","pulls_url":"https://api.github.com/repos/4383/anishot/pulls{/number}","milestones_url":"https://api.github.com/repos/4383/anishot/milestones{/number}","notifications_url":"https://api.github.com/repos/4383/anishot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4383/anishot/labels{/name}","releases_url":"https://api.github.com/repos/4383/anishot/releases{/id}","deployments_url":"https://api.github.com/repos/4383/anishot/deployments","created_at":"2018-06-26T11:31:28Z","updated_at":"2018-06-26T11:31:30Z","pushed_at":"2018-08-10T02:40:38Z","git_url":"git://github.com/4383/anishot.git","ssh_url":"git@github.com:4383/anishot.git","clone_url":"https://github.com/4383/anishot.git","svn_url":"https://github.com/4383/anishot","homepage":"","size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sourcerer-io:master","ref":"master","sha":"e05fccd79c523e80ce47b8116cebd7f6aa59ff9f","user":{"login":"sourcerer-io","id":29913589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTEzNTg5","avatar_url":"https://avatars3.githubusercontent.com/u/29913589?v=4","gravatar_id":"","url":"https://api.github.com/users/sourcerer-io","html_url":"https://github.com/sourcerer-io","followers_url":"https://api.github.com/users/sourcerer-io/followers","following_url":"https://api.github.com/users/sourcerer-io/following{/other_user}","gists_url":"https://api.github.com/users/sourcerer-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcerer-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcerer-io/subscriptions","organizations_url":"https://api.github.com/users/sourcerer-io/orgs","repos_url":"https://api.github.com/users/sourcerer-io/repos","events_url":"https://api.github.com/users/sourcerer-io/events{/privacy}","received_events_url":"https://api.github.com/users/sourcerer-io/received_events","type":"Organization","site_admin":false},"repo":{"id":137509451,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1MDk0NTE=","name":"anishot","full_name":"sourcerer-io/anishot","owner":{"login":"sourcerer-io","id":29913589,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5OTEzNTg5","avatar_url":"https://avatars3.githubusercontent.com/u/29913589?v=4","gravatar_id":"","url":"https://api.github.com/users/sourcerer-io","html_url":"https://github.com/sourcerer-io","followers_url":"https://api.github.com/users/sourcerer-io/followers","following_url":"https://api.github.com/users/sourcerer-io/following{/other_user}","gists_url":"https://api.github.com/users/sourcerer-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcerer-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcerer-io/subscriptions","organizations_url":"https://api.github.com/users/sourcerer-io/orgs","repos_url":"https://api.github.com/users/sourcerer-io/repos","events_url":"https://api.github.com/users/sourcerer-io/events{/privacy}","received_events_url":"https://api.github.com/users/sourcerer-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcerer-io/anishot","description":"Animate a long screenshot","fork":false,"url":"https://api.github.com/repos/sourcerer-io/anishot","forks_url":"https://api.github.com/repos/sourcerer-io/anishot/forks","keys_url":"https://api.github.com/repos/sourcerer-io/anishot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcerer-io/anishot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcerer-io/anishot/teams","hooks_url":"https://api.github.com/repos/sourcerer-io/anishot/hooks","issue_events_url":"https://api.github.com/repos/sourcerer-io/anishot/issues/events{/number}","events_url":"https://api.github.com/repos/sourcerer-io/anishot/events","assignees_url":"https://api.github.com/repos/sourcerer-io/anishot/assignees{/user}","branches_url":"https://api.github.com/repos/sourcerer-io/anishot/branches{/branch}","tags_url":"https://api.github.com/repos/sourcerer-io/anishot/tags","blobs_url":"https://api.github.com/repos/sourcerer-io/anishot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcerer-io/anishot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcerer-io/anishot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcerer-io/anishot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcerer-io/anishot/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcerer-io/anishot/languages","stargazers_url":"https://api.github.com/repos/sourcerer-io/anishot/stargazers","contributors_url":"https://api.github.com/repos/sourcerer-io/anishot/contributors","subscribers_url":"https://api.github.com/repos/sourcerer-io/anishot/subscribers","subscription_url":"https://api.github.com/repos/sourcerer-io/anishot/subscription","commits_url":"https://api.github.com/repos/sourcerer-io/anishot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcerer-io/anishot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcerer-io/anishot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcerer-io/anishot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcerer-io/anishot/contents/{+path}","compare_url":"https://api.github.com/repos/sourcerer-io/anishot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcerer-io/anishot/merges","archive_url":"https://api.github.com/repos/sourcerer-io/anishot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcerer-io/anishot/downloads","issues_url":"https://api.github.com/repos/sourcerer-io/anishot/issues{/number}","pulls_url":"https://api.github.com/repos/sourcerer-io/anishot/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcerer-io/anishot/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcerer-io/anishot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcerer-io/anishot/labels{/name}","releases_url":"https://api.github.com/repos/sourcerer-io/anishot/releases{/id}","deployments_url":"https://api.github.com/repos/sourcerer-io/anishot/deployments","created_at":"2018-06-15T16:24:16Z","updated_at":"2018-08-10T02:37:32Z","pushed_at":"2018-08-10T02:43:12Z","git_url":"git://github.com/sourcerer-io/anishot.git","ssh_url":"git@github.com:sourcerer-io/anishot.git","clone_url":"https://github.com/sourcerer-io/anishot.git","svn_url":"https://github.com/sourcerer-io/anishot","homepage":"","size":14,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":0,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7"},"html":{"href":"https://github.com/sourcerer-io/anishot/pull/7"},"issue":{"href":"https://api.github.com/repos/sourcerer-io/anishot/issues/7"},"comments":{"href":"https://api.github.com/repos/sourcerer-io/anishot/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcerer-io/anishot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcerer-io/anishot/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/sourcerer-io/anishot/statuses/7626a0b35a8b9d595040f9b977d99c457b83bb1c"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"sergey48k","id":20287615,"node_id":"MDQ6VXNlcjIwMjg3NjE1","avatar_url":"https://avatars0.githubusercontent.com/u/20287615?v=4","gravatar_id":"","url":"https://api.github.com/users/sergey48k","html_url":"https://github.com/sergey48k","followers_url":"https://api.github.com/users/sergey48k/followers","following_url":"https://api.github.com/users/sergey48k/following{/other_user}","gists_url":"https://api.github.com/users/sergey48k/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey48k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey48k/subscriptions","organizations_url":"https://api.github.com/users/sergey48k/orgs","repos_url":"https://api.github.com/users/sergey48k/repos","events_url":"https://api.github.com/users/sergey48k/events{/privacy}","received_events_url":"https://api.github.com/users/sergey48k/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":2,"additions":124,"deletions":97,"changed_files":3}}
{"actor":{"display_login":"sergey48k"}}