{"action":"created","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/8712","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/8712/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/8712/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/8712/events","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/8712","id":325999982,"number":8712,"title":"Refactor build command","user":{"login":"NatashaWso2","id":13446645,"avatar_url":"https://avatars3.githubusercontent.com/u/13446645?v=4","gravatar_id":"","url":"https://api.github.com/users/NatashaWso2","html_url":"https://github.com/NatashaWso2","followers_url":"https://api.github.com/users/NatashaWso2/followers","following_url":"https://api.github.com/users/NatashaWso2/following{/other_user}","gists_url":"https://api.github.com/users/NatashaWso2/gists{/gist_id}","starred_url":"https://api.github.com/users/NatashaWso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatashaWso2/subscriptions","organizations_url":"https://api.github.com/users/NatashaWso2/orgs","repos_url":"https://api.github.com/users/NatashaWso2/repos","events_url":"https://api.github.com/users/NatashaWso2/events{/privacy}","received_events_url":"https://api.github.com/users/NatashaWso2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T07:40:14Z","updated_at":"2018-05-28T03:26:52Z","closed_at":"2018-05-28T03:26:52Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/8712","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/8712","diff_url":"https://github.com/ballerina-platform/ballerina-lang/pull/8712.diff","patch_url":"https://github.com/ballerina-platform/ballerina-lang/pull/8712.patch"},"body":"## Purpose\r\n> This PR will refactor the build command and add sourceroot option for the build command.\r\n\r\n## Goals\r\n> Enable the execution of the following commands: \r\n\r\nballerina build [-sourceroot a/b/c/] mypackage [-o outputfilename.balx] \r\nballerina build [-sourceroot a/b/c/] toplevel.bal [-o outputfilename.balx] \r\nballerina build a/b/c/my.bal [-o outputfilename.balx] \r\n\r\n## Approach\r\n> Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.\r\n\r\n## User stories\r\n> Summary of user stories addressed by this change>\r\n\r\n## Release note\r\n> Brief description of the new feature or bug fix as it will appear in the release notes\r\n\r\n## Documentation\r\n> Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact\r\n\r\n## Training\r\n> Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable\r\n\r\n## Certification\r\n> Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.\r\n\r\n## Marketing\r\n> Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable\r\n\r\n## Automation tests\r\n - Unit tests \r\n   > Code coverage information\r\n - Integration tests\r\n   > Details about the test cases and coverage\r\n\r\n## Security checks\r\n - Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no\r\n - Ran FindSecurityBugs plugin and verified report? yes/no\r\n - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no\r\n\r\n## Samples\r\n> Provide high-level details about the samples related to this feature\r\n\r\n## Related PRs\r\n> List any other related PRs\r\n\r\n## Migrations (if applicable)\r\n> Describe migration steps and platforms on which migration has been tested\r\n\r\n## Test environment\r\n> List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested\r\n \r\n## Learning\r\n> Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem."},"comment":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments/392409509","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/8712#issuecomment-392409509","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/8712","id":392409509,"user":{"login":"NatashaWso2","id":13446645,"avatar_url":"https://avatars3.githubusercontent.com/u/13446645?v=4","gravatar_id":"","url":"https://api.github.com/users/NatashaWso2","html_url":"https://github.com/NatashaWso2","followers_url":"https://api.github.com/users/NatashaWso2/followers","following_url":"https://api.github.com/users/NatashaWso2/following{/other_user}","gists_url":"https://api.github.com/users/NatashaWso2/gists{/gist_id}","starred_url":"https://api.github.com/users/NatashaWso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatashaWso2/subscriptions","organizations_url":"https://api.github.com/users/NatashaWso2/orgs","repos_url":"https://api.github.com/users/NatashaWso2/repos","events_url":"https://api.github.com/users/NatashaWso2/events{/privacy}","received_events_url":"https://api.github.com/users/NatashaWso2/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T03:26:52Z","updated_at":"2018-05-28T03:26:52Z","author_association":"CONTRIBUTOR","body":"Closing this PR in favor of : https://github.com/ballerina-platform/ballerina-lang/pull/8730 and https://github.com/ballerina-platform/ballerina-lang/pull/8731"}}
{"actor":{"display_login":"NatashaWso2"}}