{"action":"opened","issue":{"url":"https://api.github.com/repos/11dimension/niner/issues/23","repository_url":"https://api.github.com/repos/11dimension/niner","labels_url":"https://api.github.com/repos/11dimension/niner/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/11dimension/niner/issues/23/comments","events_url":"https://api.github.com/repos/11dimension/niner/issues/23/events","html_url":"https://github.com/11dimension/niner/issues/23","id":157116317,"number":23,"title":"判定哪些service需要重启的条件由一级目录名转为文件夹（支持多级）","user":{"login":"magus0219","id":5009485,"avatar_url":"https://avatars.githubusercontent.com/u/5009485?v=3","gravatar_id":"","url":"https://api.github.com/users/magus0219","html_url":"https://github.com/magus0219","followers_url":"https://api.github.com/users/magus0219/followers","following_url":"https://api.github.com/users/magus0219/following{/other_user}","gists_url":"https://api.github.com/users/magus0219/gists{/gist_id}","starred_url":"https://api.github.com/users/magus0219/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magus0219/subscriptions","organizations_url":"https://api.github.com/users/magus0219/orgs","repos_url":"https://api.github.com/users/magus0219/repos","events_url":"https://api.github.com/users/magus0219/events{/privacy}","received_events_url":"https://api.github.com/users/magus0219/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T02:14:37Z","updated_at":"2016-05-27T02:14:37Z","closed_at":null,"body":"原先的逻辑是：\r\n1.获得已改变的文件相对于repo root的相对路径\r\n2.取得第一级目录作为项目名，进行映射获得需要重启的service\r\n\r\n存在的问题：\r\n如果一个一级目录下不同文件夹驱动不同service，无法支持，即粒度不够细\r\n\r\n修改目标：\r\n配置支持一个文件路径，使用startwith匹配，取匹配到最多字符的那一项"}}
{"actor":{"display_login":"magus0219"}}