{"action":"created","issue":{"url":"https://api.github.com/repos/loic-sharma/BaGet/issues/104","repository_url":"https://api.github.com/repos/loic-sharma/BaGet","labels_url":"https://api.github.com/repos/loic-sharma/BaGet/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/loic-sharma/BaGet/issues/104/comments","events_url":"https://api.github.com/repos/loic-sharma/BaGet/issues/104/events","html_url":"https://github.com/loic-sharma/BaGet/pull/104","id":365527123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NDI2ODE4","number":104,"title":"Fix index versions and urls; add tests","user":{"login":"tomzo","id":5710970,"node_id":"MDQ6VXNlcjU3MTA5NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/5710970?v=4","gravatar_id":"","url":"https://api.github.com/users/tomzo","html_url":"https://github.com/tomzo","followers_url":"https://api.github.com/users/tomzo/followers","following_url":"https://api.github.com/users/tomzo/following{/other_user}","gists_url":"https://api.github.com/users/tomzo/gists{/gist_id}","starred_url":"https://api.github.com/users/tomzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomzo/subscriptions","organizations_url":"https://api.github.com/users/tomzo/orgs","repos_url":"https://api.github.com/users/tomzo/repos","events_url":"https://api.github.com/users/tomzo/events{/privacy}","received_events_url":"https://api.github.com/users/tomzo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-01T15:52:42Z","updated_at":"2018-10-04T04:40:26Z","closed_at":"2018-10-04T04:40:17Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/loic-sharma/BaGet/pulls/104","html_url":"https://github.com/loic-sharma/BaGet/pull/104","diff_url":"https://github.com/loic-sharma/BaGet/pull/104.diff","patch_url":"https://github.com/loic-sharma/BaGet/pull/104.patch"},"body":"`/Versioned` looks like a leftover and this is definitely not the right version in any of the endpoints.\r\nThese changes were enough to fix paket install and update.\r\n\r\n### What does this PR do?\r\n\r\n * Changes versions of resources in `index.json` to 3.0.0.\r\n * Adds trailing `/` in `PackageBaseAddress` and `RegistrationsBaseUrl` which were causing issues in paket too.\r\n\r\n### Motivation\r\n\r\nCurrently running paket install or update would fail with\r\n```\r\nGetPackageDetails failed: System.Exception: Couldn't get package details for package baget-test1 1.0.0 on http://baget:9090/v3/index.json. ---> System.AggregateException: One or more errors occurred. ---> System.Exception: could not find an PackageIndex endpoint for http://baget:9090/v3/index.json\r\n```\r\nWhich is caused by resource names in `index.json` being `RegistrationsBaseUrl/Versioned` rather than something like `RegistrationsBaseUrl/3.4.0`.\r\n\r\nThis is not passing all e2e tests yet."},"comment":{"url":"https://api.github.com/repos/loic-sharma/BaGet/issues/comments/426883192","html_url":"https://github.com/loic-sharma/BaGet/pull/104#issuecomment-426883192","issue_url":"https://api.github.com/repos/loic-sharma/BaGet/issues/104","id":426883192,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjg4MzE5Mg==","user":{"login":"loic-sharma","id":737941,"node_id":"MDQ6VXNlcjczNzk0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/737941?v=4","gravatar_id":"","url":"https://api.github.com/users/loic-sharma","html_url":"https://github.com/loic-sharma","followers_url":"https://api.github.com/users/loic-sharma/followers","following_url":"https://api.github.com/users/loic-sharma/following{/other_user}","gists_url":"https://api.github.com/users/loic-sharma/gists{/gist_id}","starred_url":"https://api.github.com/users/loic-sharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loic-sharma/subscriptions","organizations_url":"https://api.github.com/users/loic-sharma/orgs","repos_url":"https://api.github.com/users/loic-sharma/repos","events_url":"https://api.github.com/users/loic-sharma/events{/privacy}","received_events_url":"https://api.github.com/users/loic-sharma/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T04:40:26Z","updated_at":"2018-10-04T04:40:26Z","author_association":"OWNER","body":"Thanks @tomzo :)"}}
{"actor":{"display_login":"loic-sharma"}}