{"action":"created","comment":{"url":"https://api.github.com/repos/WINOT/cide.py/pulls/comments/25034109","id":25034109,"diff_hunk":"@@ -0,0 +1,68 @@\n+/****************************************************************************\n+ *  Classe: \t\t\tZoneTransit     \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t*\n+ *  Auteur: \t\t\tMariane Maynard \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t*\n+ *\tDescription:\tClasse servant a stocker temporairement les modifications\t*\n+\t\t\t\t\t\t\t\t\td'un fichier sur le serveur en attendant d'etre resolues\t*\n+ ****************************************************************************/\n+\n+#include<vector>\n+#include<mutex>\n+#include <boost/python.hpp>\n+\n+using std::vector;\n+using std::mutex;\n+\n+class Modification\n+{\n+\tprivate:\n+\t\tint position;\n+\tpublic:\n+\t\tint getPosition() const {return position;}\n+};\n+\n+class Fichier\n+{\n+};\n+\n+struct ZoneTransit\n+{\n+  private:\n+    vector<Modification> _modifications;\n+    Fichier _file;\n+    mutex _mutex;\n+\n+  public:\n+\t\t//ajoute les Modifications par ordre croissant de leur position\n+    void add(Modification m)\n+\t\t{\n+\t\t\t_mutex.lock();","path":"src/app/c++/ZoneTransit.cpp","position":38,"original_position":38,"commit_id":"07e6584b3774ff2425151b0c48d4d1da318e0a3e","original_commit_id":"07e6584b3774ff2425151b0c48d4d1da318e0a3e","user":{"login":"maym2104","id":7849866,"avatar_url":"https://avatars.githubusercontent.com/u/7849866?v=3","gravatar_id":"","url":"https://api.github.com/users/maym2104","html_url":"https://github.com/maym2104","followers_url":"https://api.github.com/users/maym2104/followers","following_url":"https://api.github.com/users/maym2104/following{/other_user}","gists_url":"https://api.github.com/users/maym2104/gists{/gist_id}","starred_url":"https://api.github.com/users/maym2104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maym2104/subscriptions","organizations_url":"https://api.github.com/users/maym2104/orgs","repos_url":"https://api.github.com/users/maym2104/repos","events_url":"https://api.github.com/users/maym2104/events{/privacy}","received_events_url":"https://api.github.com/users/maym2104/received_events","type":"User","site_admin":false},"body":"This file was removed anyway.","created_at":"2015-02-19T22:44:51Z","updated_at":"2015-02-19T22:44:51Z","html_url":"https://github.com/WINOT/cide.py/pull/17#discussion_r25034109","pull_request_url":"https://api.github.com/repos/WINOT/cide.py/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/comments/25034109"},"html":{"href":"https://github.com/WINOT/cide.py/pull/17#discussion_r25034109"},"pull_request":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/WINOT/cide.py/pulls/17","id":29473582,"html_url":"https://github.com/WINOT/cide.py/pull/17","diff_url":"https://github.com/WINOT/cide.py/pull/17.diff","patch_url":"https://github.com/WINOT/cide.py/pull/17.patch","issue_url":"https://api.github.com/repos/WINOT/cide.py/issues/17","number":17,"state":"open","locked":false,"title":"Zone t","user":{"login":"maym2104","id":7849866,"avatar_url":"https://avatars.githubusercontent.com/u/7849866?v=3","gravatar_id":"","url":"https://api.github.com/users/maym2104","html_url":"https://github.com/maym2104","followers_url":"https://api.github.com/users/maym2104/followers","following_url":"https://api.github.com/users/maym2104/following{/other_user}","gists_url":"https://api.github.com/users/maym2104/gists{/gist_id}","starred_url":"https://api.github.com/users/maym2104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maym2104/subscriptions","organizations_url":"https://api.github.com/users/maym2104/orgs","repos_url":"https://api.github.com/users/maym2104/repos","events_url":"https://api.github.com/users/maym2104/events{/privacy}","received_events_url":"https://api.github.com/users/maym2104/received_events","type":"User","site_admin":false},"body":"Basic functionnal version 1.0 of ZoneTransit. ","created_at":"2015-02-17T20:13:30Z","updated_at":"2015-02-19T22:44:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42fda8c994a8de19952f9daed246a934b6e29e6a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WINOT/cide.py/pulls/17/commits","review_comments_url":"https://api.github.com/repos/WINOT/cide.py/pulls/17/comments","review_comment_url":"https://api.github.com/repos/WINOT/cide.py/pulls/comments/{number}","comments_url":"https://api.github.com/repos/WINOT/cide.py/issues/17/comments","statuses_url":"https://api.github.com/repos/WINOT/cide.py/statuses/07e6584b3774ff2425151b0c48d4d1da318e0a3e","head":{"label":"maym2104:zoneT","ref":"zoneT","sha":"07e6584b3774ff2425151b0c48d4d1da318e0a3e","user":{"login":"maym2104","id":7849866,"avatar_url":"https://avatars.githubusercontent.com/u/7849866?v=3","gravatar_id":"","url":"https://api.github.com/users/maym2104","html_url":"https://github.com/maym2104","followers_url":"https://api.github.com/users/maym2104/followers","following_url":"https://api.github.com/users/maym2104/following{/other_user}","gists_url":"https://api.github.com/users/maym2104/gists{/gist_id}","starred_url":"https://api.github.com/users/maym2104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maym2104/subscriptions","organizations_url":"https://api.github.com/users/maym2104/orgs","repos_url":"https://api.github.com/users/maym2104/repos","events_url":"https://api.github.com/users/maym2104/events{/privacy}","received_events_url":"https://api.github.com/users/maym2104/received_events","type":"User","site_admin":false},"repo":{"id":30468985,"name":"cide.py","full_name":"maym2104/cide.py","owner":{"login":"maym2104","id":7849866,"avatar_url":"https://avatars.githubusercontent.com/u/7849866?v=3","gravatar_id":"","url":"https://api.github.com/users/maym2104","html_url":"https://github.com/maym2104","followers_url":"https://api.github.com/users/maym2104/followers","following_url":"https://api.github.com/users/maym2104/following{/other_user}","gists_url":"https://api.github.com/users/maym2104/gists{/gist_id}","starred_url":"https://api.github.com/users/maym2104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maym2104/subscriptions","organizations_url":"https://api.github.com/users/maym2104/orgs","repos_url":"https://api.github.com/users/maym2104/repos","events_url":"https://api.github.com/users/maym2104/events{/privacy}","received_events_url":"https://api.github.com/users/maym2104/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maym2104/cide.py","description":"EDI en-ligne en temps réel pour le langage ","fork":true,"url":"https://api.github.com/repos/maym2104/cide.py","forks_url":"https://api.github.com/repos/maym2104/cide.py/forks","keys_url":"https://api.github.com/repos/maym2104/cide.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maym2104/cide.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maym2104/cide.py/teams","hooks_url":"https://api.github.com/repos/maym2104/cide.py/hooks","issue_events_url":"https://api.github.com/repos/maym2104/cide.py/issues/events{/number}","events_url":"https://api.github.com/repos/maym2104/cide.py/events","assignees_url":"https://api.github.com/repos/maym2104/cide.py/assignees{/user}","branches_url":"https://api.github.com/repos/maym2104/cide.py/branches{/branch}","tags_url":"https://api.github.com/repos/maym2104/cide.py/tags","blobs_url":"https://api.github.com/repos/maym2104/cide.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maym2104/cide.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maym2104/cide.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/maym2104/cide.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maym2104/cide.py/statuses/{sha}","languages_url":"https://api.github.com/repos/maym2104/cide.py/languages","stargazers_url":"https://api.github.com/repos/maym2104/cide.py/stargazers","contributors_url":"https://api.github.com/repos/maym2104/cide.py/contributors","subscribers_url":"https://api.github.com/repos/maym2104/cide.py/subscribers","subscription_url":"https://api.github.com/repos/maym2104/cide.py/subscription","commits_url":"https://api.github.com/repos/maym2104/cide.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/maym2104/cide.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/maym2104/cide.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/maym2104/cide.py/issues/comments/{number}","contents_url":"https://api.github.com/repos/maym2104/cide.py/contents/{+path}","compare_url":"https://api.github.com/repos/maym2104/cide.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maym2104/cide.py/merges","archive_url":"https://api.github.com/repos/maym2104/cide.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maym2104/cide.py/downloads","issues_url":"https://api.github.com/repos/maym2104/cide.py/issues{/number}","pulls_url":"https://api.github.com/repos/maym2104/cide.py/pulls{/number}","milestones_url":"https://api.github.com/repos/maym2104/cide.py/milestones{/number}","notifications_url":"https://api.github.com/repos/maym2104/cide.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maym2104/cide.py/labels{/name}","releases_url":"https://api.github.com/repos/maym2104/cide.py/releases{/id}","created_at":"2015-02-07T20:23:57Z","updated_at":"2015-02-08T22:26:25Z","pushed_at":"2015-02-17T20:07:27Z","git_url":"git://github.com/maym2104/cide.py.git","ssh_url":"git@github.com:maym2104/cide.py.git","clone_url":"https://github.com/maym2104/cide.py.git","svn_url":"https://github.com/maym2104/cide.py","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"WINOT:master","ref":"master","sha":"20fc449b6090b527fd6ab005e9905b0652c90790","user":{"login":"WINOT","id":10520598,"avatar_url":"https://avatars.githubusercontent.com/u/10520598?v=3","gravatar_id":"","url":"https://api.github.com/users/WINOT","html_url":"https://github.com/WINOT","followers_url":"https://api.github.com/users/WINOT/followers","following_url":"https://api.github.com/users/WINOT/following{/other_user}","gists_url":"https://api.github.com/users/WINOT/gists{/gist_id}","starred_url":"https://api.github.com/users/WINOT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WINOT/subscriptions","organizations_url":"https://api.github.com/users/WINOT/orgs","repos_url":"https://api.github.com/users/WINOT/repos","events_url":"https://api.github.com/users/WINOT/events{/privacy}","received_events_url":"https://api.github.com/users/WINOT/received_events","type":"Organization","site_admin":false},"repo":{"id":29206777,"name":"cide.py","full_name":"WINOT/cide.py","owner":{"login":"WINOT","id":10520598,"avatar_url":"https://avatars.githubusercontent.com/u/10520598?v=3","gravatar_id":"","url":"https://api.github.com/users/WINOT","html_url":"https://github.com/WINOT","followers_url":"https://api.github.com/users/WINOT/followers","following_url":"https://api.github.com/users/WINOT/following{/other_user}","gists_url":"https://api.github.com/users/WINOT/gists{/gist_id}","starred_url":"https://api.github.com/users/WINOT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WINOT/subscriptions","organizations_url":"https://api.github.com/users/WINOT/orgs","repos_url":"https://api.github.com/users/WINOT/repos","events_url":"https://api.github.com/users/WINOT/events{/privacy}","received_events_url":"https://api.github.com/users/WINOT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WINOT/cide.py","description":"EDI en-ligne en temps réel pour le langage ","fork":false,"url":"https://api.github.com/repos/WINOT/cide.py","forks_url":"https://api.github.com/repos/WINOT/cide.py/forks","keys_url":"https://api.github.com/repos/WINOT/cide.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WINOT/cide.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WINOT/cide.py/teams","hooks_url":"https://api.github.com/repos/WINOT/cide.py/hooks","issue_events_url":"https://api.github.com/repos/WINOT/cide.py/issues/events{/number}","events_url":"https://api.github.com/repos/WINOT/cide.py/events","assignees_url":"https://api.github.com/repos/WINOT/cide.py/assignees{/user}","branches_url":"https://api.github.com/repos/WINOT/cide.py/branches{/branch}","tags_url":"https://api.github.com/repos/WINOT/cide.py/tags","blobs_url":"https://api.github.com/repos/WINOT/cide.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WINOT/cide.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WINOT/cide.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/WINOT/cide.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WINOT/cide.py/statuses/{sha}","languages_url":"https://api.github.com/repos/WINOT/cide.py/languages","stargazers_url":"https://api.github.com/repos/WINOT/cide.py/stargazers","contributors_url":"https://api.github.com/repos/WINOT/cide.py/contributors","subscribers_url":"https://api.github.com/repos/WINOT/cide.py/subscribers","subscription_url":"https://api.github.com/repos/WINOT/cide.py/subscription","commits_url":"https://api.github.com/repos/WINOT/cide.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/WINOT/cide.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/WINOT/cide.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/WINOT/cide.py/issues/comments/{number}","contents_url":"https://api.github.com/repos/WINOT/cide.py/contents/{+path}","compare_url":"https://api.github.com/repos/WINOT/cide.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WINOT/cide.py/merges","archive_url":"https://api.github.com/repos/WINOT/cide.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WINOT/cide.py/downloads","issues_url":"https://api.github.com/repos/WINOT/cide.py/issues{/number}","pulls_url":"https://api.github.com/repos/WINOT/cide.py/pulls{/number}","milestones_url":"https://api.github.com/repos/WINOT/cide.py/milestones{/number}","notifications_url":"https://api.github.com/repos/WINOT/cide.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WINOT/cide.py/labels{/name}","releases_url":"https://api.github.com/repos/WINOT/cide.py/releases{/id}","created_at":"2015-01-13T19:25:16Z","updated_at":"2015-02-19T22:05:20Z","pushed_at":"2015-02-19T22:05:20Z","git_url":"git://github.com/WINOT/cide.py.git","ssh_url":"git@github.com:WINOT/cide.py.git","clone_url":"https://github.com/WINOT/cide.py.git","svn_url":"https://github.com/WINOT/cide.py","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/17"},"html":{"href":"https://github.com/WINOT/cide.py/pull/17"},"issue":{"href":"https://api.github.com/repos/WINOT/cide.py/issues/17"},"comments":{"href":"https://api.github.com/repos/WINOT/cide.py/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/WINOT/cide.py/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/WINOT/cide.py/statuses/07e6584b3774ff2425151b0c48d4d1da318e0a3e"}}}}