{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/1139","labels_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/1139/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/1139/comments","events_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/1139/events","html_url":"https://github.com/D-Programming-Language/dlang.org/pull/1139","id":113167013,"number":1139,"title":"one-click download button","user":{"login":"aG0aep6G","id":9287500,"avatar_url":"https://avatars.githubusercontent.com/u/9287500?v=3","gravatar_id":"","url":"https://api.github.com/users/aG0aep6G","html_url":"https://github.com/aG0aep6G","followers_url":"https://api.github.com/users/aG0aep6G/followers","following_url":"https://api.github.com/users/aG0aep6G/following{/other_user}","gists_url":"https://api.github.com/users/aG0aep6G/gists{/gist_id}","starred_url":"https://api.github.com/users/aG0aep6G/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aG0aep6G/subscriptions","organizations_url":"https://api.github.com/users/aG0aep6G/orgs","repos_url":"https://api.github.com/users/aG0aep6G/repos","events_url":"https://api.github.com/users/aG0aep6G/events{/privacy}","received_events_url":"https://api.github.com/users/aG0aep6G/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-24T15:24:24Z","updated_at":"2015-11-11T02:25:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/1139","html_url":"https://github.com/D-Programming-Language/dlang.org/pull/1139","diff_url":"https://github.com/D-Programming-Language/dlang.org/pull/1139.diff","patch_url":"https://github.com/D-Programming-Language/dlang.org/pull/1139.patch"},"body":"![snapshot1](https://cloud.githubusercontent.com/assets/9287500/11069036/8aab3d8a-87d4-11e5-8c3d-ab888d875a61.png)\r\n\r\n(To avoid confusion, it looked [like this](https://cloud.githubusercontent.com/assets/9287500/10711239/4fb76968-7a75-11e5-8677-8a27eebdc952.png) before [this point in the discussion](https://github.com/D-Programming-Language/dlang.org/pull/1139#issuecomment-155489317).)\r\n\r\nI've only tested a couple browser/OS combinations:\r\nWindows 7: Internet Explorer, Firefox and Chrome all get it right (.exe download).\r\nUbuntu 15.10: Firefox gets it right (.deb download), Chrome and Konqueror only get Linux (.tar.xz download).\r\n\r\nI'm not sure if going for the generic Linux download is the right thing to do when no specific distribution could be detected. It may be better to lead people to download.html where they may find a proper package.\r\n\r\nWould be nice if someone could test OS X, Debian, Fedora, CentOS, openSUSE, and FreeBSD.\r\n\r\n~~The first commit fixes a couple issues with the current notices. See the commit message for details.~~ (Maybe later.)"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/comments/155636516","html_url":"https://github.com/D-Programming-Language/dlang.org/pull/1139#issuecomment-155636516","issue_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/1139","id":155636516,"user":{"login":"MartinNowak","id":288976,"avatar_url":"https://avatars.githubusercontent.com/u/288976?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinNowak","html_url":"https://github.com/MartinNowak","followers_url":"https://api.github.com/users/MartinNowak/followers","following_url":"https://api.github.com/users/MartinNowak/following{/other_user}","gists_url":"https://api.github.com/users/MartinNowak/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinNowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinNowak/subscriptions","organizations_url":"https://api.github.com/users/MartinNowak/orgs","repos_url":"https://api.github.com/users/MartinNowak/repos","events_url":"https://api.github.com/users/MartinNowak/events{/privacy}","received_events_url":"https://api.github.com/users/MartinNowak/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T02:25:18Z","updated_at":"2015-11-11T02:25:18Z","body":"Good idea, but didn't quite work for me. My `navigator.platform` using chrome is `Linux x86_64` so I don't get rpm packages on a Fedora Box. I don't think that finding our current download page is a problem though (fat on sidebar) and it explains in more detail how to choose between different compilers.\r\nAlso a one-click download that doesn't redirect you to a step-by-step installation guide is a dead end for someone in a hurry."}}