{"action":"created","issue":{"url":"https://api.github.com/repos/dlang/dub-registry/issues/231","repository_url":"https://api.github.com/repos/dlang/dub-registry","labels_url":"https://api.github.com/repos/dlang/dub-registry/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/dlang/dub-registry/issues/231/comments","events_url":"https://api.github.com/repos/dlang/dub-registry/issues/231/events","html_url":"https://github.com/dlang/dub-registry/pull/231","id":242682192,"node_id":"MDExOlB1bGxSZXF1ZXN0MTMwMzU2NjIw","number":231,"title":"Add deploy on Heroku (via badge)","user":{"login":"wilzbach","id":4370550,"node_id":"MDQ6VXNlcjQzNzA1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4370550?v=4","gravatar_id":"","url":"https://api.github.com/users/wilzbach","html_url":"https://github.com/wilzbach","followers_url":"https://api.github.com/users/wilzbach/followers","following_url":"https://api.github.com/users/wilzbach/following{/other_user}","gists_url":"https://api.github.com/users/wilzbach/gists{/gist_id}","starred_url":"https://api.github.com/users/wilzbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilzbach/subscriptions","organizations_url":"https://api.github.com/users/wilzbach/orgs","repos_url":"https://api.github.com/users/wilzbach/repos","events_url":"https://api.github.com/users/wilzbach/events{/privacy}","received_events_url":"https://api.github.com/users/wilzbach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-07-13T12:21:07Z","updated_at":"2018-07-05T11:56:17Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/dlang/dub-registry/pulls/231","html_url":"https://github.com/dlang/dub-registry/pull/231","diff_url":"https://github.com/dlang/dub-registry/pull/231.diff","patch_url":"https://github.com/dlang/dub-registry/pull/231.patch"},"body":"So I am publicly experimenting with a \"Deploy on Heroku badge\" to simplify deployment for new mirrors (and do a bit of dog-fooding on the way).\r\nI managed to get the app to start on Heroku, but currently it still fails with:\r\n\r\n```\r\n2017-07-13T12:15:06.389476+00:00 heroku[web.1]: Starting process with command `./dub-registry --port 5199 --mirror=https://code.dlang.org`\r\n2017-07-13T12:15:10.288494+00:00 app[web.1]: Enforcing certificate trust.\r\n2017-07-13T12:15:10.370178+00:00 app[web.1]: MongoDB reply was longer than expected, skipping the rest: 105 vs. 36\r\n2017-07-13T12:15:10.370495+00:00 app[web.1]: object.Exception@../../app/.dub/packages/vibe-d-0.8.0-beta.8/vibe-d/mongodb/vibe/db/mongo/cursor.d(318): Query failed.\r\n2017-07-13T12:15:10.370805+00:00 app[web.1]: ----------------\r\n2017-07-13T12:15:10.370826+00:00 app[web.1]: ??:? [0x6d19ee]\r\n2017-07-13T12:15:10.370851+00:00 app[web.1]: ??:? [0x6d7a52]\r\n2017-07-13T12:15:10.370918+00:00 app[web.1]: ??:? [0x4e144b]\r\n2017-07-13T12:15:10.370931+00:00 app[web.1]: ??:? [0x466f95]\r\n2017-07-13T12:15:10.370933+00:00 app[web.1]: ??:? [0x4700ed]\r\n2017-07-13T12:15:10.370951+00:00 app[web.1]: ??:? [0x46722f]\r\n2017-07-13T12:15:10.370954+00:00 app[web.1]: ??:? [0x466eec]\r\n2017-07-13T12:15:10.370968+00:00 app[web.1]: ??:? [0x46698a]\r\n2017-07-13T12:15:10.370971+00:00 app[web.1]: ??:? [0x421779]\r\n2017-07-13T12:15:10.370985+00:00 app[web.1]: ??:? [0x421433]\r\n2017-07-13T12:15:10.370988+00:00 app[web.1]: ??:? [0x4cb892]\r\n2017-07-13T12:15:10.371003+00:00 app[web.1]: ??:? [0x6ddefe]\r\n2017-07-13T12:15:10.371006+00:00 app[web.1]: ??:? [0x6ddebd]\r\n2017-07-13T12:15:10.371268+00:00 app[web.1]: ??:? __libc_start_main [0x20ff482f]\r\n2017-07-13T12:15:10.371022+00:00 app[web.1]: ??:? [0x6dddb8]\r\n2017-07-13T12:15:10.371286+00:00 app[web.1]: ??:? [0x4074a8]\r\n2017-07-13T12:15:10.477784+00:00 heroku[web.1]: Process exited with status 1\r\n2017-07-13T12:15:10.489833+00:00 heroku[web.1]: State changed from starting to crashed\r\n```\r\n\r\nI will comment on the invidividual fixes needed so far.\r\nThis can be reproduced locally, by checking out this branch and then pushing it to Heroku:\r\n\r\n```\r\nheroku create\r\nheroku buildpacks:add http://github.com/MartinNowak/heroku-buildpack-d.git \r\ngit push heroku\r\n```\r\n\r\n(huge thanks to Martin's awesome buildpack)"},"comment":{"url":"https://api.github.com/repos/dlang/dub-registry/issues/comments/402698372","html_url":"https://github.com/dlang/dub-registry/pull/231#issuecomment-402698372","issue_url":"https://api.github.com/repos/dlang/dub-registry/issues/231","id":402698372,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjY5ODM3Mg==","user":{"login":"wilzbach","id":4370550,"node_id":"MDQ6VXNlcjQzNzA1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/4370550?v=4","gravatar_id":"","url":"https://api.github.com/users/wilzbach","html_url":"https://github.com/wilzbach","followers_url":"https://api.github.com/users/wilzbach/followers","following_url":"https://api.github.com/users/wilzbach/following{/other_user}","gists_url":"https://api.github.com/users/wilzbach/gists{/gist_id}","starred_url":"https://api.github.com/users/wilzbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilzbach/subscriptions","organizations_url":"https://api.github.com/users/wilzbach/orgs","repos_url":"https://api.github.com/users/wilzbach/repos","events_url":"https://api.github.com/users/wilzbach/events{/privacy}","received_events_url":"https://api.github.com/users/wilzbach/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T11:56:17Z","updated_at":"2018-07-05T11:56:17Z","author_association":"MEMBER","body":"Finally figured it out and it's working -> https://dub-registry-staging.herokuapp.com\r\nTravis will fail for now as Vibe.d doesn't work with 2.081 (https://github.com/vibe-d/vibe.d/issues/2181)"}}
{"actor":{"display_login":"wilzbach"}}