{"action":"created","issue":{"url":"https://api.github.com/repos/PolicyStat/gitlit/issues/91","labels_url":"https://api.github.com/repos/PolicyStat/gitlit/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/PolicyStat/gitlit/issues/91/comments","events_url":"https://api.github.com/repos/PolicyStat/gitlit/issues/91/events","html_url":"https://github.com/PolicyStat/gitlit/issues/91","id":52024918,"number":91,"title":"Begining Git Diff parsing","user":{"login":"timaeudg","id":2319265,"avatar_url":"https://avatars.githubusercontent.com/u/2319265?v=3","gravatar_id":"","url":"https://api.github.com/users/timaeudg","html_url":"https://github.com/timaeudg","followers_url":"https://api.github.com/users/timaeudg/followers","following_url":"https://api.github.com/users/timaeudg/following{/other_user}","gists_url":"https://api.github.com/users/timaeudg/gists{/gist_id}","starred_url":"https://api.github.com/users/timaeudg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timaeudg/subscriptions","organizations_url":"https://api.github.com/users/timaeudg/orgs","repos_url":"https://api.github.com/users/timaeudg/repos","events_url":"https://api.github.com/users/timaeudg/events{/privacy}","received_events_url":"https://api.github.com/users/timaeudg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/PolicyStat/gitlit/milestones/12","labels_url":"https://api.github.com/repos/PolicyStat/gitlit/milestones/12/labels","id":932549,"number":12,"title":"Milestone 11","description":"","creator":{"login":"timaeudg","id":2319265,"avatar_url":"https://avatars.githubusercontent.com/u/2319265?v=3","gravatar_id":"","url":"https://api.github.com/users/timaeudg","html_url":"https://github.com/timaeudg","followers_url":"https://api.github.com/users/timaeudg/followers","following_url":"https://api.github.com/users/timaeudg/following{/other_user}","gists_url":"https://api.github.com/users/timaeudg/gists{/gist_id}","starred_url":"https://api.github.com/users/timaeudg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timaeudg/subscriptions","organizations_url":"https://api.github.com/users/timaeudg/orgs","repos_url":"https://api.github.com/users/timaeudg/repos","events_url":"https://api.github.com/users/timaeudg/events{/privacy}","received_events_url":"https://api.github.com/users/timaeudg/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2015-01-12T23:31:21Z","updated_at":"2015-01-13T02:51:11Z","due_on":"2015-01-13T05:00:00Z","closed_at":null},"comments":2,"created_at":"2014-12-15T19:01:17Z","updated_at":"2015-01-13T07:36:41Z","closed_at":null,"body":"One of the first steps to our diff representation will be parsing the output of a git diff. One of the most notable things about git diffs is that they are split into transaction-like chunks, if we could parse an entire diff output into multiple \"diff transactions\" that would be ideal.\r\n\r\nI foresee 2 levels of granularity we will care about:\r\n* File-level (changed files)\r\n* Individual change levels (i.e. each addition that is noted separately for one file).\r\n\r\nFeel free to do either or both of these."},"comment":{"url":"https://api.github.com/repos/PolicyStat/gitlit/issues/comments/69706153","html_url":"https://github.com/PolicyStat/gitlit/issues/91#issuecomment-69706153","issue_url":"https://api.github.com/repos/PolicyStat/gitlit/issues/91","id":69706153,"user":{"login":"timaeudg","id":2319265,"avatar_url":"https://avatars.githubusercontent.com/u/2319265?v=3","gravatar_id":"","url":"https://api.github.com/users/timaeudg","html_url":"https://github.com/timaeudg","followers_url":"https://api.github.com/users/timaeudg/followers","following_url":"https://api.github.com/users/timaeudg/following{/other_user}","gists_url":"https://api.github.com/users/timaeudg/gists{/gist_id}","starred_url":"https://api.github.com/users/timaeudg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timaeudg/subscriptions","organizations_url":"https://api.github.com/users/timaeudg/orgs","repos_url":"https://api.github.com/users/timaeudg/repos","events_url":"https://api.github.com/users/timaeudg/events{/privacy}","received_events_url":"https://api.github.com/users/timaeudg/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T07:36:41Z","updated_at":"2015-01-13T07:36:41Z","body":"Got some of the parsing finished, and have a clear idea of how to move forward, but there are some decisions that need to be discussed with everyone, such as \r\n* How we are going to display the diffs\r\n* What information will be visible to the users of the diff\r\n* **what** should users be allowed to diff\r\n\r\nwe are setup pretty well now to make a jump to a usable diff, but we need to know **what** that jump should be.\r\n\r\nIan and I discussed it and we think that the only real interpretation that needs to happen on our end will be when/if we want to care about reordering of the nodes.\r\nAside from this, most of the information is very straightforward, as we can just show the new and old versions of the file/node, and allow the user to select which they would like to keep."}}