{"action":"created","issue":{"url":"https://api.github.com/repos/RetroShare/RetroShare/issues/22","labels_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/22/comments","events_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/22/events","html_url":"https://github.com/RetroShare/RetroShare/issues/22","id":99701998,"number":22,"title":"Unifying indentation","user":{"login":"AsamK","id":2340865,"avatar_url":"https://avatars.githubusercontent.com/u/2340865?v=3","gravatar_id":"","url":"https://api.github.com/users/AsamK","html_url":"https://github.com/AsamK","followers_url":"https://api.github.com/users/AsamK/followers","following_url":"https://api.github.com/users/AsamK/following{/other_user}","gists_url":"https://api.github.com/users/AsamK/gists{/gist_id}","starred_url":"https://api.github.com/users/AsamK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsamK/subscriptions","organizations_url":"https://api.github.com/users/AsamK/orgs","repos_url":"https://api.github.com/users/AsamK/repos","events_url":"https://api.github.com/users/AsamK/events{/privacy}","received_events_url":"https://api.github.com/users/AsamK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-07T18:20:40Z","updated_at":"2015-08-07T18:23:32Z","closed_at":null,"body":"Indentation is not consistent in the RS source code. Even within single files spaces and tabs are sometimes mixed at random. When viewing the files with a different tab setting than the dev who wrote it, the indentation becomes a mess. It's also annoying when editing the files.\r\n\r\nI'd suggest unifying the indentation across all RS source code to either 4 spaces or tabs (or something else, I don't really care, as long as it's consistent). This will be a big commit and will make it harder to find out where a change came from, before this commit, but I think it'd be worth it.\r\n\r\ne.g. [astyle] (http://astyle.sourceforge.net/) can be used to do this, either with four spaces or with tabs:\r\n```sh\r\n    astyle --mode=c --indent=spaces=4 CPP_FILES\r\n    astyle --mode=c --indent=tab CPP_FILES\r\n```"},"comment":{"url":"https://api.github.com/repos/RetroShare/RetroShare/issues/comments/128787483","html_url":"https://github.com/RetroShare/RetroShare/issues/22#issuecomment-128787483","issue_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/22","id":128787483,"user":{"login":"csoler","id":329008,"avatar_url":"https://avatars.githubusercontent.com/u/329008?v=3","gravatar_id":"","url":"https://api.github.com/users/csoler","html_url":"https://github.com/csoler","followers_url":"https://api.github.com/users/csoler/followers","following_url":"https://api.github.com/users/csoler/following{/other_user}","gists_url":"https://api.github.com/users/csoler/gists{/gist_id}","starred_url":"https://api.github.com/users/csoler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoler/subscriptions","organizations_url":"https://api.github.com/users/csoler/orgs","repos_url":"https://api.github.com/users/csoler/repos","events_url":"https://api.github.com/users/csoler/events{/privacy}","received_events_url":"https://api.github.com/users/csoler/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T18:23:32Z","updated_at":"2015-08-07T18:23:32Z","body":"Indentation is a matter of taste, and is also automatically fixed up by your text editor while you're editing. So we do not need (and do not want) to re-indent the whole code, which would be a huge commit with pretty useless meaning. Sorry!"}}