{"action":"created","comment":{"url":"https://api.github.com/repos/qmlos/shell/pulls/comments/75422197","id":75422197,"diff_hunk":"@@ -0,0 +1,59 @@\n+/****************************************************************************\n+ * This file is part of Hawaii Shell.\n+ *\n+ * Copyright (C) 2016 Michael Spencer <sonrisesoftware@gmail.com>\n+ *\n+ * Original based on an algorithm in GNOME Shell, which is licensed under\n+ * the GPLv2 or higher.\n+ *\n+ * $BEGIN_LICENSE:GPL3+$\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ *\n+ * $END_LICENSE$\n+ ***************************************************************************/\n+\n+#include \"appusage.h\"\n+\n+#include <QtCore/QVariant>\n+#include <QtSql/QSqlQuery>\n+\n+AppUsage::AppUsage(const QString &appId, QObject *parent) : QObject(parent), appId(appId)","path":"declarative/launcher/appusage.cpp","position":32,"original_position":32,"commit_id":"1976859356ceecd85d9ef819d73d1523751a78bc","original_commit_id":"1976859356ceecd85d9ef819d73d1523751a78bc","user":{"login":"plfiorini","id":843710,"avatar_url":"https://avatars.githubusercontent.com/u/843710?v=3","gravatar_id":"","url":"https://api.github.com/users/plfiorini","html_url":"https://github.com/plfiorini","followers_url":"https://api.github.com/users/plfiorini/followers","following_url":"https://api.github.com/users/plfiorini/following{/other_user}","gists_url":"https://api.github.com/users/plfiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/plfiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plfiorini/subscriptions","organizations_url":"https://api.github.com/users/plfiorini/orgs","repos_url":"https://api.github.com/users/plfiorini/repos","events_url":"https://api.github.com/users/plfiorini/events{/privacy}","received_events_url":"https://api.github.com/users/plfiorini/received_events","type":"User","site_admin":false},"body":"nitpick: align like Qt:\r\n\r\nAppUsage::AppUsage(const QString &appId, QObject *parent)\r\n    : QObject(parent)\r\n    , appId(appId)","created_at":"2016-08-19T03:08:25Z","updated_at":"2016-08-19T03:08:25Z","html_url":"https://github.com/qmlos/shell/pull/29#discussion_r75422197","pull_request_url":"https://api.github.com/repos/qmlos/shell/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/qmlos/shell/pulls/comments/75422197"},"html":{"href":"https://github.com/qmlos/shell/pull/29#discussion_r75422197"},"pull_request":{"href":"https://api.github.com/repos/qmlos/shell/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/qmlos/shell/pulls/29","id":81919189,"html_url":"https://github.com/qmlos/shell/pull/29","diff_url":"https://github.com/qmlos/shell/pull/29.diff","patch_url":"https://github.com/qmlos/shell/pull/29.patch","issue_url":"https://api.github.com/repos/qmlos/shell/issues/29","number":29,"state":"open","locked":false,"title":"[WIP] Frequent apps in the launcher","user":{"login":"iBeliever","id":3230912,"avatar_url":"https://avatars.githubusercontent.com/u/3230912?v=3","gravatar_id":"","url":"https://api.github.com/users/iBeliever","html_url":"https://github.com/iBeliever","followers_url":"https://api.github.com/users/iBeliever/followers","following_url":"https://api.github.com/users/iBeliever/following{/other_user}","gists_url":"https://api.github.com/users/iBeliever/gists{/gist_id}","starred_url":"https://api.github.com/users/iBeliever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBeliever/subscriptions","organizations_url":"https://api.github.com/users/iBeliever/orgs","repos_url":"https://api.github.com/users/iBeliever/repos","events_url":"https://api.github.com/users/iBeliever/events{/privacy}","received_events_url":"https://api.github.com/users/iBeliever/received_events","type":"User","site_admin":false},"body":"So far I have the algorithm and storage of frequent apps. The algorithm is taken from GNOME Shell.","created_at":"2016-08-19T02:49:40Z","updated_at":"2016-08-19T03:08:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"001001d4ae6616c696756f5b237fb9d89c2b429f","assignee":{"login":"iBeliever","id":3230912,"avatar_url":"https://avatars.githubusercontent.com/u/3230912?v=3","gravatar_id":"","url":"https://api.github.com/users/iBeliever","html_url":"https://github.com/iBeliever","followers_url":"https://api.github.com/users/iBeliever/followers","following_url":"https://api.github.com/users/iBeliever/following{/other_user}","gists_url":"https://api.github.com/users/iBeliever/gists{/gist_id}","starred_url":"https://api.github.com/users/iBeliever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBeliever/subscriptions","organizations_url":"https://api.github.com/users/iBeliever/orgs","repos_url":"https://api.github.com/users/iBeliever/repos","events_url":"https://api.github.com/users/iBeliever/events{/privacy}","received_events_url":"https://api.github.com/users/iBeliever/received_events","type":"User","site_admin":false},"assignees":[{"login":"iBeliever","id":3230912,"avatar_url":"https://avatars.githubusercontent.com/u/3230912?v=3","gravatar_id":"","url":"https://api.github.com/users/iBeliever","html_url":"https://github.com/iBeliever","followers_url":"https://api.github.com/users/iBeliever/followers","following_url":"https://api.github.com/users/iBeliever/following{/other_user}","gists_url":"https://api.github.com/users/iBeliever/gists{/gist_id}","starred_url":"https://api.github.com/users/iBeliever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBeliever/subscriptions","organizations_url":"https://api.github.com/users/iBeliever/orgs","repos_url":"https://api.github.com/users/iBeliever/repos","events_url":"https://api.github.com/users/iBeliever/events{/privacy}","received_events_url":"https://api.github.com/users/iBeliever/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/qmlos/shell/pulls/29/commits","review_comments_url":"https://api.github.com/repos/qmlos/shell/pulls/29/comments","review_comment_url":"https://api.github.com/repos/qmlos/shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qmlos/shell/issues/29/comments","statuses_url":"https://api.github.com/repos/qmlos/shell/statuses/1976859356ceecd85d9ef819d73d1523751a78bc","head":{"label":"qmlos:feature/16_frequent_apps","ref":"feature/16_frequent_apps","sha":"1976859356ceecd85d9ef819d73d1523751a78bc","user":{"login":"qmlos","id":20460123,"avatar_url":"https://avatars.githubusercontent.com/u/20460123?v=3","gravatar_id":"","url":"https://api.github.com/users/qmlos","html_url":"https://github.com/qmlos","followers_url":"https://api.github.com/users/qmlos/followers","following_url":"https://api.github.com/users/qmlos/following{/other_user}","gists_url":"https://api.github.com/users/qmlos/gists{/gist_id}","starred_url":"https://api.github.com/users/qmlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmlos/subscriptions","organizations_url":"https://api.github.com/users/qmlos/orgs","repos_url":"https://api.github.com/users/qmlos/repos","events_url":"https://api.github.com/users/qmlos/events{/privacy}","received_events_url":"https://api.github.com/users/qmlos/received_events","type":"Organization","site_admin":false},"repo":{"id":63376422,"name":"shell","full_name":"qmlos/shell","owner":{"login":"qmlos","id":20460123,"avatar_url":"https://avatars.githubusercontent.com/u/20460123?v=3","gravatar_id":"","url":"https://api.github.com/users/qmlos","html_url":"https://github.com/qmlos","followers_url":"https://api.github.com/users/qmlos/followers","following_url":"https://api.github.com/users/qmlos/following{/other_user}","gists_url":"https://api.github.com/users/qmlos/gists{/gist_id}","starred_url":"https://api.github.com/users/qmlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmlos/subscriptions","organizations_url":"https://api.github.com/users/qmlos/orgs","repos_url":"https://api.github.com/users/qmlos/repos","events_url":"https://api.github.com/users/qmlos/events{/privacy}","received_events_url":"https://api.github.com/users/qmlos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qmlos/shell","description":":shell: QtQuick and Wayland shell for convergence","fork":false,"url":"https://api.github.com/repos/qmlos/shell","forks_url":"https://api.github.com/repos/qmlos/shell/forks","keys_url":"https://api.github.com/repos/qmlos/shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qmlos/shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qmlos/shell/teams","hooks_url":"https://api.github.com/repos/qmlos/shell/hooks","issue_events_url":"https://api.github.com/repos/qmlos/shell/issues/events{/number}","events_url":"https://api.github.com/repos/qmlos/shell/events","assignees_url":"https://api.github.com/repos/qmlos/shell/assignees{/user}","branches_url":"https://api.github.com/repos/qmlos/shell/branches{/branch}","tags_url":"https://api.github.com/repos/qmlos/shell/tags","blobs_url":"https://api.github.com/repos/qmlos/shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qmlos/shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qmlos/shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/qmlos/shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qmlos/shell/statuses/{sha}","languages_url":"https://api.github.com/repos/qmlos/shell/languages","stargazers_url":"https://api.github.com/repos/qmlos/shell/stargazers","contributors_url":"https://api.github.com/repos/qmlos/shell/contributors","subscribers_url":"https://api.github.com/repos/qmlos/shell/subscribers","subscription_url":"https://api.github.com/repos/qmlos/shell/subscription","commits_url":"https://api.github.com/repos/qmlos/shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/qmlos/shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/qmlos/shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/qmlos/shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/qmlos/shell/contents/{+path}","compare_url":"https://api.github.com/repos/qmlos/shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qmlos/shell/merges","archive_url":"https://api.github.com/repos/qmlos/shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qmlos/shell/downloads","issues_url":"https://api.github.com/repos/qmlos/shell/issues{/number}","pulls_url":"https://api.github.com/repos/qmlos/shell/pulls{/number}","milestones_url":"https://api.github.com/repos/qmlos/shell/milestones{/number}","notifications_url":"https://api.github.com/repos/qmlos/shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qmlos/shell/labels{/name}","releases_url":"https://api.github.com/repos/qmlos/shell/releases{/id}","deployments_url":"https://api.github.com/repos/qmlos/shell/deployments","created_at":"2016-07-14T23:28:39Z","updated_at":"2016-08-17T21:55:20Z","pushed_at":"2016-08-19T03:06:24Z","git_url":"git://github.com/qmlos/shell.git","ssh_url":"git@github.com:qmlos/shell.git","clone_url":"https://github.com/qmlos/shell.git","svn_url":"https://github.com/qmlos/shell","homepage":null,"size":7967,"stargazers_count":6,"watchers_count":6,"language":"QML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":6,"default_branch":"develop"}},"base":{"label":"qmlos:develop","ref":"develop","sha":"d2ae7512d9aa116421ff8d572b82cec088d0e550","user":{"login":"qmlos","id":20460123,"avatar_url":"https://avatars.githubusercontent.com/u/20460123?v=3","gravatar_id":"","url":"https://api.github.com/users/qmlos","html_url":"https://github.com/qmlos","followers_url":"https://api.github.com/users/qmlos/followers","following_url":"https://api.github.com/users/qmlos/following{/other_user}","gists_url":"https://api.github.com/users/qmlos/gists{/gist_id}","starred_url":"https://api.github.com/users/qmlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmlos/subscriptions","organizations_url":"https://api.github.com/users/qmlos/orgs","repos_url":"https://api.github.com/users/qmlos/repos","events_url":"https://api.github.com/users/qmlos/events{/privacy}","received_events_url":"https://api.github.com/users/qmlos/received_events","type":"Organization","site_admin":false},"repo":{"id":63376422,"name":"shell","full_name":"qmlos/shell","owner":{"login":"qmlos","id":20460123,"avatar_url":"https://avatars.githubusercontent.com/u/20460123?v=3","gravatar_id":"","url":"https://api.github.com/users/qmlos","html_url":"https://github.com/qmlos","followers_url":"https://api.github.com/users/qmlos/followers","following_url":"https://api.github.com/users/qmlos/following{/other_user}","gists_url":"https://api.github.com/users/qmlos/gists{/gist_id}","starred_url":"https://api.github.com/users/qmlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmlos/subscriptions","organizations_url":"https://api.github.com/users/qmlos/orgs","repos_url":"https://api.github.com/users/qmlos/repos","events_url":"https://api.github.com/users/qmlos/events{/privacy}","received_events_url":"https://api.github.com/users/qmlos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qmlos/shell","description":":shell: QtQuick and Wayland shell for convergence","fork":false,"url":"https://api.github.com/repos/qmlos/shell","forks_url":"https://api.github.com/repos/qmlos/shell/forks","keys_url":"https://api.github.com/repos/qmlos/shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qmlos/shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qmlos/shell/teams","hooks_url":"https://api.github.com/repos/qmlos/shell/hooks","issue_events_url":"https://api.github.com/repos/qmlos/shell/issues/events{/number}","events_url":"https://api.github.com/repos/qmlos/shell/events","assignees_url":"https://api.github.com/repos/qmlos/shell/assignees{/user}","branches_url":"https://api.github.com/repos/qmlos/shell/branches{/branch}","tags_url":"https://api.github.com/repos/qmlos/shell/tags","blobs_url":"https://api.github.com/repos/qmlos/shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qmlos/shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qmlos/shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/qmlos/shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qmlos/shell/statuses/{sha}","languages_url":"https://api.github.com/repos/qmlos/shell/languages","stargazers_url":"https://api.github.com/repos/qmlos/shell/stargazers","contributors_url":"https://api.github.com/repos/qmlos/shell/contributors","subscribers_url":"https://api.github.com/repos/qmlos/shell/subscribers","subscription_url":"https://api.github.com/repos/qmlos/shell/subscription","commits_url":"https://api.github.com/repos/qmlos/shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/qmlos/shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/qmlos/shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/qmlos/shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/qmlos/shell/contents/{+path}","compare_url":"https://api.github.com/repos/qmlos/shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qmlos/shell/merges","archive_url":"https://api.github.com/repos/qmlos/shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qmlos/shell/downloads","issues_url":"https://api.github.com/repos/qmlos/shell/issues{/number}","pulls_url":"https://api.github.com/repos/qmlos/shell/pulls{/number}","milestones_url":"https://api.github.com/repos/qmlos/shell/milestones{/number}","notifications_url":"https://api.github.com/repos/qmlos/shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qmlos/shell/labels{/name}","releases_url":"https://api.github.com/repos/qmlos/shell/releases{/id}","deployments_url":"https://api.github.com/repos/qmlos/shell/deployments","created_at":"2016-07-14T23:28:39Z","updated_at":"2016-08-17T21:55:20Z","pushed_at":"2016-08-19T03:06:24Z","git_url":"git://github.com/qmlos/shell.git","ssh_url":"git@github.com:qmlos/shell.git","clone_url":"https://github.com/qmlos/shell.git","svn_url":"https://github.com/qmlos/shell","homepage":null,"size":7967,"stargazers_count":6,"watchers_count":6,"language":"QML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/qmlos/shell/pulls/29"},"html":{"href":"https://github.com/qmlos/shell/pull/29"},"issue":{"href":"https://api.github.com/repos/qmlos/shell/issues/29"},"comments":{"href":"https://api.github.com/repos/qmlos/shell/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/qmlos/shell/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/qmlos/shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qmlos/shell/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/qmlos/shell/statuses/1976859356ceecd85d9ef819d73d1523751a78bc"}}}}
{"actor":{"display_login":"plfiorini"}}