{"action":"created","comment":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/62560659","id":62560659,"diff_hunk":"@@ -0,0 +1,370 @@\n+/*\n+ * This file is part of the Soletta Project\n+ *\n+ * Copyright (C) 2015 Intel Corporation. All rights reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+#include <errno.h>\n+#include <inttypes.h>\n+#include <stdlib.h>\n+\n+#ifndef SOL_LOG_DOMAIN\n+#define SOL_LOG_DOMAIN &_sol_ipm_log_domain\n+#endif\n+\n+#include \"sol-log-internal.h\"\n+\n+#include \"ipm.h\"\n+#include \"ipm/ipm_quark_se.h\"\n+\n+#include \"sol-ipm.h\"\n+#include \"sol-log.h\"\n+#include \"sol-macros.h\"\n+#include \"sol-mainloop-zephyr.h\"\n+#include \"sol-types.h\"\n+#include \"sol-util.h\"\n+#include \"sol-vector.h\"\n+\n+SOL_LOG_INTERNAL_DECLARE_STATIC(_sol_ipm_log_domain, \"ipm\");\n+\n+#define SOL_IPM_ID_FREE_REMOTE 0\n+\n+/* Declare channels we are going to use.\n+ */\n+#ifdef CONFIG_X86\n+QUARK_SE_IPM_DEFINE(message_ipm_receiver, IPM_CHANNEL_ARC_TO_X86, QUARK_SE_IPM_INBOUND);\n+QUARK_SE_IPM_DEFINE(message_ipm_sender, IPM_CHANNEL_X86_TO_ARC, QUARK_SE_IPM_OUTBOUND);\n+#elif CONFIG_ARC\n+QUARK_SE_IPM_DEFINE(message_ipm_receiver, IPM_CHANNEL_X86_TO_ARC, QUARK_SE_IPM_INBOUND);\n+QUARK_SE_IPM_DEFINE(message_ipm_sender, IPM_CHANNEL_ARC_TO_X86, QUARK_SE_IPM_OUTBOUND);\n+#endif\n+\n+#define AS_PTR(_ptr) *(uintptr_t *)_ptr\n+\n+int sol_ipm_init(void);\n+void sol_ipm_shutdown(void);\n+\n+/***** IPM Blobs *****/\n+\n+static void free_ipm_blob(struct sol_blob *blob);\n+\n+struct sol_blob_ipm_received {\n+    struct sol_blob base;\n+    struct sol_blob *remote;\n+};\n+\n+struct sol_blob_ipm_sent {\n+    struct sol_blob base;\n+    uint32_t id;\n+};\n+\n+static const struct sol_blob_type SOL_BLOB_TYPE_IPM_RECEIVED = {\n+    SOL_SET_API_VERSION(.api_version = SOL_BLOB_TYPE_API_VERSION, )\n+    SOL_SET_API_VERSION(.sub_api = 0, )\n+    .free = free_ipm_blob,\n+};\n+\n+/*** IPM Stuff ***/\n+\n+struct sol_ipm_receiver_entry {\n+    uint32_t id;\n+    void (*receive_cb)(void *cb_data, uint32_t id, struct sol_blob *message);\n+    const void *data;\n+    struct sol_blob *last_remote_blob; /* Hackish... I store last blob received here, to avoid having yet another list to store them */\n+};\n+\n+struct sol_ipm_consumed_handler {\n+    uint32_t id;\n+    void (*message_consumed_cb)(void *data, uint32_t id, struct sol_blob *message);\n+    const void *data;\n+};\n+\n+static struct sol_vector ipm_receivers = SOL_VECTOR_INIT(struct sol_ipm_receiver_entry);\n+static struct sol_vector ipm_consumed_handlers = SOL_VECTOR_INIT(struct sol_ipm_consumed_handler);\n+static struct device *ipm_sender, *ipm_receiver;\n+static uint32_t ipm_max_id;\n+static bool initialised;\n+\n+static void\n+free_remote_blob(struct sol_blob *blob)\n+{\n+    int r;\n+\n+    r = ipm_send(ipm_sender, 1, SOL_IPM_ID_FREE_REMOTE, &blob,\n+        sizeof(uintptr_t));\n+    if (r != 0) {\n+        /* Should I care if return was EBUSY?*/\n+        SOL_WRN(\"Could not send consumed message to remote core: %d\", r);\n+    }\n+}\n+\n+static void\n+free_ipm_blob(struct sol_blob *blob)\n+{\n+    struct sol_blob_ipm_received *ipm_blob = (struct sol_blob_ipm_received *)blob;\n+\n+    free_remote_blob(ipm_blob->remote);\n+\n+    /* Free local shadow */\n+    free(blob);\n+}\n+\n+extern unsigned char *heap_base;\n+extern unsigned int heap_sz, heap_max;\n+\n+static void\n+ipm_receiver_process(void *data)\n+{\n+    int idx;\n+    struct sol_blob_ipm_sent *message = data;\n+    struct sol_ipm_receiver_entry *receiver;\n+\n+    SOL_VECTOR_FOREACH_IDX (&ipm_receivers, receiver, idx) {\n+        if (receiver->id == message->id) {\n+            struct sol_blob_ipm_received *remote_blob;\n+\n+            /* Setup local shadow blob whose `mem` points to the same `mem` as remote one*/\n+            remote_blob = calloc(1, sizeof(struct sol_blob_ipm_received));\n+            if (!remote_blob) {\n+                SOL_WRN(\"Could not create blob to deliver IPM message\");\n+                goto fail;\n+            }\n+\n+            sol_blob_setup(&remote_blob->base, &SOL_BLOB_TYPE_IPM_RECEIVED,\n+                message->base.mem,\n+                message->base.size);\n+\n+            remote_blob->remote = &message->base;\n+            receiver->receive_cb((void *)receiver->data, message->id,\n+                &remote_blob->base);\n+            return;\n+        }\n+    }\n+\n+    SOL_INF(\"Processed IPM id %\" PRIu32 \" but no receiver was found!\",\n+        message->id);\n+\n+fail:\n+    /* Let's unref this blob on remote */\n+    free_remote_blob(&message->base);\n+}\n+\n+static void\n+ipm_reaper_process(void *data)\n+{\n+    int idx;\n+    struct sol_blob_ipm_sent *message = data;\n+    struct sol_ipm_consumed_handler *handler;\n+\n+    SOL_VECTOR_FOREACH_IDX (&ipm_consumed_handlers, handler, idx) {\n+        if (handler->id == message->id) {\n+            handler->message_consumed_cb((void *)handler->data, message->id,\n+                message->base.parent);\n+            sol_blob_unref(&message->base);\n+            free(message); /* This blob is SOL_BLOB_TYPE_NO_FREE, so we need to","path":"src/lib/io/sol-ipm.c","position":176,"original_position":176,"commit_id":"64ac7ea3f07d3a26a3d264869f28dc376ba64cc9","original_commit_id":"64ac7ea3f07d3a26a3d264869f28dc376ba64cc9","user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"body":"the `NO_FREE` doesn't free the pointed memory, but it does free the blob structure. Actually this is something I've asked @cabelitos to review, but AFAIU it was not done yet. See https://github.com/solettaproject/soletta/pull/1918#discussion_r60498120","created_at":"2016-05-09T19:48:33Z","updated_at":"2016-05-09T19:48:33Z","html_url":"https://github.com/solettaproject/soletta/pull/1996#discussion_r62560659","pull_request_url":"https://api.github.com/repos/solettaproject/soletta/pulls/1996","_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/62560659"},"html":{"href":"https://github.com/solettaproject/soletta/pull/1996#discussion_r62560659"},"pull_request":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/1996"}}},"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/1996","id":69389781,"html_url":"https://github.com/solettaproject/soletta/pull/1996","diff_url":"https://github.com/solettaproject/soletta/pull/1996.diff","patch_url":"https://github.com/solettaproject/soletta/pull/1996.patch","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/1996","number":1996,"state":"open","locked":false,"title":"Ipm v2","user":{"login":"edersondisouza","id":3177551,"avatar_url":"https://avatars.githubusercontent.com/u/3177551?v=3","gravatar_id":"","url":"https://api.github.com/users/edersondisouza","html_url":"https://github.com/edersondisouza","followers_url":"https://api.github.com/users/edersondisouza/followers","following_url":"https://api.github.com/users/edersondisouza/following{/other_user}","gists_url":"https://api.github.com/users/edersondisouza/gists{/gist_id}","starred_url":"https://api.github.com/users/edersondisouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edersondisouza/subscriptions","organizations_url":"https://api.github.com/users/edersondisouza/orgs","repos_url":"https://api.github.com/users/edersondisouza/repos","events_url":"https://api.github.com/users/edersondisouza/events{/privacy}","received_events_url":"https://api.github.com/users/edersondisouza/received_events","type":"User","site_admin":false},"body":"v2:\r\nSent blob now keeps message id, so it's easier to reference them on receivers side;\r\nChannel numbers are build configurable;\r\nConsumed confirmation callback now per id, not per message;\r\nNew `sol_blob` functions to create blobs that duplicate memory, instead of only wrapping them;\r\nFailure on receiving blobs shall send messages to sender that blob is consumed;\r\nUsing `uintptr_t`;\r\nHopefully all issues of v1 addressed;\r\n*Note:* One more commit to fix build when flow is disabled.\r\n\r\nIntroduces API and node types for Inter-Processor Messaging on Soletta. Currently, it's only for Zephyr.\r\nSamples on soletta-small-oses-samples: solettaproject/soletta-small-oses-samples#18","created_at":"2016-05-09T18:35:20Z","updated_at":"2016-05-09T19:48:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82ac39537c6183a356c5a4eb83d7585046543a23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solettaproject/soletta/pulls/1996/commits","review_comments_url":"https://api.github.com/repos/solettaproject/soletta/pulls/1996/comments","review_comment_url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/1996/comments","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/64ac7ea3f07d3a26a3d264869f28dc376ba64cc9","head":{"label":"edersondisouza:ipm-v2","ref":"ipm-v2","sha":"64ac7ea3f07d3a26a3d264869f28dc376ba64cc9","user":{"login":"edersondisouza","id":3177551,"avatar_url":"https://avatars.githubusercontent.com/u/3177551?v=3","gravatar_id":"","url":"https://api.github.com/users/edersondisouza","html_url":"https://github.com/edersondisouza","followers_url":"https://api.github.com/users/edersondisouza/followers","following_url":"https://api.github.com/users/edersondisouza/following{/other_user}","gists_url":"https://api.github.com/users/edersondisouza/gists{/gist_id}","starred_url":"https://api.github.com/users/edersondisouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edersondisouza/subscriptions","organizations_url":"https://api.github.com/users/edersondisouza/orgs","repos_url":"https://api.github.com/users/edersondisouza/repos","events_url":"https://api.github.com/users/edersondisouza/events{/privacy}","received_events_url":"https://api.github.com/users/edersondisouza/received_events","type":"User","site_admin":false},"repo":{"id":37655085,"name":"soletta","full_name":"edersondisouza/soletta","owner":{"login":"edersondisouza","id":3177551,"avatar_url":"https://avatars.githubusercontent.com/u/3177551?v=3","gravatar_id":"","url":"https://api.github.com/users/edersondisouza","html_url":"https://github.com/edersondisouza","followers_url":"https://api.github.com/users/edersondisouza/followers","following_url":"https://api.github.com/users/edersondisouza/following{/other_user}","gists_url":"https://api.github.com/users/edersondisouza/gists{/gist_id}","starred_url":"https://api.github.com/users/edersondisouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edersondisouza/subscriptions","organizations_url":"https://api.github.com/users/edersondisouza/orgs","repos_url":"https://api.github.com/users/edersondisouza/repos","events_url":"https://api.github.com/users/edersondisouza/events{/privacy}","received_events_url":"https://api.github.com/users/edersondisouza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edersondisouza/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":true,"url":"https://api.github.com/repos/edersondisouza/soletta","forks_url":"https://api.github.com/repos/edersondisouza/soletta/forks","keys_url":"https://api.github.com/repos/edersondisouza/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edersondisouza/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edersondisouza/soletta/teams","hooks_url":"https://api.github.com/repos/edersondisouza/soletta/hooks","issue_events_url":"https://api.github.com/repos/edersondisouza/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/edersondisouza/soletta/events","assignees_url":"https://api.github.com/repos/edersondisouza/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/edersondisouza/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/edersondisouza/soletta/tags","blobs_url":"https://api.github.com/repos/edersondisouza/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edersondisouza/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edersondisouza/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/edersondisouza/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edersondisouza/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/edersondisouza/soletta/languages","stargazers_url":"https://api.github.com/repos/edersondisouza/soletta/stargazers","contributors_url":"https://api.github.com/repos/edersondisouza/soletta/contributors","subscribers_url":"https://api.github.com/repos/edersondisouza/soletta/subscribers","subscription_url":"https://api.github.com/repos/edersondisouza/soletta/subscription","commits_url":"https://api.github.com/repos/edersondisouza/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/edersondisouza/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/edersondisouza/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/edersondisouza/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/edersondisouza/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/edersondisouza/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edersondisouza/soletta/merges","archive_url":"https://api.github.com/repos/edersondisouza/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edersondisouza/soletta/downloads","issues_url":"https://api.github.com/repos/edersondisouza/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/edersondisouza/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/edersondisouza/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/edersondisouza/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edersondisouza/soletta/labels{/name}","releases_url":"https://api.github.com/repos/edersondisouza/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/edersondisouza/soletta/deployments","created_at":"2015-06-18T11:16:56Z","updated_at":"2016-01-19T17:36:26Z","pushed_at":"2016-05-09T18:28:26Z","git_url":"git://github.com/edersondisouza/soletta.git","ssh_url":"git@github.com:edersondisouza/soletta.git","clone_url":"https://github.com/edersondisouza/soletta.git","svn_url":"https://github.com/edersondisouza/soletta","homepage":"","size":18885,"stargazers_count":0,"watchers_count":0,"language":"C","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":"solettaproject:master","ref":"master","sha":"99717b1849724f03c6819bb7464b476e25d43697","user":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37087063,"name":"soletta","full_name":"solettaproject/soletta","owner":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solettaproject/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":false,"url":"https://api.github.com/repos/solettaproject/soletta","forks_url":"https://api.github.com/repos/solettaproject/soletta/forks","keys_url":"https://api.github.com/repos/solettaproject/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solettaproject/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solettaproject/soletta/teams","hooks_url":"https://api.github.com/repos/solettaproject/soletta/hooks","issue_events_url":"https://api.github.com/repos/solettaproject/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/solettaproject/soletta/events","assignees_url":"https://api.github.com/repos/solettaproject/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/solettaproject/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/solettaproject/soletta/tags","blobs_url":"https://api.github.com/repos/solettaproject/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solettaproject/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solettaproject/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/solettaproject/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/solettaproject/soletta/languages","stargazers_url":"https://api.github.com/repos/solettaproject/soletta/stargazers","contributors_url":"https://api.github.com/repos/solettaproject/soletta/contributors","subscribers_url":"https://api.github.com/repos/solettaproject/soletta/subscribers","subscription_url":"https://api.github.com/repos/solettaproject/soletta/subscription","commits_url":"https://api.github.com/repos/solettaproject/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/solettaproject/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/solettaproject/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/solettaproject/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/solettaproject/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/solettaproject/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solettaproject/soletta/merges","archive_url":"https://api.github.com/repos/solettaproject/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solettaproject/soletta/downloads","issues_url":"https://api.github.com/repos/solettaproject/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/solettaproject/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/solettaproject/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/solettaproject/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solettaproject/soletta/labels{/name}","releases_url":"https://api.github.com/repos/solettaproject/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/solettaproject/soletta/deployments","created_at":"2015-06-08T19:13:18Z","updated_at":"2016-05-08T10:44:08Z","pushed_at":"2016-05-09T19:47:15Z","git_url":"git://github.com/solettaproject/soletta.git","ssh_url":"git@github.com:solettaproject/soletta.git","clone_url":"https://github.com/solettaproject/soletta.git","svn_url":"https://github.com/solettaproject/soletta","homepage":"http://solettaproject.org","size":26292,"stargazers_count":94,"watchers_count":94,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":175,"forks":77,"open_issues":175,"watchers":94,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/1996"},"html":{"href":"https://github.com/solettaproject/soletta/pull/1996"},"issue":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/1996"},"comments":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/1996/comments"},"review_comments":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/1996/comments"},"review_comment":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/1996/commits"},"statuses":{"href":"https://api.github.com/repos/solettaproject/soletta/statuses/64ac7ea3f07d3a26a3d264869f28dc376ba64cc9"}}}}