{"action":"created","issue":{"url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/3","labels_url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/3/comments","events_url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/3/events","html_url":"https://github.com/yan9yu/CenDevEnv/issues/3","id":71151003,"number":3,"title":"Bugs for 163 mirror","user":{"login":"seisman","id":3974108,"avatar_url":"https://avatars.githubusercontent.com/u/3974108?v=3","gravatar_id":"","url":"https://api.github.com/users/seisman","html_url":"https://github.com/seisman","followers_url":"https://api.github.com/users/seisman/followers","following_url":"https://api.github.com/users/seisman/following{/other_user}","gists_url":"https://api.github.com/users/seisman/gists{/gist_id}","starred_url":"https://api.github.com/users/seisman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisman/subscriptions","organizations_url":"https://api.github.com/users/seisman/orgs","repos_url":"https://api.github.com/users/seisman/repos","events_url":"https://api.github.com/users/seisman/events{/privacy}","received_events_url":"https://api.github.com/users/seisman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T01:56:53Z","updated_at":"2015-06-04T03:35:21Z","closed_at":null,"body":"In commit 8f4b57b0c0f132eade9c70f52911528526e534c7, there are some possible bugs:\r\n\r\n1. `lsb_release` is a command provided by `redhat-lsb-core`, which is not installed by default.\r\n\r\n2. For CentOS 7.0 and 7.1, the output of `lsb_release` looks like:\r\n\r\n        LSB Version:\t:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-\r\n        Distributor ID:\tCentOS\r\n        Description:\tCentOS Linux release 7.1.1503 (Core) \r\n        Release:\t7.1.1503\r\n        Codename:\tCore\r\n\r\n    So `grep` and `awk` command does not work for CentOS 7, may work for CentOS 5 or 6.\r\n\r\n3. 163 mirror has only repo for CentOS 5 and 6, no repo for CentOS 7."},"comment":{"url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/comments/108705482","html_url":"https://github.com/yan9yu/CenDevEnv/issues/3#issuecomment-108705482","issue_url":"https://api.github.com/repos/yan9yu/CenDevEnv/issues/3","id":108705482,"user":{"login":"yan9yu","id":2553211,"avatar_url":"https://avatars.githubusercontent.com/u/2553211?v=3","gravatar_id":"","url":"https://api.github.com/users/yan9yu","html_url":"https://github.com/yan9yu","followers_url":"https://api.github.com/users/yan9yu/followers","following_url":"https://api.github.com/users/yan9yu/following{/other_user}","gists_url":"https://api.github.com/users/yan9yu/gists{/gist_id}","starred_url":"https://api.github.com/users/yan9yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan9yu/subscriptions","organizations_url":"https://api.github.com/users/yan9yu/orgs","repos_url":"https://api.github.com/users/yan9yu/repos","events_url":"https://api.github.com/users/yan9yu/events{/privacy}","received_events_url":"https://api.github.com/users/yan9yu/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T03:35:21Z","updated_at":"2015-06-04T03:35:21Z","body":"Hi @seisman, sorry for the late reply. \r\n\r\n1+2. Using `lsb_release` is just to ensure which CentOS version the system is. I don't know if there any other original and systemic command that can provide the same information.\r\n3. I check the 163 mirror again, they do provide support for CentOS 7, check [here](http://mirrors.163.com/.help/centos.html) for more information.\r\n\r\nBTW, I see your blog have some update about the environment setup stuff. It's better you can commit some of your ideas. :)"}}