{"action":"created","issue":{"url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/3","repository_url":"https://api.github.com/repos/Hypernode/tools.hypernode.com","labels_url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/3/comments","events_url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/3/events","html_url":"https://github.com/Hypernode/tools.hypernode.com/issues/3","id":185095072,"number":3,"title":"Patches list returns wrong SUPEE numbers","user":{"login":"peterjaap","id":431360,"avatar_url":"https://avatars.githubusercontent.com/u/431360?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjaap","html_url":"https://github.com/peterjaap","followers_url":"https://api.github.com/users/peterjaap/followers","following_url":"https://api.github.com/users/peterjaap/following{/other_user}","gists_url":"https://api.github.com/users/peterjaap/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjaap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjaap/subscriptions","organizations_url":"https://api.github.com/users/peterjaap/orgs","repos_url":"https://api.github.com/users/peterjaap/repos","events_url":"https://api.github.com/users/peterjaap/events{/privacy}","received_events_url":"https://api.github.com/users/peterjaap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-25T11:54:35Z","updated_at":"2016-10-26T08:53:05Z","closed_at":"2016-10-26T08:52:28Z","body":"For example, the response for 1.7.0.2 (https://tools.hypernode.com/patches/community/1.7.0.2) is;\r\n\r\n```json\r\n{\r\n\"required\": [\r\n\"APPSEC-212\",\r\n\"SUPEE-1533\",\r\n\"SUPEE-5344\",\r\n\"SUPEE-5994\",\r\n\"SUPEE-6285\",\r\n\"SUPEE-6482\",\r\n\"SUPEE-6788\",\r\n\"SUPEE-7405\",\r\n\"SUPEE-7405 v1.1\"\r\n]\r\n}\r\n```\r\n\r\nYou'll see APPSEC-212 here. That is not a SUPEE patch, because there are different SUPEE patches for different versions for this appsec. For 1.7.0.2 for example, the SUPEE number is SUPEE-2677. So SUPEE-2677 is in the `app/etc/applied.patches.list`, not APPSEC-212.\r\n\r\nThe same thing goes for SUPEE-7405. The v1.1 patch entry in applied.patches.list doesn't differentiate from the v1.0 version so there is no way knowing of the v1.1 is installed or the v1.0. I suspect this will be the case for SUPEE-8788 v1 and v2 as well. Also, SUPEE-1533 is included in SUPEE-8788 v2 so when SUPEE-8788 v2 is installed, SUPEE-1533 should automatically be marked as installed as well. \r\n\r\nI don't have implementation ideas yet where to catch this; on tools.hypernode.com would be the best bet probably. Or maybe get John to update/change his sheet?"},"comment":{"url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/comments/256287619","html_url":"https://github.com/Hypernode/tools.hypernode.com/issues/3#issuecomment-256287619","issue_url":"https://api.github.com/repos/Hypernode/tools.hypernode.com/issues/3","id":256287619,"user":{"login":"gwillem","id":1145479,"avatar_url":"https://avatars.githubusercontent.com/u/1145479?v=3","gravatar_id":"","url":"https://api.github.com/users/gwillem","html_url":"https://github.com/gwillem","followers_url":"https://api.github.com/users/gwillem/followers","following_url":"https://api.github.com/users/gwillem/following{/other_user}","gists_url":"https://api.github.com/users/gwillem/gists{/gist_id}","starred_url":"https://api.github.com/users/gwillem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwillem/subscriptions","organizations_url":"https://api.github.com/users/gwillem/orgs","repos_url":"https://api.github.com/users/gwillem/repos","events_url":"https://api.github.com/users/gwillem/events{/privacy}","received_events_url":"https://api.github.com/users/gwillem/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T08:53:05Z","updated_at":"2016-10-26T08:53:05Z","body":"TL;DR: So `tools.hypernode.com` now returns ALL patch revisions again."}}
{"actor":{"display_login":"gwillem"}}