{"action":"created","comment":{"url":"https://api.github.com/repos/oscript-library/opm/pulls/comments/91244221","pull_request_review_id":11751980,"id":91244221,"diff_hunk":"@@ -0,0 +1,55 @@\n+﻿\n+#Использовать logos\n+\n+Перем Лог;\n+\n+Перем ПакетыХаба;\n+\n+Процедура Обновить() Экспорт\n+\n+\tУстановкаПакета = Новый Установкапакета();\n+\tСервер =  Константы.СерверУдаленногоХранилища;\n+\tСоединение = УстановкаПакета.ИнициализироватьСоединение(Сервер);\n+\tРесурс = Константы.ПутьВХранилище + \"list.txt\";\n+\tЗапрос = Новый HTTPЗапрос(Ресурс);\n+\tОтвет  = Соединение.Получить(Запрос);\n+\n+\tЕсли НЕ Ответ.КодСостояния = 200 Тогда\n+\t\tТекстИсключения = СтрШаблон(\"Ошибка подключения к хабу <%1>\", Ответ.КодСостояния);\n+\t\tОтвет.Закрыть();\n+\t\tВызватьИсключение ТекстИсключения;\n+\tКонецЕсли;\n+\t\n+\tТекстОтвета = Ответ.ПолучитьТелоКакСтроку();\n+\tОтвет.Закрыть();\n+\t\t\n+\tПакетыХаба = Новый Соответствие;\n+\tКоличествоПакетовВХабе = СтрЧислоСтрок(ТекстОтвета);","path":"src/Классы/КэшПакетовХаба.os","position":null,"original_position":27,"commit_id":"c8125c1f329b2e28a76de2b39ab9320a326bdc08","original_commit_id":"783d91df627a61031dae1ea9f5424104adda989b","user":{"login":"asosnoviy","id":15638529,"avatar_url":"https://avatars.githubusercontent.com/u/15638529?v=3","gravatar_id":"","url":"https://api.github.com/users/asosnoviy","html_url":"https://github.com/asosnoviy","followers_url":"https://api.github.com/users/asosnoviy/followers","following_url":"https://api.github.com/users/asosnoviy/following{/other_user}","gists_url":"https://api.github.com/users/asosnoviy/gists{/gist_id}","starred_url":"https://api.github.com/users/asosnoviy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asosnoviy/subscriptions","organizations_url":"https://api.github.com/users/asosnoviy/orgs","repos_url":"https://api.github.com/users/asosnoviy/repos","events_url":"https://api.github.com/users/asosnoviy/events{/privacy}","received_events_url":"https://api.github.com/users/asosnoviy/received_events","type":"User","site_admin":false},"body":"Там в первом варианте вообще тем файл сохранялся =)   \r\nСейчас исправил. \r\nКак будет Json, поменяем на чтениеJson.","created_at":"2016-12-07T08:21:00Z","updated_at":"2016-12-07T08:21:00Z","html_url":"https://github.com/oscript-library/opm/pull/18#discussion_r91244221","pull_request_url":"https://api.github.com/repos/oscript-library/opm/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/comments/91244221"},"html":{"href":"https://github.com/oscript-library/opm/pull/18#discussion_r91244221"},"pull_request":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/oscript-library/opm/pulls/18","id":96825156,"html_url":"https://github.com/oscript-library/opm/pull/18","diff_url":"https://github.com/oscript-library/opm/pull/18.diff","patch_url":"https://github.com/oscript-library/opm/pull/18.patch","issue_url":"https://api.github.com/repos/oscript-library/opm/issues/18","number":18,"state":"open","locked":false,"title":"opm list -remote","user":{"login":"asosnoviy","id":15638529,"avatar_url":"https://avatars.githubusercontent.com/u/15638529?v=3","gravatar_id":"","url":"https://api.github.com/users/asosnoviy","html_url":"https://github.com/asosnoviy","followers_url":"https://api.github.com/users/asosnoviy/followers","following_url":"https://api.github.com/users/asosnoviy/following{/other_user}","gists_url":"https://api.github.com/users/asosnoviy/gists{/gist_id}","starred_url":"https://api.github.com/users/asosnoviy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asosnoviy/subscriptions","organizations_url":"https://api.github.com/users/asosnoviy/orgs","repos_url":"https://api.github.com/users/asosnoviy/repos","events_url":"https://api.github.com/users/asosnoviy/events{/privacy}","received_events_url":"https://api.github.com/users/asosnoviy/received_events","type":"User","site_admin":false},"body":"#13","created_at":"2016-12-06T23:02:09Z","updated_at":"2016-12-07T08:21:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac4c26a4657ff72071714ee03956f446d5a9ee4d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/oscript-library/opm/pulls/18/commits","review_comments_url":"https://api.github.com/repos/oscript-library/opm/pulls/18/comments","review_comment_url":"https://api.github.com/repos/oscript-library/opm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oscript-library/opm/issues/18/comments","statuses_url":"https://api.github.com/repos/oscript-library/opm/statuses/c8125c1f329b2e28a76de2b39ab9320a326bdc08","head":{"label":"asosnoviy:opmlist","ref":"opmlist","sha":"c8125c1f329b2e28a76de2b39ab9320a326bdc08","user":{"login":"asosnoviy","id":15638529,"avatar_url":"https://avatars.githubusercontent.com/u/15638529?v=3","gravatar_id":"","url":"https://api.github.com/users/asosnoviy","html_url":"https://github.com/asosnoviy","followers_url":"https://api.github.com/users/asosnoviy/followers","following_url":"https://api.github.com/users/asosnoviy/following{/other_user}","gists_url":"https://api.github.com/users/asosnoviy/gists{/gist_id}","starred_url":"https://api.github.com/users/asosnoviy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asosnoviy/subscriptions","organizations_url":"https://api.github.com/users/asosnoviy/orgs","repos_url":"https://api.github.com/users/asosnoviy/repos","events_url":"https://api.github.com/users/asosnoviy/events{/privacy}","received_events_url":"https://api.github.com/users/asosnoviy/received_events","type":"User","site_admin":false},"repo":{"id":70080883,"name":"opm","full_name":"asosnoviy/opm","owner":{"login":"asosnoviy","id":15638529,"avatar_url":"https://avatars.githubusercontent.com/u/15638529?v=3","gravatar_id":"","url":"https://api.github.com/users/asosnoviy","html_url":"https://github.com/asosnoviy","followers_url":"https://api.github.com/users/asosnoviy/followers","following_url":"https://api.github.com/users/asosnoviy/following{/other_user}","gists_url":"https://api.github.com/users/asosnoviy/gists{/gist_id}","starred_url":"https://api.github.com/users/asosnoviy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asosnoviy/subscriptions","organizations_url":"https://api.github.com/users/asosnoviy/orgs","repos_url":"https://api.github.com/users/asosnoviy/repos","events_url":"https://api.github.com/users/asosnoviy/events{/privacy}","received_events_url":"https://api.github.com/users/asosnoviy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asosnoviy/opm","description":"Пакетный менеджер OneScript","fork":true,"url":"https://api.github.com/repos/asosnoviy/opm","forks_url":"https://api.github.com/repos/asosnoviy/opm/forks","keys_url":"https://api.github.com/repos/asosnoviy/opm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asosnoviy/opm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asosnoviy/opm/teams","hooks_url":"https://api.github.com/repos/asosnoviy/opm/hooks","issue_events_url":"https://api.github.com/repos/asosnoviy/opm/issues/events{/number}","events_url":"https://api.github.com/repos/asosnoviy/opm/events","assignees_url":"https://api.github.com/repos/asosnoviy/opm/assignees{/user}","branches_url":"https://api.github.com/repos/asosnoviy/opm/branches{/branch}","tags_url":"https://api.github.com/repos/asosnoviy/opm/tags","blobs_url":"https://api.github.com/repos/asosnoviy/opm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asosnoviy/opm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asosnoviy/opm/git/refs{/sha}","trees_url":"https://api.github.com/repos/asosnoviy/opm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asosnoviy/opm/statuses/{sha}","languages_url":"https://api.github.com/repos/asosnoviy/opm/languages","stargazers_url":"https://api.github.com/repos/asosnoviy/opm/stargazers","contributors_url":"https://api.github.com/repos/asosnoviy/opm/contributors","subscribers_url":"https://api.github.com/repos/asosnoviy/opm/subscribers","subscription_url":"https://api.github.com/repos/asosnoviy/opm/subscription","commits_url":"https://api.github.com/repos/asosnoviy/opm/commits{/sha}","git_commits_url":"https://api.github.com/repos/asosnoviy/opm/git/commits{/sha}","comments_url":"https://api.github.com/repos/asosnoviy/opm/comments{/number}","issue_comment_url":"https://api.github.com/repos/asosnoviy/opm/issues/comments{/number}","contents_url":"https://api.github.com/repos/asosnoviy/opm/contents/{+path}","compare_url":"https://api.github.com/repos/asosnoviy/opm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asosnoviy/opm/merges","archive_url":"https://api.github.com/repos/asosnoviy/opm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asosnoviy/opm/downloads","issues_url":"https://api.github.com/repos/asosnoviy/opm/issues{/number}","pulls_url":"https://api.github.com/repos/asosnoviy/opm/pulls{/number}","milestones_url":"https://api.github.com/repos/asosnoviy/opm/milestones{/number}","notifications_url":"https://api.github.com/repos/asosnoviy/opm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asosnoviy/opm/labels{/name}","releases_url":"https://api.github.com/repos/asosnoviy/opm/releases{/id}","deployments_url":"https://api.github.com/repos/asosnoviy/opm/deployments","created_at":"2016-10-05T17:03:46Z","updated_at":"2016-10-05T17:03:48Z","pushed_at":"2016-12-07T08:12:29Z","git_url":"git://github.com/asosnoviy/opm.git","ssh_url":"git@github.com:asosnoviy/opm.git","clone_url":"https://github.com/asosnoviy/opm.git","svn_url":"https://github.com/asosnoviy/opm","homepage":null,"size":161,"stargazers_count":0,"watchers_count":0,"language":"1C Enterprise","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":"oscript-library:feature/list","ref":"feature/list","sha":"631555c5159a0a372a9839e8882a5cefa1569ecd","user":{"login":"oscript-library","id":17831279,"avatar_url":"https://avatars.githubusercontent.com/u/17831279?v=3","gravatar_id":"","url":"https://api.github.com/users/oscript-library","html_url":"https://github.com/oscript-library","followers_url":"https://api.github.com/users/oscript-library/followers","following_url":"https://api.github.com/users/oscript-library/following{/other_user}","gists_url":"https://api.github.com/users/oscript-library/gists{/gist_id}","starred_url":"https://api.github.com/users/oscript-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscript-library/subscriptions","organizations_url":"https://api.github.com/users/oscript-library/orgs","repos_url":"https://api.github.com/users/oscript-library/repos","events_url":"https://api.github.com/users/oscript-library/events{/privacy}","received_events_url":"https://api.github.com/users/oscript-library/received_events","type":"Organization","site_admin":false},"repo":{"id":53867294,"name":"opm","full_name":"oscript-library/opm","owner":{"login":"oscript-library","id":17831279,"avatar_url":"https://avatars.githubusercontent.com/u/17831279?v=3","gravatar_id":"","url":"https://api.github.com/users/oscript-library","html_url":"https://github.com/oscript-library","followers_url":"https://api.github.com/users/oscript-library/followers","following_url":"https://api.github.com/users/oscript-library/following{/other_user}","gists_url":"https://api.github.com/users/oscript-library/gists{/gist_id}","starred_url":"https://api.github.com/users/oscript-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscript-library/subscriptions","organizations_url":"https://api.github.com/users/oscript-library/orgs","repos_url":"https://api.github.com/users/oscript-library/repos","events_url":"https://api.github.com/users/oscript-library/events{/privacy}","received_events_url":"https://api.github.com/users/oscript-library/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oscript-library/opm","description":"Пакетный менеджер OneScript","fork":false,"url":"https://api.github.com/repos/oscript-library/opm","forks_url":"https://api.github.com/repos/oscript-library/opm/forks","keys_url":"https://api.github.com/repos/oscript-library/opm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscript-library/opm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscript-library/opm/teams","hooks_url":"https://api.github.com/repos/oscript-library/opm/hooks","issue_events_url":"https://api.github.com/repos/oscript-library/opm/issues/events{/number}","events_url":"https://api.github.com/repos/oscript-library/opm/events","assignees_url":"https://api.github.com/repos/oscript-library/opm/assignees{/user}","branches_url":"https://api.github.com/repos/oscript-library/opm/branches{/branch}","tags_url":"https://api.github.com/repos/oscript-library/opm/tags","blobs_url":"https://api.github.com/repos/oscript-library/opm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscript-library/opm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscript-library/opm/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscript-library/opm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscript-library/opm/statuses/{sha}","languages_url":"https://api.github.com/repos/oscript-library/opm/languages","stargazers_url":"https://api.github.com/repos/oscript-library/opm/stargazers","contributors_url":"https://api.github.com/repos/oscript-library/opm/contributors","subscribers_url":"https://api.github.com/repos/oscript-library/opm/subscribers","subscription_url":"https://api.github.com/repos/oscript-library/opm/subscription","commits_url":"https://api.github.com/repos/oscript-library/opm/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscript-library/opm/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscript-library/opm/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscript-library/opm/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscript-library/opm/contents/{+path}","compare_url":"https://api.github.com/repos/oscript-library/opm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscript-library/opm/merges","archive_url":"https://api.github.com/repos/oscript-library/opm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscript-library/opm/downloads","issues_url":"https://api.github.com/repos/oscript-library/opm/issues{/number}","pulls_url":"https://api.github.com/repos/oscript-library/opm/pulls{/number}","milestones_url":"https://api.github.com/repos/oscript-library/opm/milestones{/number}","notifications_url":"https://api.github.com/repos/oscript-library/opm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscript-library/opm/labels{/name}","releases_url":"https://api.github.com/repos/oscript-library/opm/releases{/id}","deployments_url":"https://api.github.com/repos/oscript-library/opm/deployments","created_at":"2016-03-14T15:17:26Z","updated_at":"2016-12-05T18:07:31Z","pushed_at":"2016-12-07T08:12:30Z","git_url":"git://github.com/oscript-library/opm.git","ssh_url":"git@github.com:oscript-library/opm.git","clone_url":"https://github.com/oscript-library/opm.git","svn_url":"https://github.com/oscript-library/opm","homepage":null,"size":152,"stargazers_count":6,"watchers_count":6,"language":"1C Enterprise","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/18"},"html":{"href":"https://github.com/oscript-library/opm/pull/18"},"issue":{"href":"https://api.github.com/repos/oscript-library/opm/issues/18"},"comments":{"href":"https://api.github.com/repos/oscript-library/opm/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oscript-library/opm/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/oscript-library/opm/statuses/c8125c1f329b2e28a76de2b39ab9320a326bdc08"}}}}
{"actor":{"display_login":"asosnoviy"}}