{"action":"created","issue":{"url":"https://api.github.com/repos/serverdensity/sd-agent/issues/100","labels_url":"https://api.github.com/repos/serverdensity/sd-agent/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/serverdensity/sd-agent/issues/100/comments","events_url":"https://api.github.com/repos/serverdensity/sd-agent/issues/100/events","html_url":"https://github.com/serverdensity/sd-agent/pull/100","id":68897815,"number":100,"title":"Installer tags","user":{"login":"harryperks","id":10849970,"avatar_url":"https://avatars.githubusercontent.com/u/10849970?v=3","gravatar_id":"","url":"https://api.github.com/users/harryperks","html_url":"https://github.com/harryperks","followers_url":"https://api.github.com/users/harryperks/followers","following_url":"https://api.github.com/users/harryperks/following{/other_user}","gists_url":"https://api.github.com/users/harryperks/gists{/gist_id}","starred_url":"https://api.github.com/users/harryperks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryperks/subscriptions","organizations_url":"https://api.github.com/users/harryperks/orgs","repos_url":"https://api.github.com/users/harryperks/repos","events_url":"https://api.github.com/users/harryperks/events{/privacy}","received_events_url":"https://api.github.com/users/harryperks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T10:48:58Z","updated_at":"2015-04-21T14:48:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/serverdensity/sd-agent/pulls/100","html_url":"https://github.com/serverdensity/sd-agent/pull/100","diff_url":"https://github.com/serverdensity/sd-agent/pull/100.diff","patch_url":"https://github.com/serverdensity/sd-agent/pull/100.patch"},"body":"Adds tagging ability into the installer\r\nUsage: sd-install.sh -a account -t token -T newtag\r\n\r\n- Retrieves all existing tags using the API\r\n- Using sed/grep to see if the tag exists\r\n- If it does, stores the ID in TAGID\r\n- If it doesn't, creates the tag and stores the ID in TAGID using a random hex code (echo tagname | md5 | cut -c1-6)\r\n"},"comment":{"url":"https://api.github.com/repos/serverdensity/sd-agent/issues/comments/94825470","html_url":"https://github.com/serverdensity/sd-agent/pull/100#issuecomment-94825470","issue_url":"https://api.github.com/repos/serverdensity/sd-agent/issues/100","id":94825470,"user":{"login":"pessoa","id":1252892,"avatar_url":"https://avatars.githubusercontent.com/u/1252892?v=3","gravatar_id":"","url":"https://api.github.com/users/pessoa","html_url":"https://github.com/pessoa","followers_url":"https://api.github.com/users/pessoa/followers","following_url":"https://api.github.com/users/pessoa/following{/other_user}","gists_url":"https://api.github.com/users/pessoa/gists{/gist_id}","starred_url":"https://api.github.com/users/pessoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pessoa/subscriptions","organizations_url":"https://api.github.com/users/pessoa/orgs","repos_url":"https://api.github.com/users/pessoa/repos","events_url":"https://api.github.com/users/pessoa/events{/privacy}","received_events_url":"https://api.github.com/users/pessoa/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T14:48:07Z","updated_at":"2015-04-21T14:48:07Z","body":"```\r\nroot@agent-test-PR-100:~# curl https://www.serverdensity.com/downloads/agent-install.sh > install.sh\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   154  100   154    0     0   9796      0 --:--:-- --:--:-- --:--:-- 11000\r\nroot@agent-test-PR-100:~# cat install.sh \r\n<html>\r\n<head><title>302 Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>302 Found</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\nroot@agent-test-PR-100:~# curl -L https://www.serverdensity.com/downloads/agent-install.sh > install.sh\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   154  100   154    0     0   7890      0 --:--:-- --:--:-- --:--:-- 10266\r\n100 14582  100 14582    0     0   116k      0 --:--:-- --:--:-- --:--:--  116k\r\n```\r\n\r\nwe need the -L"}}