{"action":"created","comment":{"url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/comments/232394649","pull_request_review_id":173589722,"id":232394649,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjM5NDY0OQ==","diff_hunk":"@@ -0,0 +1,491 @@\n+/*\n+ * Copyright (C) 2018 Swift Navigation Inc.\n+ * Contact: Swift Navigation <dev@swiftnav.com>\n+ *\n+ * This source is subject to the license found in the file 'LICENSE' which must\n+ * be be distributed together with this source. All other rights reserved.\n+ *\n+ * THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND,\n+ * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED\n+ * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.\n+ */\n+\n+#define _GNU_SOURCE\n+\n+#include <stddef.h>\n+#include <stdlib.h>\n+#include <string.h>\n+#include <search.h>\n+\n+#include <libsbp/linux.h>\n+#include <dirent.h>\n+#include <libpiksi/logging.h>\n+#include <libpiksi/util.h>\n+#include <libpiksi/runit.h>\n+#include <libpiksi/table.h>\n+\n+#include \"query_sys_state.h\"\n+#include \"resource_monitor.h\"\n+#include \"resource_query.h\"\n+#include \"resmon_common.h\"\n+\n+//#define DEBUG_QUERY_FD_TAB\n+\n+#define ITEM_COUNT 10\n+#define MAX_PROCESS_COUNT 1024\n+#define MAX_FILE_COUNT 4096\n+#define SBP_FRAMING_MAX_PAYLOAD_SIZE 255\n+#define LSOF_CMD_BUF_LENGTH 1024 * 128\n+typedef enum {\n+  SEND_FD_COUNTS_0,\n+  SEND_FD_COUNTS_1,\n+  SEND_FD_COUNTS_2,\n+  SEND_FD_COUNTS_3,\n+  SEND_FD_COUNTS_4,\n+  SEND_FD_COUNTS_5,\n+  SEND_FD_COUNTS_6,\n+  SEND_FD_COUNTS_7,\n+  SEND_FD_COUNTS_8,\n+  SEND_FD_COUNTS_9,\n+  SEND_FD_SUMMARY,\n+  SEND_DONE,\n+} send_state_t;\n+\n+typedef struct {\n+  char id_str[16];\n+  u16 pid;\n+  u16 fd_count;\n+} pid_entry_t;\n+\n+typedef struct {\n+  char file_str[128];\n+  u16 fd_count;\n+} file_entry_t;\n+\n+MAKE_TABLE_WRAPPER(pid, pid_entry_t)\n+MAKE_TABLE_WRAPPER(file, file_entry_t)\n+\n+typedef struct {\n+  send_state_t send_state;\n+  u32 total_fd_count;\n+  table_t *pid_table;\n+  table_t *file_table;\n+  const char *top10_pid_counts[ITEM_COUNT];\n+  const char *top10_file_counts[ITEM_COUNT];\n+} resq_state_t;\n+\n+typedef struct id_to_count {\n+  u16 count;\n+  const char *id;\n+} id_to_count_t;\n+\n+enum {\n+  FD_STATE_ID_STR = 0,\n+  FD_STATE_EXE_FILE_STR,\n+  FD_STATE_FD_STR,\n+  FD_STATE_DONE,\n+  FD_STATE_COUNT,\n+};\n+\n+static bool is_real_file_path(const char *path)\n+{\n+  if (strncmp(path, \"pipe\", 4) == 0 || strncmp(path, \"socket\", 6) == 0)\n+    return false;\n+  else\n+    return true;\n+}\n+\n+static bool process_fd_entry(resq_state_t *state, const char *file_str, const char *id_str)\n+{\n+  pid_entry_t *entry = pid_table_get(state->pid_table, id_str);\n+  state->total_fd_count++;\n+  if (entry == NULL) {\n+    pid_entry_t new_entry = {0};\n+    int s = snprintf(new_entry.id_str, sizeof(entry->id_str), \"%s\", id_str);\n+\n+    if (s < 0 || (size_t)s >= sizeof(entry->id_str)) {\n+#ifdef DEBUG_QUERY_FD_TAB\n+      PK_LOG_ANNO(LOG_ERR, \"file descriptor query: failed to copy pid string\");\n+#endif\n+      return false;\n+    }\n+\n+    unsigned long pid = 0;\n+    if (!strtoul_all(10, id_str, &pid)) {\n+#ifdef DEBUG_QUERY_FD_TAB\n+      PK_LOG_ANNO(LOG_ERR,\n+                  \"file descriptor query: failed to convert pid str to number: %s\",\n+                  strerror(errno));\n+#endif\n+      return false;\n+    }\n+\n+    new_entry.pid = (u16)pid;\n+\n+    entry = calloc(1, sizeof(pid_entry_t));\n+    *entry = new_entry;\n+\n+    bool added = pid_table_put(state->pid_table, id_str, entry);\n+\n+    if (!added) {\n+#ifdef DEBUG_QUERY_FD_TAB\n+      PK_LOG_ANNO(LOG_ERR, \"failed add entry for pid '%s'\", id_str);\n+#endif\n+      free(entry);\n+      return false;\n+    }\n+  }\n+  entry->fd_count++;\n+  if (is_real_file_path(file_str)) {\n+    file_entry_t *file_entry = file_table_get(state->file_table, file_str);\n+    if (file_entry == NULL) {\n+      file_entry_t new_entry = {0};\n+      int s = snprintf(new_entry.file_str, sizeof(new_entry.file_str), \"%s\", file_str);\n+\n+      if (s < 0 || (size_t)s >= sizeof(file_entry->file_str)) {\n+#ifdef DEBUG_QUERY_FD_TAB\n+        PK_LOG_ANNO(LOG_ERR, \"file descriptor query: failed to copy file string\");\n+#endif\n+        return false;\n+      }\n+\n+\n+      file_entry = calloc(1, sizeof(file_entry_t));\n+      *file_entry = new_entry;\n+\n+      bool added = file_table_put(state->file_table, file_str, file_entry);\n+\n+      if (!added) {\n+#ifdef DEBUG_QUERY_FD_TAB\n+        PK_LOG_ANNO(LOG_ERR, \"file descriptor query:failed add entry for pid '%s'\", file_str);","path":"package/resource_monitor/resource_monitor/src/query_process_file_descriptor.c","position":160,"original_position":160,"commit_id":"5e601089bf11d84da5a208e2bad26e4b1bc51eb0","original_commit_id":"5e601089bf11d84da5a208e2bad26e4b1bc51eb0","user":{"login":"silverjam","id":183436,"node_id":"MDQ6VXNlcjE4MzQzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/183436?v=4","gravatar_id":"","url":"https://api.github.com/users/silverjam","html_url":"https://github.com/silverjam","followers_url":"https://api.github.com/users/silverjam/followers","following_url":"https://api.github.com/users/silverjam/following{/other_user}","gists_url":"https://api.github.com/users/silverjam/gists{/gist_id}","starred_url":"https://api.github.com/users/silverjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverjam/subscriptions","organizations_url":"https://api.github.com/users/silverjam/orgs","repos_url":"https://api.github.com/users/silverjam/repos","events_url":"https://api.github.com/users/silverjam/events{/privacy}","received_events_url":"https://api.github.com/users/silverjam/received_events","type":"User","site_admin":false},"body":"Add space after : `\"file descriptor query:failed` -> `\"file descriptor query: failed`","created_at":"2018-11-09T21:10:26Z","updated_at":"2018-11-09T21:54:04Z","html_url":"https://github.com/swift-nav/piksi_buildroot/pull/999#discussion_r232394649","pull_request_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/comments/232394649"},"html":{"href":"https://github.com/swift-nav/piksi_buildroot/pull/999#discussion_r232394649"},"pull_request":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999"}}},"pull_request":{"url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999","id":229546707,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NTQ2NzA3","html_url":"https://github.com/swift-nav/piksi_buildroot/pull/999","diff_url":"https://github.com/swift-nav/piksi_buildroot/pull/999.diff","patch_url":"https://github.com/swift-nav/piksi_buildroot/pull/999.patch","issue_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/999","number":999,"state":"open","locked":false,"title":"Add file descriptor query for resource monitor[ESD-231][ESD-232]","user":{"login":"yiiiyang2010","id":42586418,"node_id":"MDQ6VXNlcjQyNTg2NDE4","avatar_url":"https://avatars2.githubusercontent.com/u/42586418?v=4","gravatar_id":"","url":"https://api.github.com/users/yiiiyang2010","html_url":"https://github.com/yiiiyang2010","followers_url":"https://api.github.com/users/yiiiyang2010/followers","following_url":"https://api.github.com/users/yiiiyang2010/following{/other_user}","gists_url":"https://api.github.com/users/yiiiyang2010/gists{/gist_id}","starred_url":"https://api.github.com/users/yiiiyang2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiiiyang2010/subscriptions","organizations_url":"https://api.github.com/users/yiiiyang2010/orgs","repos_url":"https://api.github.com/users/yiiiyang2010/repos","events_url":"https://api.github.com/users/yiiiyang2010/events{/privacy}","received_events_url":"https://api.github.com/users/yiiiyang2010/received_events","type":"User","site_admin":false},"body":"- Add file descriptor query for resource monitor[ESD-231]\r\n- Add file descriptor summary query[ESD-232]\r\n- Temporarily update libsbp link to make ti compile, will put it back after libsbp PR get merged. ","created_at":"2018-11-08T23:53:16Z","updated_at":"2018-11-09T21:54:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"132b04033044446f7f39e8c76876b2cf796e604b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"benjaminaltieri","id":5225320,"node_id":"MDQ6VXNlcjUyMjUzMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/5225320?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminaltieri","html_url":"https://github.com/benjaminaltieri","followers_url":"https://api.github.com/users/benjaminaltieri/followers","following_url":"https://api.github.com/users/benjaminaltieri/following{/other_user}","gists_url":"https://api.github.com/users/benjaminaltieri/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminaltieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminaltieri/subscriptions","organizations_url":"https://api.github.com/users/benjaminaltieri/orgs","repos_url":"https://api.github.com/users/benjaminaltieri/repos","events_url":"https://api.github.com/users/benjaminaltieri/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminaltieri/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999/commits","review_comments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999/comments","review_comment_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/999/comments","statuses_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/statuses/5e601089bf11d84da5a208e2bad26e4b1bc51eb0","head":{"label":"swift-nav:yi/rd_file_descriptor","ref":"yi/rd_file_descriptor","sha":"5e601089bf11d84da5a208e2bad26e4b1bc51eb0","user":{"login":"swift-nav","id":1069835,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjk4MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1069835?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"repo":{"id":62339278,"node_id":"MDEwOlJlcG9zaXRvcnk2MjMzOTI3OA==","name":"piksi_buildroot","full_name":"swift-nav/piksi_buildroot","private":false,"owner":{"login":"swift-nav","id":1069835,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjk4MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1069835?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/swift-nav/piksi_buildroot","description":"Tools for building Linux and the system image for Piksi Multi","fork":false,"url":"https://api.github.com/repos/swift-nav/piksi_buildroot","forks_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/forks","keys_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/teams","hooks_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/events","assignees_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/tags","blobs_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/languages","stargazers_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/subscription","commits_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/merges","archive_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/downloads","issues_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/releases{/id}","deployments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/deployments","created_at":"2016-06-30T20:09:21Z","updated_at":"2018-11-01T19:15:47Z","pushed_at":"2018-11-09T20:26:37Z","git_url":"git://github.com/swift-nav/piksi_buildroot.git","ssh_url":"git@github.com:swift-nav/piksi_buildroot.git","clone_url":"https://github.com/swift-nav/piksi_buildroot.git","svn_url":"https://github.com/swift-nav/piksi_buildroot","homepage":"http://www.swiftnav.com","size":9357,"stargazers_count":6,"watchers_count":6,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":24,"open_issues":54,"watchers":6,"default_branch":"v2.0.0-release"}},"base":{"label":"swift-nav:master","ref":"master","sha":"98db7fac7713ca72954a9f71e293da02d59c0cf8","user":{"login":"swift-nav","id":1069835,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjk4MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1069835?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"repo":{"id":62339278,"node_id":"MDEwOlJlcG9zaXRvcnk2MjMzOTI3OA==","name":"piksi_buildroot","full_name":"swift-nav/piksi_buildroot","private":false,"owner":{"login":"swift-nav","id":1069835,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjk4MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1069835?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/swift-nav/piksi_buildroot","description":"Tools for building Linux and the system image for Piksi Multi","fork":false,"url":"https://api.github.com/repos/swift-nav/piksi_buildroot","forks_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/forks","keys_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/teams","hooks_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/events","assignees_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/tags","blobs_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/languages","stargazers_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/subscription","commits_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/merges","archive_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/downloads","issues_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/releases{/id}","deployments_url":"https://api.github.com/repos/swift-nav/piksi_buildroot/deployments","created_at":"2016-06-30T20:09:21Z","updated_at":"2018-11-01T19:15:47Z","pushed_at":"2018-11-09T20:26:37Z","git_url":"git://github.com/swift-nav/piksi_buildroot.git","ssh_url":"git@github.com:swift-nav/piksi_buildroot.git","clone_url":"https://github.com/swift-nav/piksi_buildroot.git","svn_url":"https://github.com/swift-nav/piksi_buildroot","homepage":"http://www.swiftnav.com","size":9357,"stargazers_count":6,"watchers_count":6,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":24,"open_issues":54,"watchers":6,"default_branch":"v2.0.0-release"}},"_links":{"self":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999"},"html":{"href":"https://github.com/swift-nav/piksi_buildroot/pull/999"},"issue":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/999"},"comments":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/issues/999/comments"},"review_comments":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999/comments"},"review_comment":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/pulls/999/commits"},"statuses":{"href":"https://api.github.com/repos/swift-nav/piksi_buildroot/statuses/5e601089bf11d84da5a208e2bad26e4b1bc51eb0"}},"author_association":"NONE"}}
{"actor":{"display_login":"silverjam"}}