{"action":"created","comment":{"url":"https://api.github.com/repos/gnuradio/pybombs/pulls/comments/80108835","id":80108835,"diff_hunk":"@@ -91,6 +91,14 @@ def md5sum(filename):\n             hash_md5.update(buff)\n     return hash_md5.hexdigest()\n \n+def python_apt_import():","path":"pybombs/utils/utils.py","position":4,"original_position":4,"commit_id":"dd905d1c0ccc44d7cd37df4de9b7f94518618d70","original_commit_id":"dd905d1c0ccc44d7cd37df4de9b7f94518618d70","user":{"login":"mbr0wn","id":508035,"avatar_url":"https://avatars.githubusercontent.com/u/508035?v=3","gravatar_id":"","url":"https://api.github.com/users/mbr0wn","html_url":"https://github.com/mbr0wn","followers_url":"https://api.github.com/users/mbr0wn/followers","following_url":"https://api.github.com/users/mbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/mbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/mbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbr0wn/subscriptions","organizations_url":"https://api.github.com/users/mbr0wn/orgs","repos_url":"https://api.github.com/users/mbr0wn/repos","events_url":"https://api.github.com/users/mbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/mbr0wn/received_events","type":"User","site_admin":false},"body":"OK, if we can't come up with a good way to fix this we'll just have to go with the hacky version. Please just add a docstring explaining why we need this.","created_at":"2016-09-22T18:42:05Z","updated_at":"2016-09-22T18:42:05Z","html_url":"https://github.com/gnuradio/pybombs/pull/391#discussion_r80108835","pull_request_url":"https://api.github.com/repos/gnuradio/pybombs/pulls/391","_links":{"self":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/comments/80108835"},"html":{"href":"https://github.com/gnuradio/pybombs/pull/391#discussion_r80108835"},"pull_request":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/391"}}},"pull_request":{"url":"https://api.github.com/repos/gnuradio/pybombs/pulls/391","id":86096901,"html_url":"https://github.com/gnuradio/pybombs/pull/391","diff_url":"https://github.com/gnuradio/pybombs/pull/391.diff","patch_url":"https://github.com/gnuradio/pybombs/pull/391.patch","issue_url":"https://api.github.com/repos/gnuradio/pybombs/issues/391","number":391,"state":"open","locked":false,"title":"Implemented python-apt support for caching","user":{"login":"courtarro","id":1835810,"avatar_url":"https://avatars.githubusercontent.com/u/1835810?v=3","gravatar_id":"","url":"https://api.github.com/users/courtarro","html_url":"https://github.com/courtarro","followers_url":"https://api.github.com/users/courtarro/followers","following_url":"https://api.github.com/users/courtarro/following{/other_user}","gists_url":"https://api.github.com/users/courtarro/gists{/gist_id}","starred_url":"https://api.github.com/users/courtarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courtarro/subscriptions","organizations_url":"https://api.github.com/users/courtarro/orgs","repos_url":"https://api.github.com/users/courtarro/repos","events_url":"https://api.github.com/users/courtarro/events{/privacy}","received_events_url":"https://api.github.com/users/courtarro/received_events","type":"User","site_admin":false},"body":"Affects get_available_version() and get_installed_version() when python-apt is installed. Gracefully falls back to old approach otherwise. Displays a warning if python-apt is not installed.\r\n\r\nApproximately 6.7x speedup of \"pybombs recipes list\" on my machine.\r\n\r\nNote that I am unable to test on a machine that does not have Apt, so I'm not sure whether this gracefully handles that situation. Unsure if the warning will be displayed on non-Apt machines.\r\n\r\nThe unusual \"python_apt_import\" step is required because apt.py in this package conflicts with python-apt.","created_at":"2016-09-21T04:38:19Z","updated_at":"2016-09-22T18:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36f6ef577b17ba391d410400697248193079d5f3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gnuradio/pybombs/pulls/391/commits","review_comments_url":"https://api.github.com/repos/gnuradio/pybombs/pulls/391/comments","review_comment_url":"https://api.github.com/repos/gnuradio/pybombs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gnuradio/pybombs/issues/391/comments","statuses_url":"https://api.github.com/repos/gnuradio/pybombs/statuses/dd905d1c0ccc44d7cd37df4de9b7f94518618d70","head":{"label":"courtarro:apt-speedup","ref":"apt-speedup","sha":"dd905d1c0ccc44d7cd37df4de9b7f94518618d70","user":{"login":"courtarro","id":1835810,"avatar_url":"https://avatars.githubusercontent.com/u/1835810?v=3","gravatar_id":"","url":"https://api.github.com/users/courtarro","html_url":"https://github.com/courtarro","followers_url":"https://api.github.com/users/courtarro/followers","following_url":"https://api.github.com/users/courtarro/following{/other_user}","gists_url":"https://api.github.com/users/courtarro/gists{/gist_id}","starred_url":"https://api.github.com/users/courtarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courtarro/subscriptions","organizations_url":"https://api.github.com/users/courtarro/orgs","repos_url":"https://api.github.com/users/courtarro/repos","events_url":"https://api.github.com/users/courtarro/events{/privacy}","received_events_url":"https://api.github.com/users/courtarro/received_events","type":"User","site_admin":false},"repo":{"id":68772219,"name":"pybombs","full_name":"courtarro/pybombs","owner":{"login":"courtarro","id":1835810,"avatar_url":"https://avatars.githubusercontent.com/u/1835810?v=3","gravatar_id":"","url":"https://api.github.com/users/courtarro","html_url":"https://github.com/courtarro","followers_url":"https://api.github.com/users/courtarro/followers","following_url":"https://api.github.com/users/courtarro/following{/other_user}","gists_url":"https://api.github.com/users/courtarro/gists{/gist_id}","starred_url":"https://api.github.com/users/courtarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courtarro/subscriptions","organizations_url":"https://api.github.com/users/courtarro/orgs","repos_url":"https://api.github.com/users/courtarro/repos","events_url":"https://api.github.com/users/courtarro/events{/privacy}","received_events_url":"https://api.github.com/users/courtarro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/courtarro/pybombs","description":"PyBOMBS (Python Build Overlay Managed Bundle System) is the new GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.  One of the main purposes of PyBOMBS is to aggregate out-of-tree projects, which means that PyBOMBS needs to have new recipes for any new project. We have done a lot of the initial work to get known projects into the PyBOMBS system as is, but we will need project developers for new OOT projects or other projects not currently listed to help us out with this effort.","fork":true,"url":"https://api.github.com/repos/courtarro/pybombs","forks_url":"https://api.github.com/repos/courtarro/pybombs/forks","keys_url":"https://api.github.com/repos/courtarro/pybombs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/courtarro/pybombs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/courtarro/pybombs/teams","hooks_url":"https://api.github.com/repos/courtarro/pybombs/hooks","issue_events_url":"https://api.github.com/repos/courtarro/pybombs/issues/events{/number}","events_url":"https://api.github.com/repos/courtarro/pybombs/events","assignees_url":"https://api.github.com/repos/courtarro/pybombs/assignees{/user}","branches_url":"https://api.github.com/repos/courtarro/pybombs/branches{/branch}","tags_url":"https://api.github.com/repos/courtarro/pybombs/tags","blobs_url":"https://api.github.com/repos/courtarro/pybombs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/courtarro/pybombs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/courtarro/pybombs/git/refs{/sha}","trees_url":"https://api.github.com/repos/courtarro/pybombs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/courtarro/pybombs/statuses/{sha}","languages_url":"https://api.github.com/repos/courtarro/pybombs/languages","stargazers_url":"https://api.github.com/repos/courtarro/pybombs/stargazers","contributors_url":"https://api.github.com/repos/courtarro/pybombs/contributors","subscribers_url":"https://api.github.com/repos/courtarro/pybombs/subscribers","subscription_url":"https://api.github.com/repos/courtarro/pybombs/subscription","commits_url":"https://api.github.com/repos/courtarro/pybombs/commits{/sha}","git_commits_url":"https://api.github.com/repos/courtarro/pybombs/git/commits{/sha}","comments_url":"https://api.github.com/repos/courtarro/pybombs/comments{/number}","issue_comment_url":"https://api.github.com/repos/courtarro/pybombs/issues/comments{/number}","contents_url":"https://api.github.com/repos/courtarro/pybombs/contents/{+path}","compare_url":"https://api.github.com/repos/courtarro/pybombs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/courtarro/pybombs/merges","archive_url":"https://api.github.com/repos/courtarro/pybombs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/courtarro/pybombs/downloads","issues_url":"https://api.github.com/repos/courtarro/pybombs/issues{/number}","pulls_url":"https://api.github.com/repos/courtarro/pybombs/pulls{/number}","milestones_url":"https://api.github.com/repos/courtarro/pybombs/milestones{/number}","notifications_url":"https://api.github.com/repos/courtarro/pybombs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/courtarro/pybombs/labels{/name}","releases_url":"https://api.github.com/repos/courtarro/pybombs/releases{/id}","deployments_url":"https://api.github.com/repos/courtarro/pybombs/deployments","created_at":"2016-09-21T02:31:28Z","updated_at":"2016-09-21T02:31:30Z","pushed_at":"2016-09-21T04:34:11Z","git_url":"git://github.com/courtarro/pybombs.git","ssh_url":"git@github.com:courtarro/pybombs.git","clone_url":"https://github.com/courtarro/pybombs.git","svn_url":"https://github.com/courtarro/pybombs","homepage":"http://gnuradio.org/pybombs","size":1522,"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":"gnuradio:master","ref":"master","sha":"f485ec0cb34403ce30074baa4a2afb8b77235554","user":{"login":"gnuradio","id":1278659,"avatar_url":"https://avatars.githubusercontent.com/u/1278659?v=3","gravatar_id":"","url":"https://api.github.com/users/gnuradio","html_url":"https://github.com/gnuradio","followers_url":"https://api.github.com/users/gnuradio/followers","following_url":"https://api.github.com/users/gnuradio/following{/other_user}","gists_url":"https://api.github.com/users/gnuradio/gists{/gist_id}","starred_url":"https://api.github.com/users/gnuradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnuradio/subscriptions","organizations_url":"https://api.github.com/users/gnuradio/orgs","repos_url":"https://api.github.com/users/gnuradio/repos","events_url":"https://api.github.com/users/gnuradio/events{/privacy}","received_events_url":"https://api.github.com/users/gnuradio/received_events","type":"Organization","site_admin":false},"repo":{"id":10456799,"name":"pybombs","full_name":"gnuradio/pybombs","owner":{"login":"gnuradio","id":1278659,"avatar_url":"https://avatars.githubusercontent.com/u/1278659?v=3","gravatar_id":"","url":"https://api.github.com/users/gnuradio","html_url":"https://github.com/gnuradio","followers_url":"https://api.github.com/users/gnuradio/followers","following_url":"https://api.github.com/users/gnuradio/following{/other_user}","gists_url":"https://api.github.com/users/gnuradio/gists{/gist_id}","starred_url":"https://api.github.com/users/gnuradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnuradio/subscriptions","organizations_url":"https://api.github.com/users/gnuradio/orgs","repos_url":"https://api.github.com/users/gnuradio/repos","events_url":"https://api.github.com/users/gnuradio/events{/privacy}","received_events_url":"https://api.github.com/users/gnuradio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gnuradio/pybombs","description":"PyBOMBS (Python Build Overlay Managed Bundle System) is the new GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.  One of the main purposes of PyBOMBS is to aggregate out-of-tree projects, which means that PyBOMBS needs to have new recipes for any new project. We have done a lot of the initial work to get known projects into the PyBOMBS system as is, but we will need project developers for new OOT projects or other projects not currently listed to help us out with this effort.","fork":false,"url":"https://api.github.com/repos/gnuradio/pybombs","forks_url":"https://api.github.com/repos/gnuradio/pybombs/forks","keys_url":"https://api.github.com/repos/gnuradio/pybombs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnuradio/pybombs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnuradio/pybombs/teams","hooks_url":"https://api.github.com/repos/gnuradio/pybombs/hooks","issue_events_url":"https://api.github.com/repos/gnuradio/pybombs/issues/events{/number}","events_url":"https://api.github.com/repos/gnuradio/pybombs/events","assignees_url":"https://api.github.com/repos/gnuradio/pybombs/assignees{/user}","branches_url":"https://api.github.com/repos/gnuradio/pybombs/branches{/branch}","tags_url":"https://api.github.com/repos/gnuradio/pybombs/tags","blobs_url":"https://api.github.com/repos/gnuradio/pybombs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnuradio/pybombs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnuradio/pybombs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnuradio/pybombs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnuradio/pybombs/statuses/{sha}","languages_url":"https://api.github.com/repos/gnuradio/pybombs/languages","stargazers_url":"https://api.github.com/repos/gnuradio/pybombs/stargazers","contributors_url":"https://api.github.com/repos/gnuradio/pybombs/contributors","subscribers_url":"https://api.github.com/repos/gnuradio/pybombs/subscribers","subscription_url":"https://api.github.com/repos/gnuradio/pybombs/subscription","commits_url":"https://api.github.com/repos/gnuradio/pybombs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnuradio/pybombs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnuradio/pybombs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnuradio/pybombs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnuradio/pybombs/contents/{+path}","compare_url":"https://api.github.com/repos/gnuradio/pybombs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnuradio/pybombs/merges","archive_url":"https://api.github.com/repos/gnuradio/pybombs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnuradio/pybombs/downloads","issues_url":"https://api.github.com/repos/gnuradio/pybombs/issues{/number}","pulls_url":"https://api.github.com/repos/gnuradio/pybombs/pulls{/number}","milestones_url":"https://api.github.com/repos/gnuradio/pybombs/milestones{/number}","notifications_url":"https://api.github.com/repos/gnuradio/pybombs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnuradio/pybombs/labels{/name}","releases_url":"https://api.github.com/repos/gnuradio/pybombs/releases{/id}","deployments_url":"https://api.github.com/repos/gnuradio/pybombs/deployments","created_at":"2013-06-03T14:47:47Z","updated_at":"2016-09-19T01:39:22Z","pushed_at":"2016-09-22T06:46:42Z","git_url":"git://github.com/gnuradio/pybombs.git","ssh_url":"git@github.com:gnuradio/pybombs.git","clone_url":"https://github.com/gnuradio/pybombs.git","svn_url":"https://github.com/gnuradio/pybombs","homepage":"http://gnuradio.org/pybombs","size":1958,"stargazers_count":86,"watchers_count":86,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":25,"forks":94,"open_issues":25,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/391"},"html":{"href":"https://github.com/gnuradio/pybombs/pull/391"},"issue":{"href":"https://api.github.com/repos/gnuradio/pybombs/issues/391"},"comments":{"href":"https://api.github.com/repos/gnuradio/pybombs/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gnuradio/pybombs/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/gnuradio/pybombs/statuses/dd905d1c0ccc44d7cd37df4de9b7f94518618d70"}}}}
{"actor":{"display_login":"mbr0wn"}}