{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis3/issues/123","labels_url":"https://api.github.com/repos/fex-team/fis3/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis3/issues/123/comments","events_url":"https://api.github.com/repos/fex-team/fis3/issues/123/events","html_url":"https://github.com/fex-team/fis3/issues/123","id":99346310,"number":123,"title":"关于fis组件生态的一点讨论（个人浅见）！","user":{"login":"ccqgithub","id":1654761,"avatar_url":"https://avatars.githubusercontent.com/u/1654761?v=3","gravatar_id":"","url":"https://api.github.com/users/ccqgithub","html_url":"https://github.com/ccqgithub","followers_url":"https://api.github.com/users/ccqgithub/followers","following_url":"https://api.github.com/users/ccqgithub/following{/other_user}","gists_url":"https://api.github.com/users/ccqgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/ccqgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccqgithub/subscriptions","organizations_url":"https://api.github.com/users/ccqgithub/orgs","repos_url":"https://api.github.com/users/ccqgithub/repos","events_url":"https://api.github.com/users/ccqgithub/events{/privacy}","received_events_url":"https://api.github.com/users/ccqgithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T03:43:05Z","updated_at":"2015-08-06T03:50:58Z","closed_at":null,"body":"我觉得现在的fis-compoments的模式极不利于fis组件生态的发展。。\r\n因为每使用一个组件的时候必须往fis-components里面pull request一个配置文件，然后等你们合并，构建。\r\n虽然构建自动化的，但个人使用起来总觉得这种方式有点别扭。\r\n\r\n### 个人觉得更好的方式：\r\n- 项目下增加一个fis-components.json，里面有一项repo，指定每一个插件的仓库地址（不填写的则默认为**官方**对应的仓库）\r\n        {‘jquery’, https://github.com/fis-components/jquery.git}\r\n\r\n- 每一个组件下有一个fis-components.json,里面有一项repo，指定依赖的每一个插件的仓库地址（不填写的则默认为**官方**对应的仓库）和每一个版本对应的tag。并且有一个release，规定安装的时候只安装哪些文件。 这样，把一个仓库变成一个fis组件，只需要添加一份fis-components.json文件即可。\r\n\r\n- 想要将不是fis组件的仓库变成fis组件的仓库，只需要fork一下，添加一份fis-components.json即可\r\n\r\n- 官方组件：fis 官方如果发现哪些组件比较优秀，可以fork到自己的官方账号下，修改为官方插件。\r\n\r\n- 组件搜索打分，可以有一个组件社区版块\r\n"},"comment":{"url":"https://api.github.com/repos/fex-team/fis3/issues/comments/128227498","html_url":"https://github.com/fex-team/fis3/issues/123#issuecomment-128227498","issue_url":"https://api.github.com/repos/fex-team/fis3/issues/123","id":128227498,"user":{"login":"xiangshouding","id":631195,"avatar_url":"https://avatars.githubusercontent.com/u/631195?v=3","gravatar_id":"","url":"https://api.github.com/users/xiangshouding","html_url":"https://github.com/xiangshouding","followers_url":"https://api.github.com/users/xiangshouding/followers","following_url":"https://api.github.com/users/xiangshouding/following{/other_user}","gists_url":"https://api.github.com/users/xiangshouding/gists{/gist_id}","starred_url":"https://api.github.com/users/xiangshouding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiangshouding/subscriptions","organizations_url":"https://api.github.com/users/xiangshouding/orgs","repos_url":"https://api.github.com/users/xiangshouding/repos","events_url":"https://api.github.com/users/xiangshouding/events{/privacy}","received_events_url":"https://api.github.com/users/xiangshouding/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T03:50:58Z","updated_at":"2015-08-06T03:50:58Z","body":"想法很赞，但是没人力这么搞，要不你来？"}}