{"action":"created","issue":{"url":"https://api.github.com/repos/YunoHost/yunohost/issues/520","repository_url":"https://api.github.com/repos/YunoHost/yunohost","labels_url":"https://api.github.com/repos/YunoHost/yunohost/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/YunoHost/yunohost/issues/520/comments","events_url":"https://api.github.com/repos/YunoHost/yunohost/issues/520/events","html_url":"https://github.com/YunoHost/yunohost/pull/520","id":354452853,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMjExNDky","number":520,"title":"Add the internal helper ynh_handle_getopts_args","user":{"login":"maniackcrudelis","id":8302225,"node_id":"MDQ6VXNlcjgzMDIyMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8302225?v=4","gravatar_id":"","url":"https://api.github.com/users/maniackcrudelis","html_url":"https://github.com/maniackcrudelis","followers_url":"https://api.github.com/users/maniackcrudelis/followers","following_url":"https://api.github.com/users/maniackcrudelis/following{/other_user}","gists_url":"https://api.github.com/users/maniackcrudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/maniackcrudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniackcrudelis/subscriptions","organizations_url":"https://api.github.com/users/maniackcrudelis/orgs","repos_url":"https://api.github.com/users/maniackcrudelis/repos","events_url":"https://api.github.com/users/maniackcrudelis/events{/privacy}","received_events_url":"https://api.github.com/users/maniackcrudelis/received_events","type":"User","site_admin":false},"labels":[{"id":568553012,"node_id":"MDU6TGFiZWw1Njg1NTMwMTI=","url":"https://api.github.com/repos/YunoHost/yunohost/labels/helper","name":"helper","color":"e8a2d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-27T19:48:33Z","updated_at":"2018-08-27T19:53:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/YunoHost/yunohost/pulls/520","html_url":"https://github.com/YunoHost/yunohost/pull/520","diff_url":"https://github.com/YunoHost/yunohost/pull/520.diff","patch_url":"https://github.com/YunoHost/yunohost/pull/520.patch"},"body":"## The problem\r\n\r\nAs said here, https://github.com/YunoHost/yunohost/pull/455, using positional arguments could be a problem when we're adding new options to a helper.\r\n\r\n## Solution\r\n\r\nUse a helper to allow to use easily getopts to manage arguments.\r\n\r\n## PR Status\r\n\r\nReady to be reviewed.\r\n\r\n## How to test\r\n\r\nHave a look to [experimental helpers](https://github.com/YunoHost-Apps/Experimental_helpers), which already use getopts.\r\n\r\n## Validation\r\n\r\n- [ ] Principle agreement 0/2 : \r\n- [ ] Quick review 0/1 : \r\n- [ ] Simple test 0/1 : \r\n- [ ] Deep review 0/1 : \r\n"},"comment":{"url":"https://api.github.com/repos/YunoHost/yunohost/issues/comments/416347518","html_url":"https://github.com/YunoHost/yunohost/pull/520#issuecomment-416347518","issue_url":"https://api.github.com/repos/YunoHost/yunohost/issues/520","id":416347518,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjM0NzUxOA==","user":{"login":"maniackcrudelis","id":8302225,"node_id":"MDQ6VXNlcjgzMDIyMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8302225?v=4","gravatar_id":"","url":"https://api.github.com/users/maniackcrudelis","html_url":"https://github.com/maniackcrudelis","followers_url":"https://api.github.com/users/maniackcrudelis/followers","following_url":"https://api.github.com/users/maniackcrudelis/following{/other_user}","gists_url":"https://api.github.com/users/maniackcrudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/maniackcrudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniackcrudelis/subscriptions","organizations_url":"https://api.github.com/users/maniackcrudelis/orgs","repos_url":"https://api.github.com/users/maniackcrudelis/repos","events_url":"https://api.github.com/users/maniackcrudelis/events{/privacy}","received_events_url":"https://api.github.com/users/maniackcrudelis/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T19:53:51Z","updated_at":"2018-08-27T19:53:51Z","author_association":"CONTRIBUTOR","body":"After this PR will be merged ;)"}}
{"actor":{"display_login":"maniackcrudelis"}}