{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip-gci/pulls/comments/89617432","pull_request_review_id":10162102,"id":89617432,"diff_hunk":"@@ -0,0 +1,44 @@\n+import argparse\n+from upload import upload_task\n+\n+parser = argparse.ArgumentParser()\n+parser.add_argument('-f', '--force', dest='force', action=\"store_true\", default=False)\n+args = parser.parse_args()\n+\n+tasks = [\n+    (\"Android Project\", \"different parts of the Application in detail.\", \"\"\"Write about the basic functionality of the app, how the app should be used. Covering things narrowing to a stream or narrowing to a topic is a must include.\"\"\"),\n+    (\"Chat Box\", \"chatBox (functioning and what each button does) with screenshots.\", \"\"\"Include text about the behavior details about swipe to remove and it automatically goes away when the main recyclerView is scrolled.\\nSwitching between private and stream mode. \"\"\"),\n+    (\"Streams Drawer\", \"the streams drawer (with screenshots)\", \"\"\"Unread counts (Currently there is a bug which is breaking the unread counts, but I hope it would be fixed soon) and it expands and shows the topics of that stream. On clicking the Stream name you can directly narrow to that stream. \"\"\"),\n+    (\"some miscellaneous features\", \"some features.\", \"\"\"Day/Night mode\\nFiltering messages\\nMore \"\"\"),\n+    (\"widget\", \" the usage with screenshots of the widget.\", \"\"\"Update time of receiving messages.\\nNarrowed view in the widget.\"\"\"),\n+    (\"menu of long click on message\", \" the options available when long press the message.\\nWith a screenshot of the menu.\", \"\"\"Include documentation about each of the options.\"\"\"),\n+    (\"supported backends\", \"the implemented backends in the app.\\n You can get the information about these API’s at https://zulip.readthedocs.io/ \", \"\"\"Include text about the 3 Authentication login backend’s the project handles currently which are Email, Google, DevAuth Backend’s.\"\"\"),\n+    (\"API routes used in the application (for developers)\", \"the API routes by the Application.\\nYou can get the information about these API’s at https://zulip.readthedocs.io/\", \"\"\"All the API’s used like get_auth_backends and information about the API’s.\"\"\"),\n+]\n+\n+description = \"\"\"A descriptive text/Documentation and compiled like https://zulip.readthedocs.io/ describing \"\"\" + \"%s**\\n\\n **Checklist**\\n %s\"\n+\n+\n+for title, descriptive_text, checklist in tasks:\n+    upload_task(\n+        # https://developers.google.com/open-source/gci/resources/downloads/TaskAPISpec.pdf\n+        name = title,\n+        description = description % (descriptive_text, checklist),\n+        status = 1, # 1: draft, 2: published\n+        max_instances = 1,\n+        mentors = ['niftynei@gmail.com', 'rishig@zulipchat.com', 'tabbott@zulipchat.com', 'kunall.gupta17@gmail.com'],","path":"scripts/android.py","position":29,"original_position":29,"commit_id":"7d953f03abc10b1c8ec4d52a898500b1e92e761b","original_commit_id":"7d953f03abc10b1c8ec4d52a898500b1e92e761b","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"body":"Not really sure whom all to include in the mentors therefore i just added my email there! \r\n","created_at":"2016-11-25T13:28:27Z","updated_at":"2016-11-25T13:28:27Z","html_url":"https://github.com/zulip/zulip-gci/pull/9#discussion_r89617432","pull_request_url":"https://api.github.com/repos/zulip/zulip-gci/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/comments/89617432"},"html":{"href":"https://github.com/zulip/zulip-gci/pull/9#discussion_r89617432"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip-gci/pulls/9","id":95051820,"html_url":"https://github.com/zulip/zulip-gci/pull/9","diff_url":"https://github.com/zulip/zulip-gci/pull/9.diff","patch_url":"https://github.com/zulip/zulip-gci/pull/9.patch","issue_url":"https://api.github.com/repos/zulip/zulip-gci/issues/9","number":9,"state":"open","locked":false,"title":"Android tasks","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"body":"Currently I have converted the document into md format, \r\nFor the script do I have to write each of 42 tasks in this format ? \r\n```\r\n    upload_task(\r\n        # https://developers.google.com/open-source/gci/resources/downloads/TaskAPISpec.pdf\r\n        name = 'Cleanup Zulip code to follow PEP-8 style standards',\r\n        description = description % rule,\r\n        status = 1, # 1: draft, 2: published\r\n        max_instances = 1,\r\n        mentors = ['niftynei@gmail.com', 'rishig@zulipchat.com', 'tabbott@zulipchat.com'],\r\n        tags = ['python', 'pep8'], # free text\r\n        is_beginner = rule in beginner_rules,\r\n        # 1: Coding, 2: User Interface, 3: Documentation & Training,\r\n        # 4: Quality Assurance, 5: Outreach & Research\r\n        categories = [1, 4],\r\n        time_to_complete_in_days = 3, # must be between 3 and 7\r\n        # Field currently not accessible via API. gci-support says it is coming soon.\r\n        # external_url = \"TODO\",\r\n        private_metadata = \"PEP8\",\r\n        do_upload = args.force)\r\n```","created_at":"2016-11-23T17:53:11Z","updated_at":"2016-11-25T13:28:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e537c0eaaf169a37fdb2276cba09d1952d0e0b4e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip-gci/pulls/9/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip-gci/pulls/9/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip-gci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip-gci/issues/9/comments","statuses_url":"https://api.github.com/repos/zulip/zulip-gci/statuses/7d953f03abc10b1c8ec4d52a898500b1e92e761b","head":{"label":"kunall17:master","ref":"master","sha":"7d953f03abc10b1c8ec4d52a898500b1e92e761b","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"repo":{"id":74598758,"name":"zulip-gci","full_name":"kunall17/zulip-gci","owner":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kunall17/zulip-gci","description":"GCI project category descriptions","fork":true,"url":"https://api.github.com/repos/kunall17/zulip-gci","forks_url":"https://api.github.com/repos/kunall17/zulip-gci/forks","keys_url":"https://api.github.com/repos/kunall17/zulip-gci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kunall17/zulip-gci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kunall17/zulip-gci/teams","hooks_url":"https://api.github.com/repos/kunall17/zulip-gci/hooks","issue_events_url":"https://api.github.com/repos/kunall17/zulip-gci/issues/events{/number}","events_url":"https://api.github.com/repos/kunall17/zulip-gci/events","assignees_url":"https://api.github.com/repos/kunall17/zulip-gci/assignees{/user}","branches_url":"https://api.github.com/repos/kunall17/zulip-gci/branches{/branch}","tags_url":"https://api.github.com/repos/kunall17/zulip-gci/tags","blobs_url":"https://api.github.com/repos/kunall17/zulip-gci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kunall17/zulip-gci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kunall17/zulip-gci/git/refs{/sha}","trees_url":"https://api.github.com/repos/kunall17/zulip-gci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kunall17/zulip-gci/statuses/{sha}","languages_url":"https://api.github.com/repos/kunall17/zulip-gci/languages","stargazers_url":"https://api.github.com/repos/kunall17/zulip-gci/stargazers","contributors_url":"https://api.github.com/repos/kunall17/zulip-gci/contributors","subscribers_url":"https://api.github.com/repos/kunall17/zulip-gci/subscribers","subscription_url":"https://api.github.com/repos/kunall17/zulip-gci/subscription","commits_url":"https://api.github.com/repos/kunall17/zulip-gci/commits{/sha}","git_commits_url":"https://api.github.com/repos/kunall17/zulip-gci/git/commits{/sha}","comments_url":"https://api.github.com/repos/kunall17/zulip-gci/comments{/number}","issue_comment_url":"https://api.github.com/repos/kunall17/zulip-gci/issues/comments{/number}","contents_url":"https://api.github.com/repos/kunall17/zulip-gci/contents/{+path}","compare_url":"https://api.github.com/repos/kunall17/zulip-gci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kunall17/zulip-gci/merges","archive_url":"https://api.github.com/repos/kunall17/zulip-gci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kunall17/zulip-gci/downloads","issues_url":"https://api.github.com/repos/kunall17/zulip-gci/issues{/number}","pulls_url":"https://api.github.com/repos/kunall17/zulip-gci/pulls{/number}","milestones_url":"https://api.github.com/repos/kunall17/zulip-gci/milestones{/number}","notifications_url":"https://api.github.com/repos/kunall17/zulip-gci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kunall17/zulip-gci/labels{/name}","releases_url":"https://api.github.com/repos/kunall17/zulip-gci/releases{/id}","deployments_url":"https://api.github.com/repos/kunall17/zulip-gci/deployments","created_at":"2016-11-23T17:20:33Z","updated_at":"2016-11-23T17:20:34Z","pushed_at":"2016-11-25T13:25:54Z","git_url":"git://github.com/kunall17/zulip-gci.git","ssh_url":"git@github.com:kunall17/zulip-gci.git","clone_url":"https://github.com/kunall17/zulip-gci.git","svn_url":"https://github.com/kunall17/zulip-gci","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"zulip:master","ref":"master","sha":"2f7c36afb47524687abe9c2b4af5cb1f3363b8ec","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":73507048,"name":"zulip-gci","full_name":"zulip/zulip-gci","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip-gci","description":"GCI project category descriptions","fork":false,"url":"https://api.github.com/repos/zulip/zulip-gci","forks_url":"https://api.github.com/repos/zulip/zulip-gci/forks","keys_url":"https://api.github.com/repos/zulip/zulip-gci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip-gci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip-gci/teams","hooks_url":"https://api.github.com/repos/zulip/zulip-gci/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip-gci/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip-gci/events","assignees_url":"https://api.github.com/repos/zulip/zulip-gci/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip-gci/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip-gci/tags","blobs_url":"https://api.github.com/repos/zulip/zulip-gci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip-gci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip-gci/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip-gci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip-gci/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip-gci/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip-gci/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip-gci/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip-gci/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip-gci/subscription","commits_url":"https://api.github.com/repos/zulip/zulip-gci/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip-gci/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip-gci/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip-gci/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip-gci/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip-gci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip-gci/merges","archive_url":"https://api.github.com/repos/zulip/zulip-gci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip-gci/downloads","issues_url":"https://api.github.com/repos/zulip/zulip-gci/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip-gci/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip-gci/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip-gci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip-gci/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip-gci/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip-gci/deployments","created_at":"2016-11-11T19:55:33Z","updated_at":"2016-11-15T23:58:48Z","pushed_at":"2016-11-25T13:25:55Z","git_url":"git://github.com/zulip/zulip-gci.git","ssh_url":"git@github.com:zulip/zulip-gci.git","clone_url":"https://github.com/zulip/zulip-gci.git","svn_url":"https://github.com/zulip/zulip-gci","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/9"},"html":{"href":"https://github.com/zulip/zulip-gci/pull/9"},"issue":{"href":"https://api.github.com/repos/zulip/zulip-gci/issues/9"},"comments":{"href":"https://api.github.com/repos/zulip/zulip-gci/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip-gci/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip-gci/statuses/7d953f03abc10b1c8ec4d52a898500b1e92e761b"}}}}
{"actor":{"display_login":"kunall17"}}