{"action":"created","issue":{"url":"https://api.github.com/repos/shyiko/jabba/issues/206","repository_url":"https://api.github.com/repos/shyiko/jabba","labels_url":"https://api.github.com/repos/shyiko/jabba/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/shyiko/jabba/issues/206/comments","events_url":"https://api.github.com/repos/shyiko/jabba/issues/206/events","html_url":"https://github.com/shyiko/jabba/issues/206","id":327346180,"number":206,"title":"adpot-versions not working","user":{"login":"bmhm","id":1413391,"avatar_url":"https://avatars0.githubusercontent.com/u/1413391?v=4","gravatar_id":"","url":"https://api.github.com/users/bmhm","html_url":"https://github.com/bmhm","followers_url":"https://api.github.com/users/bmhm/followers","following_url":"https://api.github.com/users/bmhm/following{/other_user}","gists_url":"https://api.github.com/users/bmhm/gists{/gist_id}","starred_url":"https://api.github.com/users/bmhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmhm/subscriptions","organizations_url":"https://api.github.com/users/bmhm/orgs","repos_url":"https://api.github.com/users/bmhm/repos","events_url":"https://api.github.com/users/bmhm/events{/privacy}","received_events_url":"https://api.github.com/users/bmhm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T14:28:52Z","updated_at":"2018-05-29T17:02:50Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have several problems installing adopt and adopt-openj9.\r\nAlso, aliases are not set property.\r\n\r\n# adpot alias\r\n\r\n## Given\r\n\r\n```\r\njabba ls-remote \"adopt@\"  --latest minor\r\nadopt@1.10.0-23\r\nadopt@1.9.0-181\r\nadopt@1.8.172-11\r\n```\r\n\r\n## When\r\n\r\njabba install adopt@1.9\r\n\r\n## Expected\r\n\r\n(Installation)\r\n\r\n## Actual\r\n compatible version found for adopt@1.9\r\n\r\n# adopt install\r\n\r\n## Given\r\n`jabba install adopt@1.9.0-181`\r\n\r\n## Expected \r\n\r\n(Install successfull)\r\n\r\n## Actual outcome\r\n\r\n```\r\n$ jabba install adopt@1.9.0-181\r\nDownloading adopt@1.9.0-181 (https://github.com/AdoptOpenJDK/openjdk9-releases/releases/download/jdk-9%2B181/OpenJDK9_x64_Linux_jdk-9.181.tar.gz)                                                                                                                              \r\n129195/-1                                                                                                                                                                                                                                                                      \r\nExtracting /tmp/jabba-d-750752711 to $USER/.jabba/jdk/adopt@1.9.0-181                                                                                                                                                                                                  \r\ngzip: invalid header\r\n```\r\n\r\nSame for adopt-openj9@*\r\n\r\n# alias of adopt-openj9\r\n\r\n## Given\r\n\r\n```\r\njabba ls-remote \"adopt-openj9@\"\r\nadopt-openj9@1.9.0-181\r\nadopt-openj9@1.8.162-12\r\n```\r\n\r\n## When\r\n\r\n`jabba install adopt-openj9@1.9`\r\n\r\n## Expected\r\n\r\n(Install)\r\n\r\n## Actual outcome\r\n\r\n```\r\nNo compatible version found for adopt-openj9@1.9\r\nValid install targets:\r\n```"},"comment":{"url":"https://api.github.com/repos/shyiko/jabba/issues/comments/392855511","html_url":"https://github.com/shyiko/jabba/issues/206#issuecomment-392855511","issue_url":"https://api.github.com/repos/shyiko/jabba/issues/206","id":392855511,"user":{"login":"shyiko","id":370176,"avatar_url":"https://avatars1.githubusercontent.com/u/370176?v=4","gravatar_id":"","url":"https://api.github.com/users/shyiko","html_url":"https://github.com/shyiko","followers_url":"https://api.github.com/users/shyiko/followers","following_url":"https://api.github.com/users/shyiko/following{/other_user}","gists_url":"https://api.github.com/users/shyiko/gists{/gist_id}","starred_url":"https://api.github.com/users/shyiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyiko/subscriptions","organizations_url":"https://api.github.com/users/shyiko/orgs","repos_url":"https://api.github.com/users/shyiko/repos","events_url":"https://api.github.com/users/shyiko/events{/privacy}","received_events_url":"https://api.github.com/users/shyiko/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T17:02:50Z","updated_at":"2018-05-29T17:02:50Z","author_association":"OWNER","body":"Hi Ben.\r\n\r\n> `jabba install adopt@1.9.0-181`\r\n\r\nIt looks like @adoptopenjdk nuked all [openjdk9](https://api.adoptopenjdk.net/openjdk9/releases)/[openjdk9-openj9](https://api.adoptopenjdk.net/openjdk9-openj9/releases) and [openjdk10](https://api.adoptopenjdk.net/openjdk10/releases) releases. \r\nSee https://twitter.com/adoptopenjdk/status/998522425691332608.\r\n\r\n> `jabba install adopt@1.9` / `jabba install adopt-openj9@1.9`\r\n\r\nThe reason these don't work is because jabba is using semver ranges to match available versions. All AdoptOpenJDK builds are marked as \"pre-release\"s (they have `-N` suffix) (per https://adoptopenjdk.net notice). `jabba install adopt@1.9-0` / `jabba install adopt-openj9@1.9-0` should work (1.9-0 is interpreted as ~1.9-0) (when AdoptOpenJDK builds are re-uploaded, that is). \r\n"}}
{"actor":{"display_login":"shyiko"}}