{"action":"created","comment":{"url":"https://api.github.com/repos/kivy/python-for-android/pulls/comments/46009465","id":46009465,"diff_hunk":"@@ -40,21 +43,14 @@ def run_distribute(self):\n             info('Copying python distribution')\n             hostpython = sh.Command(self.ctx.hostpython)\n             # AND: This *doesn't* need to be in arm env?\n-            shprint(hostpython, '-OO', '-m', 'compileall', self.ctx.get_python_install_dir())\n+            shprint(hostpython, '-OO', '-m', 'compileall', self.ctx.get_python_install_dir(),\n+                    _tail=10, _filterout=\"^Listing\", _critical=True)","path":"pythonforandroid/bootstraps/pygame/__init__.py","position":22,"original_position":22,"commit_id":"f80d1f6aa7c2aa04e56a7e25eaed67b71d72b22d","original_commit_id":"f80d1f6aa7c2aa04e56a7e25eaed67b71d72b22d","user":{"login":"ibobalo","id":1850678,"avatar_url":"https://avatars.githubusercontent.com/u/1850678?v=3","gravatar_id":"","url":"https://api.github.com/users/ibobalo","html_url":"https://github.com/ibobalo","followers_url":"https://api.github.com/users/ibobalo/followers","following_url":"https://api.github.com/users/ibobalo/following{/other_user}","gists_url":"https://api.github.com/users/ibobalo/gists{/gist_id}","starred_url":"https://api.github.com/users/ibobalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibobalo/subscriptions","organizations_url":"https://api.github.com/users/ibobalo/orgs","repos_url":"https://api.github.com/users/ibobalo/repos","events_url":"https://api.github.com/users/ibobalo/events{/privacy}","received_events_url":"https://api.github.com/users/ibobalo/received_events","type":"User","site_admin":false},"body":"its new args of shprint. for pretty log optputs.\n_tail mean show only N last lines of stdout. stderr will out full. like\ncommand args | tail 10\n_filterout mean do not print stdout lines matching regexp. like command\nargs | grep -v -e \"re\"\nalso _filter available\nand _critical mean stop processing immediate after error, and do not\nre-raise exception.\nall this changes tot effect commands execution (except critical), just\nbutify its printout\n\n2015-11-27 0:40 GMT+02:00 Alexander Taylor <notifications@github.com>:\n\n> In pythonforandroid/bootstraps/pygame/__init__.py\n> <https://github.com/kivy/python-for-android/pull/480#discussion_r46009216>\n> :\n>\n> > @@ -40,21 +43,14 @@ def run_distribute(self):\n> >              info('Copying python distribution')\n> >              hostpython = sh.Command(self.ctx.hostpython)\n> >              # AND: This *doesn't* need to be in arm env?\n> > -            shprint(hostpython, '-OO', '-m', 'compileall', self.ctx.get_python_install_dir())\n> > +            shprint(hostpython, '-OO', '-m', 'compileall', self.ctx.get_python_install_dir(),\n> > +                    _tail=10, _filterout=\"^Listing\", _critical=True)\n>\n> What do these extra arguments do? I thought they would be sh arguments,\n> but couldn't find them.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kivy/python-for-android/pull/480/files#r46009216>.\n>\n","created_at":"2015-11-26T22:51:38Z","updated_at":"2015-11-26T22:51:38Z","html_url":"https://github.com/kivy/python-for-android/pull/480#discussion_r46009465","pull_request_url":"https://api.github.com/repos/kivy/python-for-android/pulls/480","_links":{"self":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/comments/46009465"},"html":{"href":"https://github.com/kivy/python-for-android/pull/480#discussion_r46009465"},"pull_request":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/480"}}},"pull_request":{"url":"https://api.github.com/repos/kivy/python-for-android/pulls/480","id":48888726,"html_url":"https://github.com/kivy/python-for-android/pull/480","diff_url":"https://github.com/kivy/python-for-android/pull/480.diff","patch_url":"https://github.com/kivy/python-for-android/pull/480.patch","issue_url":"https://api.github.com/repos/kivy/python-for-android/issues/480","number":480,"state":"open","locked":false,"title":"VLC recepie, sdl2 bootstaps improvements","user":{"login":"ibobalo","id":1850678,"avatar_url":"https://avatars.githubusercontent.com/u/1850678?v=3","gravatar_id":"","url":"https://api.github.com/users/ibobalo","html_url":"https://github.com/ibobalo","followers_url":"https://api.github.com/users/ibobalo/followers","following_url":"https://api.github.com/users/ibobalo/following{/other_user}","gists_url":"https://api.github.com/users/ibobalo/gists{/gist_id}","starred_url":"https://api.github.com/users/ibobalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibobalo/subscriptions","organizations_url":"https://api.github.com/users/ibobalo/orgs","repos_url":"https://api.github.com/users/ibobalo/repos","events_url":"https://api.github.com/users/ibobalo/events{/privacy}","received_events_url":"https://api.github.com/users/ibobalo/received_events","type":"User","site_admin":false},"body":"added vlc videoplayer recipe (for both pygame and sdl2 bootstraps)\r\nadded sdl2 support for native widget integration (see kivy vlc example)\r\nadded sdl2 bootstrap metadata\r\nbootstraps common code abstractions\r\nimproved sdl2 bootstrap command line compatibility with pygame bootstrap\r\ntoolchain support for aar libs added\r\ntoolchain logging output cosmetic\r\n","created_at":"2015-10-27T15:42:36Z","updated_at":"2015-11-26T22:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51a6684068a8836718cc9bed0d9fdd12691cb313","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kivy/python-for-android/pulls/480/commits","review_comments_url":"https://api.github.com/repos/kivy/python-for-android/pulls/480/comments","review_comment_url":"https://api.github.com/repos/kivy/python-for-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kivy/python-for-android/issues/480/comments","statuses_url":"https://api.github.com/repos/kivy/python-for-android/statuses/f80d1f6aa7c2aa04e56a7e25eaed67b71d72b22d","head":{"label":"ibobalo:master","ref":"master","sha":"f80d1f6aa7c2aa04e56a7e25eaed67b71d72b22d","user":{"login":"ibobalo","id":1850678,"avatar_url":"https://avatars.githubusercontent.com/u/1850678?v=3","gravatar_id":"","url":"https://api.github.com/users/ibobalo","html_url":"https://github.com/ibobalo","followers_url":"https://api.github.com/users/ibobalo/followers","following_url":"https://api.github.com/users/ibobalo/following{/other_user}","gists_url":"https://api.github.com/users/ibobalo/gists{/gist_id}","starred_url":"https://api.github.com/users/ibobalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibobalo/subscriptions","organizations_url":"https://api.github.com/users/ibobalo/orgs","repos_url":"https://api.github.com/users/ibobalo/repos","events_url":"https://api.github.com/users/ibobalo/events{/privacy}","received_events_url":"https://api.github.com/users/ibobalo/received_events","type":"User","site_admin":false},"repo":{"id":43744893,"name":"python-for-android","full_name":"ibobalo/python-for-android","owner":{"login":"ibobalo","id":1850678,"avatar_url":"https://avatars.githubusercontent.com/u/1850678?v=3","gravatar_id":"","url":"https://api.github.com/users/ibobalo","html_url":"https://github.com/ibobalo","followers_url":"https://api.github.com/users/ibobalo/followers","following_url":"https://api.github.com/users/ibobalo/following{/other_user}","gists_url":"https://api.github.com/users/ibobalo/gists{/gist_id}","starred_url":"https://api.github.com/users/ibobalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibobalo/subscriptions","organizations_url":"https://api.github.com/users/ibobalo/orgs","repos_url":"https://api.github.com/users/ibobalo/repos","events_url":"https://api.github.com/users/ibobalo/events{/privacy}","received_events_url":"https://api.github.com/users/ibobalo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ibobalo/python-for-android","description":"Turn your Python application into an Android APK - Build your own python and extension","fork":true,"url":"https://api.github.com/repos/ibobalo/python-for-android","forks_url":"https://api.github.com/repos/ibobalo/python-for-android/forks","keys_url":"https://api.github.com/repos/ibobalo/python-for-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibobalo/python-for-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibobalo/python-for-android/teams","hooks_url":"https://api.github.com/repos/ibobalo/python-for-android/hooks","issue_events_url":"https://api.github.com/repos/ibobalo/python-for-android/issues/events{/number}","events_url":"https://api.github.com/repos/ibobalo/python-for-android/events","assignees_url":"https://api.github.com/repos/ibobalo/python-for-android/assignees{/user}","branches_url":"https://api.github.com/repos/ibobalo/python-for-android/branches{/branch}","tags_url":"https://api.github.com/repos/ibobalo/python-for-android/tags","blobs_url":"https://api.github.com/repos/ibobalo/python-for-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibobalo/python-for-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibobalo/python-for-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibobalo/python-for-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibobalo/python-for-android/statuses/{sha}","languages_url":"https://api.github.com/repos/ibobalo/python-for-android/languages","stargazers_url":"https://api.github.com/repos/ibobalo/python-for-android/stargazers","contributors_url":"https://api.github.com/repos/ibobalo/python-for-android/contributors","subscribers_url":"https://api.github.com/repos/ibobalo/python-for-android/subscribers","subscription_url":"https://api.github.com/repos/ibobalo/python-for-android/subscription","commits_url":"https://api.github.com/repos/ibobalo/python-for-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibobalo/python-for-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibobalo/python-for-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibobalo/python-for-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibobalo/python-for-android/contents/{+path}","compare_url":"https://api.github.com/repos/ibobalo/python-for-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibobalo/python-for-android/merges","archive_url":"https://api.github.com/repos/ibobalo/python-for-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibobalo/python-for-android/downloads","issues_url":"https://api.github.com/repos/ibobalo/python-for-android/issues{/number}","pulls_url":"https://api.github.com/repos/ibobalo/python-for-android/pulls{/number}","milestones_url":"https://api.github.com/repos/ibobalo/python-for-android/milestones{/number}","notifications_url":"https://api.github.com/repos/ibobalo/python-for-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibobalo/python-for-android/labels{/name}","releases_url":"https://api.github.com/repos/ibobalo/python-for-android/releases{/id}","created_at":"2015-10-06T10:51:21Z","updated_at":"2015-10-06T10:51:24Z","pushed_at":"2015-11-25T15:19:57Z","git_url":"git://github.com/ibobalo/python-for-android.git","ssh_url":"git@github.com:ibobalo/python-for-android.git","clone_url":"https://github.com/ibobalo/python-for-android.git","svn_url":"https://github.com/ibobalo/python-for-android","homepage":"http://python-for-android.readthedocs.org","size":14533,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"kivy:master","ref":"master","sha":"a30fc53089553eac171f68d09459c5db7e5155d1","user":{"login":"kivy","id":1266152,"avatar_url":"https://avatars.githubusercontent.com/u/1266152?v=3","gravatar_id":"","url":"https://api.github.com/users/kivy","html_url":"https://github.com/kivy","followers_url":"https://api.github.com/users/kivy/followers","following_url":"https://api.github.com/users/kivy/following{/other_user}","gists_url":"https://api.github.com/users/kivy/gists{/gist_id}","starred_url":"https://api.github.com/users/kivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kivy/subscriptions","organizations_url":"https://api.github.com/users/kivy/orgs","repos_url":"https://api.github.com/users/kivy/repos","events_url":"https://api.github.com/users/kivy/events{/privacy}","received_events_url":"https://api.github.com/users/kivy/received_events","type":"Organization","site_admin":false},"repo":{"id":2866041,"name":"python-for-android","full_name":"kivy/python-for-android","owner":{"login":"kivy","id":1266152,"avatar_url":"https://avatars.githubusercontent.com/u/1266152?v=3","gravatar_id":"","url":"https://api.github.com/users/kivy","html_url":"https://github.com/kivy","followers_url":"https://api.github.com/users/kivy/followers","following_url":"https://api.github.com/users/kivy/following{/other_user}","gists_url":"https://api.github.com/users/kivy/gists{/gist_id}","starred_url":"https://api.github.com/users/kivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kivy/subscriptions","organizations_url":"https://api.github.com/users/kivy/orgs","repos_url":"https://api.github.com/users/kivy/repos","events_url":"https://api.github.com/users/kivy/events{/privacy}","received_events_url":"https://api.github.com/users/kivy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kivy/python-for-android","description":"Turn your Python application into an Android APK - Build your own python and extension","fork":false,"url":"https://api.github.com/repos/kivy/python-for-android","forks_url":"https://api.github.com/repos/kivy/python-for-android/forks","keys_url":"https://api.github.com/repos/kivy/python-for-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kivy/python-for-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kivy/python-for-android/teams","hooks_url":"https://api.github.com/repos/kivy/python-for-android/hooks","issue_events_url":"https://api.github.com/repos/kivy/python-for-android/issues/events{/number}","events_url":"https://api.github.com/repos/kivy/python-for-android/events","assignees_url":"https://api.github.com/repos/kivy/python-for-android/assignees{/user}","branches_url":"https://api.github.com/repos/kivy/python-for-android/branches{/branch}","tags_url":"https://api.github.com/repos/kivy/python-for-android/tags","blobs_url":"https://api.github.com/repos/kivy/python-for-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kivy/python-for-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kivy/python-for-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/kivy/python-for-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kivy/python-for-android/statuses/{sha}","languages_url":"https://api.github.com/repos/kivy/python-for-android/languages","stargazers_url":"https://api.github.com/repos/kivy/python-for-android/stargazers","contributors_url":"https://api.github.com/repos/kivy/python-for-android/contributors","subscribers_url":"https://api.github.com/repos/kivy/python-for-android/subscribers","subscription_url":"https://api.github.com/repos/kivy/python-for-android/subscription","commits_url":"https://api.github.com/repos/kivy/python-for-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/kivy/python-for-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/kivy/python-for-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/kivy/python-for-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/kivy/python-for-android/contents/{+path}","compare_url":"https://api.github.com/repos/kivy/python-for-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kivy/python-for-android/merges","archive_url":"https://api.github.com/repos/kivy/python-for-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kivy/python-for-android/downloads","issues_url":"https://api.github.com/repos/kivy/python-for-android/issues{/number}","pulls_url":"https://api.github.com/repos/kivy/python-for-android/pulls{/number}","milestones_url":"https://api.github.com/repos/kivy/python-for-android/milestones{/number}","notifications_url":"https://api.github.com/repos/kivy/python-for-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kivy/python-for-android/labels{/name}","releases_url":"https://api.github.com/repos/kivy/python-for-android/releases{/id}","created_at":"2011-11-28T09:02:36Z","updated_at":"2015-11-26T19:14:04Z","pushed_at":"2015-11-26T14:31:11Z","git_url":"git://github.com/kivy/python-for-android.git","ssh_url":"git@github.com:kivy/python-for-android.git","clone_url":"https://github.com/kivy/python-for-android.git","svn_url":"https://github.com/kivy/python-for-android","homepage":"https://python-for-android.readthedocs.org","size":14767,"stargazers_count":1940,"watchers_count":1940,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":445,"mirror_url":null,"open_issues_count":119,"forks":445,"open_issues":119,"watchers":1940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/480"},"html":{"href":"https://github.com/kivy/python-for-android/pull/480"},"issue":{"href":"https://api.github.com/repos/kivy/python-for-android/issues/480"},"comments":{"href":"https://api.github.com/repos/kivy/python-for-android/issues/480/comments"},"review_comments":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/480/comments"},"review_comment":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kivy/python-for-android/pulls/480/commits"},"statuses":{"href":"https://api.github.com/repos/kivy/python-for-android/statuses/f80d1f6aa7c2aa04e56a7e25eaed67b71d72b22d"}}}}