{"action":"created","comment":{"url":"https://api.github.com/repos/jjaniec/42sh/pulls/comments/234752836","pull_request_review_id":176462050,"id":234752836,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDc1MjgzNg==","diff_hunk":"@@ -0,0 +1,171 @@\n+/* ************************************************************************** */\n+/*                                                                            */\n+/*                                                        :::      ::::::::   */\n+/*   builtin_history_2.c                                :+:      :+:    :+:   */\n+/*                                                    +:+ +:+         +:+     */\n+/*   By: cyfermie <cyfermie@student.42.fr>          +#+  +:+       +#+        */\n+/*                                                +#+#+#+#+#+   +#+           */\n+/*   Created: 2018/11/09 17:29:55 by cyfermie          #+#    #+#             */\n+/*   Updated: 2018/11/11 16:28:35 by cyfermie         ###   ########.fr       */\n+/*                                                                            */\n+/* ************************************************************************** */\n+\n+#include <forty_two_sh.h>\n+\n+/*\n+**\tPrint all history's elements with an index.\n+*/\n+\n+void\tblthis_print_history_with_indexes(void)\n+{\n+\tconst struct s_history\t*his = access_le_main_datas()->history;\n+\tunsigned int\t\t\tindex;\n+\n+\tindex = 1;\n+\tif (his != NULL)\n+\t{\n+\t\twhile (his->prev != NULL)\n+\t\t\this = his->prev;\n+\t\twhile (his->next != NULL)\n+\t\t{\n+\t\t\tft_putnbr(index);\n+\t\t\tif (index < 10)\n+\t\t\t\twrite(STDOUT_FILENO, \"    \", sizeof(char) * 4);\n+\t\t\telse if (index < 100)\n+\t\t\t\twrite(STDOUT_FILENO, \"   \", sizeof(char) * 3);\n+\t\t\telse if (index < 1000)\n+\t\t\t\twrite(STDOUT_FILENO, \"  \", sizeof(char) * 2);\n+\t\t\telse if (index < 10000)\n+\t\t\t\twrite(STDOUT_FILENO, \" \", sizeof(char) * 1);\n+\t\t\tft_printf(\"%s\\n\", his->cmd);\n+\t\t\this = his->next;\n+\t\t\t++index;\n+\t\t}\n+\t}\n+}\n+\n+/*\n+**\tDelete element number 'n' in the history list.\n+*/\n+\n+void\tblthis_delete_element_number_n(unsigned int n)\n+{\n+\tstruct s_history\t*his;\n+\tstruct s_history\t*del;\n+\tunsigned int\t\tindex;\n+\n+\tif (n == 0 || (his = access_le_main_datas()->history) == NULL)\n+\t\treturn ;\n+\twhile ((index = 1) && his->prev != NULL)\n+\t\this = his->prev;\n+\twhile (index < n)\n+\t{\n+\t\this = his->next;\n+\t\t++index;\n+\t\tif (his == NULL)\n+\t\t\treturn ;\n+\t}\n+\tif (his->cmd == NULL)\n+\t\treturn ;\n+\tdel = his;\n+\tif (access_le_main_datas()->history == del)\n+\t\treset_history_on_first_elem(access_le_main_datas());\n+\tif (his->prev != NULL)\n+\t\this->prev->next = his->next;\n+\this->next->prev = his->prev;\n+\tfree(del->cmd);\n+\tfree(del);\n+}\n+\n+/*\n+**\tReplace the previous saved history with the current one.\n+**\tThe history is saved into a file.\n+**\tReturn 'false' if an error occurs.\n+*/\n+\n+bool\tblthis_save_history_in_file(struct s_history *his)\n+{\n+\tint\t\tfd;\n+\n+\tif (check_backup_file(get_parsed_history_file_path()) == false)\n+\t\treturn (false);\n+\tif (his == NULL)\n+\t\treturn (true);\n+\twhile (his->prev != NULL)\n+\t\this = his->prev;\n+\tif ((fd = open(get_parsed_history_file_path(), O_WRONLY | O_TRUNC)) == -1)\n+\t{\n+\t\tft_putstr_fd(\"42sh: error with file .42sh_history\\n\", STDERR_FILENO);\n+\t\treturn (false);\n+\t}\n+\twhile (his->cmd != NULL)\n+\t{\n+\t\tif (write(fd, his->cmd, ft_strlen(his->cmd)) == (ssize_t)(-1)\n+\t\t|| write(fd, \"\\n\", sizeof(char)) == (ssize_t)(-1))\n+\t\t{\n+\t\t\tft_putstr_fd(\".42sh_history: error writing in file\\n\", 2);\n+\t\t\treturn (close(fd) ? (false) : (false));","path":"srcs/builtin/builtin_history_2.c","position":107,"original_position":107,"commit_id":"9aa4adbd1c0fb16f38a4efe7fc4fbdc3d67b67b6","original_commit_id":"9aa4adbd1c0fb16f38a4efe7fc4fbdc3d67b67b6","user":{"login":"sonarcloud[bot]","id":39514782,"node_id":"MDM6Qm90Mzk1MTQ3ODI=","avatar_url":"https://avatars2.githubusercontent.com/in/12526?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarcloud%5Bbot%5D","html_url":"https://github.com/apps/sonarcloud","followers_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Bug](https://sonarsource.github.io/sonar-github/bug.png 'Bug') Bug: This conditional operation returns the same value whether the condition is \"true\" or \"false\". ([c:S3923](https://sonarcloud.io/organizations/jjaniec-github/rules#rule_key=c%3AS3923))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=jjaniec_42sh&pullRequest=50&issues=AWctcyjMH5xombRg8dwb&open=AWctcyjMH5xombRg8dwb)\n\n[ISSUE_KEY]: AWctcyjMH5xombRg8dwb","created_at":"2018-11-19T19:33:09Z","updated_at":"2018-11-19T19:33:10Z","html_url":"https://github.com/jjaniec/42sh/pull/50#discussion_r234752836","pull_request_url":"https://api.github.com/repos/jjaniec/42sh/pulls/50","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/comments/234752836"},"html":{"href":"https://github.com/jjaniec/42sh/pull/50#discussion_r234752836"},"pull_request":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/jjaniec/42sh/pulls/50","id":229959221,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTU5MjIx","html_url":"https://github.com/jjaniec/42sh/pull/50","diff_url":"https://github.com/jjaniec/42sh/pull/50.diff","patch_url":"https://github.com/jjaniec/42sh/pull/50.patch","issue_url":"https://api.github.com/repos/jjaniec/42sh/issues/50","number":50,"state":"open","locked":false,"title":"Builtin read","user":{"login":"Gamouche","id":22396445,"node_id":"MDQ6VXNlcjIyMzk2NDQ1","avatar_url":"https://avatars0.githubusercontent.com/u/22396445?v=4","gravatar_id":"","url":"https://api.github.com/users/Gamouche","html_url":"https://github.com/Gamouche","followers_url":"https://api.github.com/users/Gamouche/followers","following_url":"https://api.github.com/users/Gamouche/following{/other_user}","gists_url":"https://api.github.com/users/Gamouche/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamouche/subscriptions","organizations_url":"https://api.github.com/users/Gamouche/orgs","repos_url":"https://api.github.com/users/Gamouche/repos","events_url":"https://api.github.com/users/Gamouche/events{/privacy}","received_events_url":"https://api.github.com/users/Gamouche/received_events","type":"User","site_admin":false},"body":"/*\r\n**\tbuiltin read :\r\n**\tWait for the user's input, then split the input into words using IFS,\r\n**\tthe words are stored in the shell variables given as arguments.\r\n**\tIf there is more words than variables to store them, the last variable will\r\n**\thave all the remaining words.\r\n**\tIf there is no variable given as argument, the REPLY variable is used.\r\n**\r\n**\toption -d x : change the delimiter ('\\n' by default) to x.\r\n**\toption -n x : read stops if receiving the delimiter character or if it\r\n**\thas read x characters. (not compatible with option -N).\r\n**\toption -N x : ignore the delimiter character, read stops if it has read\r\n**\tx character or encountering EOF. (not compatible with option -n).\r\n**\toption -p : a prompt is displayed before reading.\r\n**\toption -s : the input is not displayed.\r\n**\tissou\r\n*/\r\n\r\nLes options et les variables shell doivent obligatoirement etre separees par `--` :  read -d a -n 5 -- var1 var2\r\n\r\nDites-moi s'il y a des bugs ou si valgrind rale :)\r\nNe regardez pas le code, c'est le pire de la terre. Disons juste qu'il vous permettra de mieux apprécier ce que je fais d'habitude.","created_at":"2018-11-11T15:34:43Z","updated_at":"2018-11-19T19:33:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"931ba834800f134fa697d55ddf381a49233696c9","assignee":{"login":"Gamouche","id":22396445,"node_id":"MDQ6VXNlcjIyMzk2NDQ1","avatar_url":"https://avatars0.githubusercontent.com/u/22396445?v=4","gravatar_id":"","url":"https://api.github.com/users/Gamouche","html_url":"https://github.com/Gamouche","followers_url":"https://api.github.com/users/Gamouche/followers","following_url":"https://api.github.com/users/Gamouche/following{/other_user}","gists_url":"https://api.github.com/users/Gamouche/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamouche/subscriptions","organizations_url":"https://api.github.com/users/Gamouche/orgs","repos_url":"https://api.github.com/users/Gamouche/repos","events_url":"https://api.github.com/users/Gamouche/events{/privacy}","received_events_url":"https://api.github.com/users/Gamouche/received_events","type":"User","site_admin":false},"assignees":[{"login":"Gamouche","id":22396445,"node_id":"MDQ6VXNlcjIyMzk2NDQ1","avatar_url":"https://avatars0.githubusercontent.com/u/22396445?v=4","gravatar_id":"","url":"https://api.github.com/users/Gamouche","html_url":"https://github.com/Gamouche","followers_url":"https://api.github.com/users/Gamouche/followers","following_url":"https://api.github.com/users/Gamouche/following{/other_user}","gists_url":"https://api.github.com/users/Gamouche/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamouche/subscriptions","organizations_url":"https://api.github.com/users/Gamouche/orgs","repos_url":"https://api.github.com/users/Gamouche/repos","events_url":"https://api.github.com/users/Gamouche/events{/privacy}","received_events_url":"https://api.github.com/users/Gamouche/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":934078151,"node_id":"MDU6TGFiZWw5MzQwNzgxNTE=","url":"https://api.github.com/repos/jjaniec/42sh/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/jjaniec/42sh/pulls/50/commits","review_comments_url":"https://api.github.com/repos/jjaniec/42sh/pulls/50/comments","review_comment_url":"https://api.github.com/repos/jjaniec/42sh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jjaniec/42sh/issues/50/comments","statuses_url":"https://api.github.com/repos/jjaniec/42sh/statuses/9aa4adbd1c0fb16f38a4efe7fc4fbdc3d67b67b6","head":{"label":"jjaniec:builtin_read","ref":"builtin_read","sha":"9aa4adbd1c0fb16f38a4efe7fc4fbdc3d67b67b6","user":{"login":"jjaniec","id":16088893,"node_id":"MDQ6VXNlcjE2MDg4ODkz","avatar_url":"https://avatars2.githubusercontent.com/u/16088893?v=4","gravatar_id":"","url":"https://api.github.com/users/jjaniec","html_url":"https://github.com/jjaniec","followers_url":"https://api.github.com/users/jjaniec/followers","following_url":"https://api.github.com/users/jjaniec/following{/other_user}","gists_url":"https://api.github.com/users/jjaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/jjaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjaniec/subscriptions","organizations_url":"https://api.github.com/users/jjaniec/orgs","repos_url":"https://api.github.com/users/jjaniec/repos","events_url":"https://api.github.com/users/jjaniec/events{/privacy}","received_events_url":"https://api.github.com/users/jjaniec/received_events","type":"User","site_admin":false},"repo":{"id":133548605,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1NDg2MDU=","name":"42sh","full_name":"jjaniec/42sh","private":false,"owner":{"login":"jjaniec","id":16088893,"node_id":"MDQ6VXNlcjE2MDg4ODkz","avatar_url":"https://avatars2.githubusercontent.com/u/16088893?v=4","gravatar_id":"","url":"https://api.github.com/users/jjaniec","html_url":"https://github.com/jjaniec","followers_url":"https://api.github.com/users/jjaniec/followers","following_url":"https://api.github.com/users/jjaniec/following{/other_user}","gists_url":"https://api.github.com/users/jjaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/jjaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjaniec/subscriptions","organizations_url":"https://api.github.com/users/jjaniec/orgs","repos_url":"https://api.github.com/users/jjaniec/repos","events_url":"https://api.github.com/users/jjaniec/events{/privacy}","received_events_url":"https://api.github.com/users/jjaniec/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jjaniec/42sh","description":"Our own shell - wip","fork":false,"url":"https://api.github.com/repos/jjaniec/42sh","forks_url":"https://api.github.com/repos/jjaniec/42sh/forks","keys_url":"https://api.github.com/repos/jjaniec/42sh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jjaniec/42sh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jjaniec/42sh/teams","hooks_url":"https://api.github.com/repos/jjaniec/42sh/hooks","issue_events_url":"https://api.github.com/repos/jjaniec/42sh/issues/events{/number}","events_url":"https://api.github.com/repos/jjaniec/42sh/events","assignees_url":"https://api.github.com/repos/jjaniec/42sh/assignees{/user}","branches_url":"https://api.github.com/repos/jjaniec/42sh/branches{/branch}","tags_url":"https://api.github.com/repos/jjaniec/42sh/tags","blobs_url":"https://api.github.com/repos/jjaniec/42sh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jjaniec/42sh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jjaniec/42sh/git/refs{/sha}","trees_url":"https://api.github.com/repos/jjaniec/42sh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jjaniec/42sh/statuses/{sha}","languages_url":"https://api.github.com/repos/jjaniec/42sh/languages","stargazers_url":"https://api.github.com/repos/jjaniec/42sh/stargazers","contributors_url":"https://api.github.com/repos/jjaniec/42sh/contributors","subscribers_url":"https://api.github.com/repos/jjaniec/42sh/subscribers","subscription_url":"https://api.github.com/repos/jjaniec/42sh/subscription","commits_url":"https://api.github.com/repos/jjaniec/42sh/commits{/sha}","git_commits_url":"https://api.github.com/repos/jjaniec/42sh/git/commits{/sha}","comments_url":"https://api.github.com/repos/jjaniec/42sh/comments{/number}","issue_comment_url":"https://api.github.com/repos/jjaniec/42sh/issues/comments{/number}","contents_url":"https://api.github.com/repos/jjaniec/42sh/contents/{+path}","compare_url":"https://api.github.com/repos/jjaniec/42sh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jjaniec/42sh/merges","archive_url":"https://api.github.com/repos/jjaniec/42sh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jjaniec/42sh/downloads","issues_url":"https://api.github.com/repos/jjaniec/42sh/issues{/number}","pulls_url":"https://api.github.com/repos/jjaniec/42sh/pulls{/number}","milestones_url":"https://api.github.com/repos/jjaniec/42sh/milestones{/number}","notifications_url":"https://api.github.com/repos/jjaniec/42sh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jjaniec/42sh/labels{/name}","releases_url":"https://api.github.com/repos/jjaniec/42sh/releases{/id}","deployments_url":"https://api.github.com/repos/jjaniec/42sh/deployments","created_at":"2018-05-15T17:10:47Z","updated_at":"2018-11-17T18:32:26Z","pushed_at":"2018-11-19T19:21:08Z","git_url":"git://github.com/jjaniec/42sh.git","ssh_url":"git@github.com:jjaniec/42sh.git","clone_url":"https://github.com/jjaniec/42sh.git","svn_url":"https://github.com/jjaniec/42sh","homepage":"","size":3231,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":3,"default_branch":"develop"}},"base":{"label":"jjaniec:develop","ref":"develop","sha":"8bd7afef458e9aacce2e4351f4359eb83de74c42","user":{"login":"jjaniec","id":16088893,"node_id":"MDQ6VXNlcjE2MDg4ODkz","avatar_url":"https://avatars2.githubusercontent.com/u/16088893?v=4","gravatar_id":"","url":"https://api.github.com/users/jjaniec","html_url":"https://github.com/jjaniec","followers_url":"https://api.github.com/users/jjaniec/followers","following_url":"https://api.github.com/users/jjaniec/following{/other_user}","gists_url":"https://api.github.com/users/jjaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/jjaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjaniec/subscriptions","organizations_url":"https://api.github.com/users/jjaniec/orgs","repos_url":"https://api.github.com/users/jjaniec/repos","events_url":"https://api.github.com/users/jjaniec/events{/privacy}","received_events_url":"https://api.github.com/users/jjaniec/received_events","type":"User","site_admin":false},"repo":{"id":133548605,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1NDg2MDU=","name":"42sh","full_name":"jjaniec/42sh","private":false,"owner":{"login":"jjaniec","id":16088893,"node_id":"MDQ6VXNlcjE2MDg4ODkz","avatar_url":"https://avatars2.githubusercontent.com/u/16088893?v=4","gravatar_id":"","url":"https://api.github.com/users/jjaniec","html_url":"https://github.com/jjaniec","followers_url":"https://api.github.com/users/jjaniec/followers","following_url":"https://api.github.com/users/jjaniec/following{/other_user}","gists_url":"https://api.github.com/users/jjaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/jjaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjaniec/subscriptions","organizations_url":"https://api.github.com/users/jjaniec/orgs","repos_url":"https://api.github.com/users/jjaniec/repos","events_url":"https://api.github.com/users/jjaniec/events{/privacy}","received_events_url":"https://api.github.com/users/jjaniec/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jjaniec/42sh","description":"Our own shell - wip","fork":false,"url":"https://api.github.com/repos/jjaniec/42sh","forks_url":"https://api.github.com/repos/jjaniec/42sh/forks","keys_url":"https://api.github.com/repos/jjaniec/42sh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jjaniec/42sh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jjaniec/42sh/teams","hooks_url":"https://api.github.com/repos/jjaniec/42sh/hooks","issue_events_url":"https://api.github.com/repos/jjaniec/42sh/issues/events{/number}","events_url":"https://api.github.com/repos/jjaniec/42sh/events","assignees_url":"https://api.github.com/repos/jjaniec/42sh/assignees{/user}","branches_url":"https://api.github.com/repos/jjaniec/42sh/branches{/branch}","tags_url":"https://api.github.com/repos/jjaniec/42sh/tags","blobs_url":"https://api.github.com/repos/jjaniec/42sh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jjaniec/42sh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jjaniec/42sh/git/refs{/sha}","trees_url":"https://api.github.com/repos/jjaniec/42sh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jjaniec/42sh/statuses/{sha}","languages_url":"https://api.github.com/repos/jjaniec/42sh/languages","stargazers_url":"https://api.github.com/repos/jjaniec/42sh/stargazers","contributors_url":"https://api.github.com/repos/jjaniec/42sh/contributors","subscribers_url":"https://api.github.com/repos/jjaniec/42sh/subscribers","subscription_url":"https://api.github.com/repos/jjaniec/42sh/subscription","commits_url":"https://api.github.com/repos/jjaniec/42sh/commits{/sha}","git_commits_url":"https://api.github.com/repos/jjaniec/42sh/git/commits{/sha}","comments_url":"https://api.github.com/repos/jjaniec/42sh/comments{/number}","issue_comment_url":"https://api.github.com/repos/jjaniec/42sh/issues/comments{/number}","contents_url":"https://api.github.com/repos/jjaniec/42sh/contents/{+path}","compare_url":"https://api.github.com/repos/jjaniec/42sh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jjaniec/42sh/merges","archive_url":"https://api.github.com/repos/jjaniec/42sh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jjaniec/42sh/downloads","issues_url":"https://api.github.com/repos/jjaniec/42sh/issues{/number}","pulls_url":"https://api.github.com/repos/jjaniec/42sh/pulls{/number}","milestones_url":"https://api.github.com/repos/jjaniec/42sh/milestones{/number}","notifications_url":"https://api.github.com/repos/jjaniec/42sh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jjaniec/42sh/labels{/name}","releases_url":"https://api.github.com/repos/jjaniec/42sh/releases{/id}","deployments_url":"https://api.github.com/repos/jjaniec/42sh/deployments","created_at":"2018-05-15T17:10:47Z","updated_at":"2018-11-17T18:32:26Z","pushed_at":"2018-11-19T19:21:08Z","git_url":"git://github.com/jjaniec/42sh.git","ssh_url":"git@github.com:jjaniec/42sh.git","clone_url":"https://github.com/jjaniec/42sh.git","svn_url":"https://github.com/jjaniec/42sh","homepage":"","size":3231,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/50"},"html":{"href":"https://github.com/jjaniec/42sh/pull/50"},"issue":{"href":"https://api.github.com/repos/jjaniec/42sh/issues/50"},"comments":{"href":"https://api.github.com/repos/jjaniec/42sh/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jjaniec/42sh/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/jjaniec/42sh/statuses/9aa4adbd1c0fb16f38a4efe7fc4fbdc3d67b67b6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sonarcloud"}}