{"action":"created","comment":{"url":"https://api.github.com/repos/jackalope/jackalope/pulls/comments/30109122","id":30109122,"diff_hunk":"@@ -0,0 +1,153 @@\n+<?php\n+\n+namespace Jackalope\\Version;\n+\n+use Jackalope\\Session;\n+use Jackalope\\Transport\\AddNodeOperation;\n+use Jackalope\\Transport\\WritingInterface;\n+use PHPCR\\InvalidItemStateException;\n+use PHPCR\\NodeInterface;\n+use PHPCR\\PropertyType;\n+use PHPCR\\UnsupportedRepositoryOperationException;\n+use PHPCR\\Util\\UUIDHelper;\n+use PHPCR\\Version\\VersionException;\n+\n+class VersionHandler","path":"src/Jackalope/Version/VersionHandler.php","position":15,"original_position":15,"commit_id":"3c494f2c815733000c7a5d928024882d15b23da0","original_commit_id":"3c494f2c815733000c7a5d928024882d15b23da0","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"I don't really want to mention Sulu, the previous doc block was just an accident...","created_at":"2015-05-12T07:05:00Z","updated_at":"2015-05-12T07:05:00Z","html_url":"https://github.com/jackalope/jackalope/pull/285#discussion_r30109122","pull_request_url":"https://api.github.com/repos/jackalope/jackalope/pulls/285","_links":{"self":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/comments/30109122"},"html":{"href":"https://github.com/jackalope/jackalope/pull/285#discussion_r30109122"},"pull_request":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/285"}}},"pull_request":{"url":"https://api.github.com/repos/jackalope/jackalope/pulls/285","id":34703743,"html_url":"https://github.com/jackalope/jackalope/pull/285","diff_url":"https://github.com/jackalope/jackalope/pull/285.diff","patch_url":"https://github.com/jackalope/jackalope/pull/285.patch","issue_url":"https://api.github.com/repos/jackalope/jackalope/issues/285","number":285,"state":"open","locked":false,"title":"Added VersionHandler with basic checkin and checkout methods","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"This PR adds a VersionHandler, which can easily be reused among different transport layers. Currently there are very basic (and not yet complete) checkin and checkout methods.","created_at":"2015-05-05T08:20:40Z","updated_at":"2015-05-12T07:05:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ffb21318c5aeaf630cfa6e4b63567f7910aa3f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jackalope/jackalope/pulls/285/commits","review_comments_url":"https://api.github.com/repos/jackalope/jackalope/pulls/285/comments","review_comment_url":"https://api.github.com/repos/jackalope/jackalope/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackalope/jackalope/issues/285/comments","statuses_url":"https://api.github.com/repos/jackalope/jackalope/statuses/3c494f2c815733000c7a5d928024882d15b23da0","head":{"label":"danrot:versioning","ref":"versioning","sha":"3c494f2c815733000c7a5d928024882d15b23da0","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"repo":{"id":30755794,"name":"jackalope","full_name":"danrot/jackalope","owner":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danrot/jackalope","description":"Jackalope implements the PHPCR API. This modular library contains bindings to store data with the Doctrine DBAL or in the Jackrabbit JCR server part","fork":true,"url":"https://api.github.com/repos/danrot/jackalope","forks_url":"https://api.github.com/repos/danrot/jackalope/forks","keys_url":"https://api.github.com/repos/danrot/jackalope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danrot/jackalope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danrot/jackalope/teams","hooks_url":"https://api.github.com/repos/danrot/jackalope/hooks","issue_events_url":"https://api.github.com/repos/danrot/jackalope/issues/events{/number}","events_url":"https://api.github.com/repos/danrot/jackalope/events","assignees_url":"https://api.github.com/repos/danrot/jackalope/assignees{/user}","branches_url":"https://api.github.com/repos/danrot/jackalope/branches{/branch}","tags_url":"https://api.github.com/repos/danrot/jackalope/tags","blobs_url":"https://api.github.com/repos/danrot/jackalope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danrot/jackalope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danrot/jackalope/git/refs{/sha}","trees_url":"https://api.github.com/repos/danrot/jackalope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danrot/jackalope/statuses/{sha}","languages_url":"https://api.github.com/repos/danrot/jackalope/languages","stargazers_url":"https://api.github.com/repos/danrot/jackalope/stargazers","contributors_url":"https://api.github.com/repos/danrot/jackalope/contributors","subscribers_url":"https://api.github.com/repos/danrot/jackalope/subscribers","subscription_url":"https://api.github.com/repos/danrot/jackalope/subscription","commits_url":"https://api.github.com/repos/danrot/jackalope/commits{/sha}","git_commits_url":"https://api.github.com/repos/danrot/jackalope/git/commits{/sha}","comments_url":"https://api.github.com/repos/danrot/jackalope/comments{/number}","issue_comment_url":"https://api.github.com/repos/danrot/jackalope/issues/comments{/number}","contents_url":"https://api.github.com/repos/danrot/jackalope/contents/{+path}","compare_url":"https://api.github.com/repos/danrot/jackalope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danrot/jackalope/merges","archive_url":"https://api.github.com/repos/danrot/jackalope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danrot/jackalope/downloads","issues_url":"https://api.github.com/repos/danrot/jackalope/issues{/number}","pulls_url":"https://api.github.com/repos/danrot/jackalope/pulls{/number}","milestones_url":"https://api.github.com/repos/danrot/jackalope/milestones{/number}","notifications_url":"https://api.github.com/repos/danrot/jackalope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danrot/jackalope/labels{/name}","releases_url":"https://api.github.com/repos/danrot/jackalope/releases{/id}","created_at":"2015-02-13T12:38:14Z","updated_at":"2015-02-13T12:38:15Z","pushed_at":"2015-05-05T08:19:19Z","git_url":"git://github.com/danrot/jackalope.git","ssh_url":"git@github.com:danrot/jackalope.git","clone_url":"https://github.com/danrot/jackalope.git","svn_url":"https://github.com/danrot/jackalope","homepage":"http://jackalope.github.io","size":9730,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"jackalope:versioning","ref":"versioning","sha":"1506d9fc88b2d1024fbbfb6b5a7fe4db766bf1da","user":{"login":"jackalope","id":70245,"avatar_url":"https://avatars.githubusercontent.com/u/70245?v=3","gravatar_id":"","url":"https://api.github.com/users/jackalope","html_url":"https://github.com/jackalope","followers_url":"https://api.github.com/users/jackalope/followers","following_url":"https://api.github.com/users/jackalope/following{/other_user}","gists_url":"https://api.github.com/users/jackalope/gists{/gist_id}","starred_url":"https://api.github.com/users/jackalope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackalope/subscriptions","organizations_url":"https://api.github.com/users/jackalope/orgs","repos_url":"https://api.github.com/users/jackalope/repos","events_url":"https://api.github.com/users/jackalope/events{/privacy}","received_events_url":"https://api.github.com/users/jackalope/received_events","type":"Organization","site_admin":false},"repo":{"id":563272,"name":"jackalope","full_name":"jackalope/jackalope","owner":{"login":"jackalope","id":70245,"avatar_url":"https://avatars.githubusercontent.com/u/70245?v=3","gravatar_id":"","url":"https://api.github.com/users/jackalope","html_url":"https://github.com/jackalope","followers_url":"https://api.github.com/users/jackalope/followers","following_url":"https://api.github.com/users/jackalope/following{/other_user}","gists_url":"https://api.github.com/users/jackalope/gists{/gist_id}","starred_url":"https://api.github.com/users/jackalope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackalope/subscriptions","organizations_url":"https://api.github.com/users/jackalope/orgs","repos_url":"https://api.github.com/users/jackalope/repos","events_url":"https://api.github.com/users/jackalope/events{/privacy}","received_events_url":"https://api.github.com/users/jackalope/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jackalope/jackalope","description":"Jackalope implements the PHPCR API. This modular library contains bindings to store data with the Doctrine DBAL or in the Jackrabbit JCR server part","fork":false,"url":"https://api.github.com/repos/jackalope/jackalope","forks_url":"https://api.github.com/repos/jackalope/jackalope/forks","keys_url":"https://api.github.com/repos/jackalope/jackalope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackalope/jackalope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackalope/jackalope/teams","hooks_url":"https://api.github.com/repos/jackalope/jackalope/hooks","issue_events_url":"https://api.github.com/repos/jackalope/jackalope/issues/events{/number}","events_url":"https://api.github.com/repos/jackalope/jackalope/events","assignees_url":"https://api.github.com/repos/jackalope/jackalope/assignees{/user}","branches_url":"https://api.github.com/repos/jackalope/jackalope/branches{/branch}","tags_url":"https://api.github.com/repos/jackalope/jackalope/tags","blobs_url":"https://api.github.com/repos/jackalope/jackalope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackalope/jackalope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackalope/jackalope/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackalope/jackalope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackalope/jackalope/statuses/{sha}","languages_url":"https://api.github.com/repos/jackalope/jackalope/languages","stargazers_url":"https://api.github.com/repos/jackalope/jackalope/stargazers","contributors_url":"https://api.github.com/repos/jackalope/jackalope/contributors","subscribers_url":"https://api.github.com/repos/jackalope/jackalope/subscribers","subscription_url":"https://api.github.com/repos/jackalope/jackalope/subscription","commits_url":"https://api.github.com/repos/jackalope/jackalope/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackalope/jackalope/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackalope/jackalope/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackalope/jackalope/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackalope/jackalope/contents/{+path}","compare_url":"https://api.github.com/repos/jackalope/jackalope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackalope/jackalope/merges","archive_url":"https://api.github.com/repos/jackalope/jackalope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackalope/jackalope/downloads","issues_url":"https://api.github.com/repos/jackalope/jackalope/issues{/number}","pulls_url":"https://api.github.com/repos/jackalope/jackalope/pulls{/number}","milestones_url":"https://api.github.com/repos/jackalope/jackalope/milestones{/number}","notifications_url":"https://api.github.com/repos/jackalope/jackalope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackalope/jackalope/labels{/name}","releases_url":"https://api.github.com/repos/jackalope/jackalope/releases{/id}","created_at":"2010-03-15T13:51:08Z","updated_at":"2015-05-04T13:28:23Z","pushed_at":"2015-05-05T08:20:40Z","git_url":"git://github.com/jackalope/jackalope.git","ssh_url":"git@github.com:jackalope/jackalope.git","clone_url":"https://github.com/jackalope/jackalope.git","svn_url":"https://github.com/jackalope/jackalope","homepage":"http://jackalope.github.io","size":11779,"stargazers_count":177,"watchers_count":177,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":42,"forks":57,"open_issues":42,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/285"},"html":{"href":"https://github.com/jackalope/jackalope/pull/285"},"issue":{"href":"https://api.github.com/repos/jackalope/jackalope/issues/285"},"comments":{"href":"https://api.github.com/repos/jackalope/jackalope/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackalope/jackalope/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/jackalope/jackalope/statuses/3c494f2c815733000c7a5d928024882d15b23da0"}}}}