{"action":"created","issue":{"url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/22","repository_url":"https://api.github.com/repos/Na0ki/mikutter_slack","labels_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/22/comments","events_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/22/events","html_url":"https://github.com/Na0ki/mikutter_slack/issues/22","id":181075831,"number":22,"title":"Plugin slugを slack に変更してはどうか","user":{"login":"toshia","id":586906,"avatar_url":"https://avatars.githubusercontent.com/u/586906?v=3","gravatar_id":"","url":"https://api.github.com/users/toshia","html_url":"https://github.com/toshia","followers_url":"https://api.github.com/users/toshia/followers","following_url":"https://api.github.com/users/toshia/following{/other_user}","gists_url":"https://api.github.com/users/toshia/gists{/gist_id}","starred_url":"https://api.github.com/users/toshia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshia/subscriptions","organizations_url":"https://api.github.com/users/toshia/orgs","repos_url":"https://api.github.com/users/toshia/repos","events_url":"https://api.github.com/users/toshia/events{/privacy}","received_events_url":"https://api.github.com/users/toshia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-05T06:39:18Z","updated_at":"2016-10-05T14:21:00Z","closed_at":null,"body":"今はmikutter_slackというPlugin slugだが、単に「slack」としたら良いと思う。\r\n\r\nリポジトリ名は「mikutter_」prefixをつけているとmikutterプラグインだということが分かって意味があるが(これを禁止すると、例えばsystemdと連携する変なプラグインを書いた場合、**systemd**という超凶悪な名前のリポジトリができる)、Plugin slugはmikutterの中でプラグイン同士を識別するものなので、もうmikutterプラグインであることはわかっている。だから「mikutter_」というprefixを付ける意味は薄い。\r\n\r\nちなみに俺が過去に送ったpull-reqで、`Plugin::Slack` というmoduleを作ったが、これは申し訳ないことに間違っていて、slugをCamelCaseにしたものにしなきゃいけないので `Plugin::MikutterSlack` にしなければいけない。slugを「slack」にすれば、moduleの名前は変更しなくてよい。\r\n\r\n当然これをやると、現在このプラグインを使っている人はディレクトリ名をリネームする必要があるが、だからこそ変更するなら今のうちだと思う。\r\nそうする場合、今後利用しようとするユーザのために、適切なディレクトリ名でcloneするためのコマンドをREADMEに書いておくと親切。"},"comment":{"url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/comments/251688810","html_url":"https://github.com/Na0ki/mikutter_slack/issues/22#issuecomment-251688810","issue_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/22","id":251688810,"user":{"login":"Na0ki","id":5732969,"avatar_url":"https://avatars.githubusercontent.com/u/5732969?v=3","gravatar_id":"","url":"https://api.github.com/users/Na0ki","html_url":"https://github.com/Na0ki","followers_url":"https://api.github.com/users/Na0ki/followers","following_url":"https://api.github.com/users/Na0ki/following{/other_user}","gists_url":"https://api.github.com/users/Na0ki/gists{/gist_id}","starred_url":"https://api.github.com/users/Na0ki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Na0ki/subscriptions","organizations_url":"https://api.github.com/users/Na0ki/orgs","repos_url":"https://api.github.com/users/Na0ki/repos","events_url":"https://api.github.com/users/Na0ki/events{/privacy}","received_events_url":"https://api.github.com/users/Na0ki/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T14:21:00Z","updated_at":"2016-10-05T14:21:00Z","body":"「slack」に変更した場合に、ライブラリとして使ってるslackとのバッティングとかってないんでしょうか\r\nスラグはmikutter側の管理ということで問題ないのかな"}}
{"actor":{"display_login":"Na0ki"}}