{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33","id":27833281,"html_url":"https://github.com/MIND-Tools/mind-compiler/pull/33","diff_url":"https://github.com/MIND-Tools/mind-compiler/pull/33.diff","patch_url":"https://github.com/MIND-Tools/mind-compiler/pull/33.patch","issue_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/33","number":33,"state":"open","locked":false,"title":"New --keep-source-name flag: simplify debug (output names convention)","user":{"login":"StephaneSeyvoz","id":2083744,"avatar_url":"https://avatars.githubusercontent.com/u/2083744?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneSeyvoz","html_url":"https://github.com/StephaneSeyvoz","followers_url":"https://api.github.com/users/StephaneSeyvoz/followers","following_url":"https://api.github.com/users/StephaneSeyvoz/following{/other_user}","gists_url":"https://api.github.com/users/StephaneSeyvoz/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneSeyvoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneSeyvoz/subscriptions","organizations_url":"https://api.github.com/users/StephaneSeyvoz/orgs","repos_url":"https://api.github.com/users/StephaneSeyvoz/repos","events_url":"https://api.github.com/users/StephaneSeyvoz/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneSeyvoz/received_events","type":"User","site_admin":false},"body":"# New --keep-source-name flag: simplify debug (output names convention)\r\n\r\n## The problem\r\n\r\nWhen a primitive component is compiled, its \"source <cFileName>.c\" files are preprocessed and compiled as: \r\n* my_package_Definition_impl<N>.i\r\n* my_package_Definition_impl<N>.o\r\nwhere N is the index of the implementation file in the primitive component (ordered).\r\n\r\nHowever this is not very helpful to the user since the \"impl0/1/.../N\" names aren't that clear for the user to debug his components.\r\n\r\n## Proposed solution\r\n\r\nThe --keep-source-name flag provides the user a choice to ease his debug by enabling the following naming convention:\r\n* my_package_Definition_<cFileName>.i\r\n* my_package_Definition_<cFileName>.o\r\n\r\nWe did not make it a standard since it can create very long file names in the end (longer than the usual 4/5 characters), possibly leading to issues on Windows (filesystem limited to 255 characters including folder path).","created_at":"2015-01-22T10:51:20Z","updated_at":"2015-01-22T10:51:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33/commits","review_comments_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33/comments","review_comment_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/33/comments","statuses_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/statuses/229510da1669dcc7aa1b89630330ce1266b84aa3","head":{"label":"Mind4SE:keep-src-name","ref":"keep-src-name","sha":"229510da1669dcc7aa1b89630330ce1266b84aa3","user":{"login":"Mind4SE","id":6032056,"avatar_url":"https://avatars.githubusercontent.com/u/6032056?v=3","gravatar_id":"","url":"https://api.github.com/users/Mind4SE","html_url":"https://github.com/Mind4SE","followers_url":"https://api.github.com/users/Mind4SE/followers","following_url":"https://api.github.com/users/Mind4SE/following{/other_user}","gists_url":"https://api.github.com/users/Mind4SE/gists{/gist_id}","starred_url":"https://api.github.com/users/Mind4SE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mind4SE/subscriptions","organizations_url":"https://api.github.com/users/Mind4SE/orgs","repos_url":"https://api.github.com/users/Mind4SE/repos","events_url":"https://api.github.com/users/Mind4SE/events{/privacy}","received_events_url":"https://api.github.com/users/Mind4SE/received_events","type":"Organization","site_admin":false},"repo":{"id":14689723,"name":"mind-compiler","full_name":"Mind4SE/mind-compiler","owner":{"login":"Mind4SE","id":6032056,"avatar_url":"https://avatars.githubusercontent.com/u/6032056?v=3","gravatar_id":"","url":"https://api.github.com/users/Mind4SE","html_url":"https://github.com/Mind4SE","followers_url":"https://api.github.com/users/Mind4SE/followers","following_url":"https://api.github.com/users/Mind4SE/following{/other_user}","gists_url":"https://api.github.com/users/Mind4SE/gists{/gist_id}","starred_url":"https://api.github.com/users/Mind4SE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mind4SE/subscriptions","organizations_url":"https://api.github.com/users/Mind4SE/orgs","repos_url":"https://api.github.com/users/Mind4SE/repos","events_url":"https://api.github.com/users/Mind4SE/events{/privacy}","received_events_url":"https://api.github.com/users/Mind4SE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mind4SE/mind-compiler","description":"MIND compiler modules","fork":true,"url":"https://api.github.com/repos/Mind4SE/mind-compiler","forks_url":"https://api.github.com/repos/Mind4SE/mind-compiler/forks","keys_url":"https://api.github.com/repos/Mind4SE/mind-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mind4SE/mind-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mind4SE/mind-compiler/teams","hooks_url":"https://api.github.com/repos/Mind4SE/mind-compiler/hooks","issue_events_url":"https://api.github.com/repos/Mind4SE/mind-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/Mind4SE/mind-compiler/events","assignees_url":"https://api.github.com/repos/Mind4SE/mind-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/Mind4SE/mind-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/Mind4SE/mind-compiler/tags","blobs_url":"https://api.github.com/repos/Mind4SE/mind-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mind4SE/mind-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mind4SE/mind-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mind4SE/mind-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mind4SE/mind-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/Mind4SE/mind-compiler/languages","stargazers_url":"https://api.github.com/repos/Mind4SE/mind-compiler/stargazers","contributors_url":"https://api.github.com/repos/Mind4SE/mind-compiler/contributors","subscribers_url":"https://api.github.com/repos/Mind4SE/mind-compiler/subscribers","subscription_url":"https://api.github.com/repos/Mind4SE/mind-compiler/subscription","commits_url":"https://api.github.com/repos/Mind4SE/mind-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mind4SE/mind-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mind4SE/mind-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mind4SE/mind-compiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/Mind4SE/mind-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/Mind4SE/mind-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mind4SE/mind-compiler/merges","archive_url":"https://api.github.com/repos/Mind4SE/mind-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mind4SE/mind-compiler/downloads","issues_url":"https://api.github.com/repos/Mind4SE/mind-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/Mind4SE/mind-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/Mind4SE/mind-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/Mind4SE/mind-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mind4SE/mind-compiler/labels{/name}","releases_url":"https://api.github.com/repos/Mind4SE/mind-compiler/releases{/id}","created_at":"2013-11-25T15:44:21Z","updated_at":"2015-01-16T15:20:31Z","pushed_at":"2015-01-22T10:42:42Z","git_url":"git://github.com/Mind4SE/mind-compiler.git","ssh_url":"git@github.com:Mind4SE/mind-compiler.git","clone_url":"https://github.com/Mind4SE/mind-compiler.git","svn_url":"https://github.com/Mind4SE/mind-compiler","homepage":null,"size":6238,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"MIND-Tools:master","ref":"master","sha":"2dc29fafc55ca6fbb8eb062d13ba312569b85e06","user":{"login":"MIND-Tools","id":1892983,"avatar_url":"https://avatars.githubusercontent.com/u/1892983?v=3","gravatar_id":"","url":"https://api.github.com/users/MIND-Tools","html_url":"https://github.com/MIND-Tools","followers_url":"https://api.github.com/users/MIND-Tools/followers","following_url":"https://api.github.com/users/MIND-Tools/following{/other_user}","gists_url":"https://api.github.com/users/MIND-Tools/gists{/gist_id}","starred_url":"https://api.github.com/users/MIND-Tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MIND-Tools/subscriptions","organizations_url":"https://api.github.com/users/MIND-Tools/orgs","repos_url":"https://api.github.com/users/MIND-Tools/repos","events_url":"https://api.github.com/users/MIND-Tools/events{/privacy}","received_events_url":"https://api.github.com/users/MIND-Tools/received_events","type":"Organization","site_admin":false},"repo":{"id":5284141,"name":"mind-compiler","full_name":"MIND-Tools/mind-compiler","owner":{"login":"MIND-Tools","id":1892983,"avatar_url":"https://avatars.githubusercontent.com/u/1892983?v=3","gravatar_id":"","url":"https://api.github.com/users/MIND-Tools","html_url":"https://github.com/MIND-Tools","followers_url":"https://api.github.com/users/MIND-Tools/followers","following_url":"https://api.github.com/users/MIND-Tools/following{/other_user}","gists_url":"https://api.github.com/users/MIND-Tools/gists{/gist_id}","starred_url":"https://api.github.com/users/MIND-Tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MIND-Tools/subscriptions","organizations_url":"https://api.github.com/users/MIND-Tools/orgs","repos_url":"https://api.github.com/users/MIND-Tools/repos","events_url":"https://api.github.com/users/MIND-Tools/events{/privacy}","received_events_url":"https://api.github.com/users/MIND-Tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MIND-Tools/mind-compiler","description":"MIND compiler modules","fork":false,"url":"https://api.github.com/repos/MIND-Tools/mind-compiler","forks_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/forks","keys_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/teams","hooks_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/hooks","issue_events_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/events","assignees_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/tags","blobs_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/languages","stargazers_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/stargazers","contributors_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/contributors","subscribers_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/subscribers","subscription_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/subscription","commits_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/comments/{number}","contents_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/merges","archive_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/downloads","issues_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/labels{/name}","releases_url":"https://api.github.com/repos/MIND-Tools/mind-compiler/releases{/id}","created_at":"2012-08-03T10:35:40Z","updated_at":"2015-01-16T15:14:46Z","pushed_at":"2015-01-16T15:14:45Z","git_url":"git://github.com/MIND-Tools/mind-compiler.git","ssh_url":"git@github.com:MIND-Tools/mind-compiler.git","clone_url":"https://github.com/MIND-Tools/mind-compiler.git","svn_url":"https://github.com/MIND-Tools/mind-compiler","homepage":null,"size":6081,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":7,"forks":10,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33"},"html":{"href":"https://github.com/MIND-Tools/mind-compiler/pull/33"},"issue":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/33"},"comments":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/MIND-Tools/mind-compiler/statuses/229510da1669dcc7aa1b89630330ce1266b84aa3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":183,"deletions":29,"changed_files":4}}