{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/7570","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7570/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7570/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7570/events","html_url":"https://github.com/joomla/joomla-cms/pull/7570","id":97547886,"number":7570,"title":"Make the package URL a link.","user":{"login":"Bakual","id":1018684,"avatar_url":"https://avatars.githubusercontent.com/u/1018684?v=3","gravatar_id":"","url":"https://api.github.com/users/Bakual","html_url":"https://github.com/Bakual","followers_url":"https://api.github.com/users/Bakual/followers","following_url":"https://api.github.com/users/Bakual/following{/other_user}","gists_url":"https://api.github.com/users/Bakual/gists{/gist_id}","starred_url":"https://api.github.com/users/Bakual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bakual/subscriptions","organizations_url":"https://api.github.com/users/Bakual/orgs","repos_url":"https://api.github.com/users/Bakual/repos","events_url":"https://api.github.com/users/Bakual/events{/privacy}","received_events_url":"https://api.github.com/users/Bakual/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T20:28:13Z","updated_at":"2015-07-27T20:46:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7570","html_url":"https://github.com/joomla/joomla-cms/pull/7570","diff_url":"https://github.com/joomla/joomla-cms/pull/7570.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/7570.patch"},"body":"### Issue\r\nWhen you try to update the Weblinks package, you may get an SSL error depending on your enviroment. This error may look like one of the following:\r\n![no-cert](https://cloud.githubusercontent.com/assets/1018684/8916609/1017be10-34ad-11e5-84a4-8fa4bb6c6b94.PNG)\r\n![failed-cert](https://cloud.githubusercontent.com/assets/1018684/8916627/2d40321a-34ad-11e5-99a7-88ce58efe968.PNG)\r\nAt least the second issue is coming from the Amazon S3 repo where the weblinks package is hosted. The SSL cert chain has an no-longer trusted weak root cert. See https://github.com/joomla-extensions/weblinks/issues/79 for more information.\r\nThe same issue is also present for other extensions that are hosted on Amazon S3 (or GitHub).\r\n\r\n### Solution\r\nSince the issue isn't located withing Joomla or the extension, there isn't much we can do except waiting for Amazon S3 to fix their cert.\r\nHowever we can make it a bit easier for the user to download the package manually.\r\nThis PR just proposes to make the URL of the package linkable so it may be downloaded and installed using the Extension Manager.\r\nCurrently that message looks like this:\r\n![pre](https://cloud.githubusercontent.com/assets/1018684/8916762/fd48a456-34ad-11e5-9cc9-13b300af6ad0.PNG)\r\nAfter patch it will be\r\n![post](https://cloud.githubusercontent.com/assets/1018684/8916775/04f8aca0-34ae-11e5-99e3-5ca1196ad6d7.PNG)\r\n\r\nOn a sidenote: This PR does not only help with failed downloads due to SSL errors. It will help with any failed download for whatever reason.\r\n\r\n### Testing\r\nOn an affected system, install Weblinks 3.4.0 (https://github.com/joomla-extensions/weblinks/releases/tag/3.4.0) and search for updates.\r\nTry to install the proposed update to Weblinks 3.4.1.\r\nFor me, XAMPP installations failed as well downloading the update due to the first error shown at the beginning, which makes it easy to reproduce the issue.\r\n\r\n#### Remarks\r\nI thought about also adding a hint like \"You can try to download the package manually and install it using Install -> Upload Package File\". But not sure how to word that short and clear. Maybe something for @brianteeman ?"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/125337471","html_url":"https://github.com/joomla/joomla-cms/pull/7570#issuecomment-125337471","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7570","id":125337471,"user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T20:46:13Z","updated_at":"2015-07-27T20:46:13Z","body":"And as far as the error text is concerned... Well, that leaves a lot to be desired.  Why did it fail?  What am I supposed to do with this link you're giving me?  Can you give me a way to get more details about the error if you aren't going to display anything useful in the UI (in this state, we just throw away the error with no apparent logging mechanism around it, not very useful for troubleshooting)?\r\n\r\nJust throwing ideas around.  Nobody come at me with a pitchfork please."}}