{"action":"created","comment":{"url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/comments/73800815","id":73800815,"diff_hunk":"@@ -0,0 +1,11 @@\n+# File types\n+file_common: \"_common.cpp\"\n+file_ros: \"_ros.cpp\"\n+file_cfg: \".cfg\"\n+file_yaml: \".yaml\"\n+\n+# Path to yaml folder\n+path_yaml_folder: \"/home/srd-rd/catkin_ws/src/ipa_navigation/ipa_navigation_config/config/components\"\n+\n+# Default editor to open files in (command line name of executable)\n+editor: \"subl\"    # sublime","path":"cfg/param_update.yaml","position":11,"original_position":11,"commit_id":"e43739899de8c37eefcdaa7e3c09134d20fef04a","original_commit_id":"e43739899de8c37eefcdaa7e3c09134d20fef04a","user":{"login":"ipa-srd-rd","id":8874834,"avatar_url":"https://avatars.githubusercontent.com/u/8874834?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa-srd-rd","html_url":"https://github.com/ipa-srd-rd","followers_url":"https://api.github.com/users/ipa-srd-rd/followers","following_url":"https://api.github.com/users/ipa-srd-rd/following{/other_user}","gists_url":"https://api.github.com/users/ipa-srd-rd/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa-srd-rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa-srd-rd/subscriptions","organizations_url":"https://api.github.com/users/ipa-srd-rd/orgs","repos_url":"https://api.github.com/users/ipa-srd-rd/repos","events_url":"https://api.github.com/users/ipa-srd-rd/events{/privacy}","received_events_url":"https://api.github.com/users/ipa-srd-rd/received_events","type":"User","site_admin":false},"body":"It is anyway optional to open the files in the editor and as far as I know a lot of the default editors are not really built to open multiple files at once (e.g. nano). Which one should I use as default?\r\n\r\nI can also include in the script, that if no editor is set in the config file, the default editor according to `$EDITOR` is used?!","created_at":"2016-08-07T12:08:02Z","updated_at":"2016-08-07T12:08:02Z","html_url":"https://github.com/ipa320/ipa_code_refactoring/pull/1#discussion_r73800815","pull_request_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/comments/73800815"},"html":{"href":"https://github.com/ipa320/ipa_code_refactoring/pull/1#discussion_r73800815"},"pull_request":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1","id":79909465,"html_url":"https://github.com/ipa320/ipa_code_refactoring/pull/1","diff_url":"https://github.com/ipa320/ipa_code_refactoring/pull/1.diff","patch_url":"https://github.com/ipa320/ipa_code_refactoring/pull/1.patch","issue_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/1","number":1,"state":"open","locked":false,"title":"Initial commit of code refactoring tools","user":{"login":"ipa-srd-rd","id":8874834,"avatar_url":"https://avatars.githubusercontent.com/u/8874834?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa-srd-rd","html_url":"https://github.com/ipa-srd-rd","followers_url":"https://api.github.com/users/ipa-srd-rd/followers","following_url":"https://api.github.com/users/ipa-srd-rd/following{/other_user}","gists_url":"https://api.github.com/users/ipa-srd-rd/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa-srd-rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa-srd-rd/subscriptions","organizations_url":"https://api.github.com/users/ipa-srd-rd/orgs","repos_url":"https://api.github.com/users/ipa-srd-rd/repos","events_url":"https://api.github.com/users/ipa-srd-rd/events{/privacy}","received_events_url":"https://api.github.com/users/ipa-srd-rd/received_events","type":"User","site_admin":false},"body":"With this PR some code refactoring tools were added. \r\n\r\n1. Format C++ code using clang according to ros-cpp coding guidelines (clang parameters have to be configured accordingly)\r\n2. Format Python code using autopep8 \r\n3. Auto formatting all parameter names in _common.cpp, _ros.cpp, .cfg and .yaml files of packages into snake_case. Further their values are updated as well and the names/values could also be changed manually.\r\n\r\nThe tools/scripts could be started like any other ros executable using ' rosrun ipa_code_refactoring \"script_name\"","created_at":"2016-08-03T13:51:06Z","updated_at":"2016-08-07T12:08:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13120ab296253778211419c2c37f923341930d45","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/1/comments","statuses_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/statuses/e43739899de8c37eefcdaa7e3c09134d20fef04a","head":{"label":"ipa-srd-rd:feature/auto_code_formatting_tools","ref":"feature/auto_code_formatting_tools","sha":"e43739899de8c37eefcdaa7e3c09134d20fef04a","user":{"login":"ipa-srd-rd","id":8874834,"avatar_url":"https://avatars.githubusercontent.com/u/8874834?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa-srd-rd","html_url":"https://github.com/ipa-srd-rd","followers_url":"https://api.github.com/users/ipa-srd-rd/followers","following_url":"https://api.github.com/users/ipa-srd-rd/following{/other_user}","gists_url":"https://api.github.com/users/ipa-srd-rd/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa-srd-rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa-srd-rd/subscriptions","organizations_url":"https://api.github.com/users/ipa-srd-rd/orgs","repos_url":"https://api.github.com/users/ipa-srd-rd/repos","events_url":"https://api.github.com/users/ipa-srd-rd/events{/privacy}","received_events_url":"https://api.github.com/users/ipa-srd-rd/received_events","type":"User","site_admin":false},"repo":{"id":64848419,"name":"ipa_code_refactoring","full_name":"ipa-srd-rd/ipa_code_refactoring","owner":{"login":"ipa-srd-rd","id":8874834,"avatar_url":"https://avatars.githubusercontent.com/u/8874834?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa-srd-rd","html_url":"https://github.com/ipa-srd-rd","followers_url":"https://api.github.com/users/ipa-srd-rd/followers","following_url":"https://api.github.com/users/ipa-srd-rd/following{/other_user}","gists_url":"https://api.github.com/users/ipa-srd-rd/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa-srd-rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa-srd-rd/subscriptions","organizations_url":"https://api.github.com/users/ipa-srd-rd/orgs","repos_url":"https://api.github.com/users/ipa-srd-rd/repos","events_url":"https://api.github.com/users/ipa-srd-rd/events{/privacy}","received_events_url":"https://api.github.com/users/ipa-srd-rd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ipa-srd-rd/ipa_code_refactoring","description":"Tools for automatic refactoring of ROS packages.","fork":true,"url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring","forks_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/forks","keys_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/teams","hooks_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/hooks","issue_events_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/issues/events{/number}","events_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/events","assignees_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/assignees{/user}","branches_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/branches{/branch}","tags_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/tags","blobs_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/statuses/{sha}","languages_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/languages","stargazers_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/stargazers","contributors_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/contributors","subscribers_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/subscribers","subscription_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/subscription","commits_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/contents/{+path}","compare_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/merges","archive_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/downloads","issues_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/issues{/number}","pulls_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/pulls{/number}","milestones_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/milestones{/number}","notifications_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/labels{/name}","releases_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/releases{/id}","deployments_url":"https://api.github.com/repos/ipa-srd-rd/ipa_code_refactoring/deployments","created_at":"2016-08-03T13:32:03Z","updated_at":"2016-08-02T07:59:30Z","pushed_at":"2016-08-03T16:11:56Z","git_url":"git://github.com/ipa-srd-rd/ipa_code_refactoring.git","ssh_url":"git@github.com:ipa-srd-rd/ipa_code_refactoring.git","clone_url":"https://github.com/ipa-srd-rd/ipa_code_refactoring.git","svn_url":"https://github.com/ipa-srd-rd/ipa_code_refactoring","homepage":null,"size":685,"stargazers_count":0,"watchers_count":0,"language":null,"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":"ipa320:master","ref":"master","sha":"fa84963befbcada9b2e76c778bd853994c9b692c","user":{"login":"ipa320","id":155854,"avatar_url":"https://avatars.githubusercontent.com/u/155854?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa320","html_url":"https://github.com/ipa320","followers_url":"https://api.github.com/users/ipa320/followers","following_url":"https://api.github.com/users/ipa320/following{/other_user}","gists_url":"https://api.github.com/users/ipa320/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa320/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa320/subscriptions","organizations_url":"https://api.github.com/users/ipa320/orgs","repos_url":"https://api.github.com/users/ipa320/repos","events_url":"https://api.github.com/users/ipa320/events{/privacy}","received_events_url":"https://api.github.com/users/ipa320/received_events","type":"Organization","site_admin":false},"repo":{"id":64736849,"name":"ipa_code_refactoring","full_name":"ipa320/ipa_code_refactoring","owner":{"login":"ipa320","id":155854,"avatar_url":"https://avatars.githubusercontent.com/u/155854?v=3","gravatar_id":"","url":"https://api.github.com/users/ipa320","html_url":"https://github.com/ipa320","followers_url":"https://api.github.com/users/ipa320/followers","following_url":"https://api.github.com/users/ipa320/following{/other_user}","gists_url":"https://api.github.com/users/ipa320/gists{/gist_id}","starred_url":"https://api.github.com/users/ipa320/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipa320/subscriptions","organizations_url":"https://api.github.com/users/ipa320/orgs","repos_url":"https://api.github.com/users/ipa320/repos","events_url":"https://api.github.com/users/ipa320/events{/privacy}","received_events_url":"https://api.github.com/users/ipa320/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipa320/ipa_code_refactoring","description":"Tools for automatic refactoring of ROS packages.","fork":false,"url":"https://api.github.com/repos/ipa320/ipa_code_refactoring","forks_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/forks","keys_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/teams","hooks_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/hooks","issue_events_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/events{/number}","events_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/events","assignees_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/assignees{/user}","branches_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/branches{/branch}","tags_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/tags","blobs_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/statuses/{sha}","languages_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/languages","stargazers_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/stargazers","contributors_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/contributors","subscribers_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/subscribers","subscription_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/subscription","commits_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/contents/{+path}","compare_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/merges","archive_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/downloads","issues_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues{/number}","pulls_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls{/number}","milestones_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/milestones{/number}","notifications_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/labels{/name}","releases_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/releases{/id}","deployments_url":"https://api.github.com/repos/ipa320/ipa_code_refactoring/deployments","created_at":"2016-08-02T07:59:30Z","updated_at":"2016-08-02T07:59:30Z","pushed_at":"2016-08-03T16:11:57Z","git_url":"git://github.com/ipa320/ipa_code_refactoring.git","ssh_url":"git@github.com:ipa320/ipa_code_refactoring.git","clone_url":"https://github.com/ipa320/ipa_code_refactoring.git","svn_url":"https://github.com/ipa320/ipa_code_refactoring","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1"},"html":{"href":"https://github.com/ipa320/ipa_code_refactoring/pull/1"},"issue":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/1"},"comments":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ipa320/ipa_code_refactoring/statuses/e43739899de8c37eefcdaa7e3c09134d20fef04a"}}}}
{"actor":{"display_login":"ipa-srd-rd"}}