{"action":"created","issue":{"url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/190","repository_url":"https://api.github.com/repos/ubclaunchpad/inertia","labels_url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/190/comments","events_url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/190/events","html_url":"https://github.com/ubclaunchpad/inertia/pull/190","id":320537574,"number":190,"title":"Client package rework","user":{"login":"bobheadxi","id":23356519,"avatar_url":"https://avatars2.githubusercontent.com/u/23356519?v=4","gravatar_id":"","url":"https://api.github.com/users/bobheadxi","html_url":"https://github.com/bobheadxi","followers_url":"https://api.github.com/users/bobheadxi/followers","following_url":"https://api.github.com/users/bobheadxi/following{/other_user}","gists_url":"https://api.github.com/users/bobheadxi/gists{/gist_id}","starred_url":"https://api.github.com/users/bobheadxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobheadxi/subscriptions","organizations_url":"https://api.github.com/users/bobheadxi/orgs","repos_url":"https://api.github.com/users/bobheadxi/repos","events_url":"https://api.github.com/users/bobheadxi/events{/privacy}","received_events_url":"https://api.github.com/users/bobheadxi/received_events","type":"User","site_admin":false},"labels":[{"id":781336873,"url":"https://api.github.com/repos/ubclaunchpad/inertia/labels/status:%20ready%20for%20review%20:+1:","name":"status: ready for review :+1:","color":"45b707","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-05T20:03:46Z","updated_at":"2018-05-06T19:37:35Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ubclaunchpad/inertia/pulls/190","html_url":"https://github.com/ubclaunchpad/inertia/pull/190","diff_url":"https://github.com/ubclaunchpad/inertia/pull/190.diff","patch_url":"https://github.com/ubclaunchpad/inertia/pull/190.patch"},"body":":tickets: **Ticket(s)**: Closes #140 \r\n\r\n---\r\n\r\n## :construction_worker: Changes\r\n\r\n- Consolidated as much functionality as possible under the new `client.Client` class (formerly `client.Deployment`), most notably bootstrapping and setup\r\n\r\n- Simplified `client.SSHRunner` and bootstrapping stuff\r\n\r\n- Separated all hard CLI stuff (writing/reading from files, etc) is now just in `main`, mostly under `storage.go`\r\n\r\n- Some new `New`-ers to make things a bit cleaner, see this in `client/README.md`:\r\n\r\n```go\r\nimport \"github.com/ubclaunchpad/inertia/client\"\r\n\r\n\r\nimport \"github.com/ubclaunchpad/inertia/client\"\r\n\r\nfunc main() {\r\n    // Set up Inertia\r\n    config := client.NewConfig(\r\n        \"0.3.0\", \"inertia-deploy-test\", \"docker-compose\",\r\n    )\r\n    \r\n    // Add your remote\r\n    config.AddRemote(&client.RemoteVPS{\r\n        Name: \"gcloud\", // ...params\r\n    })\r\n\r\n    // Set up client, remote, and deploy your project\r\n    cli, _ := client.NewClient(\"gcloud\", config)\r\n    cli.BootstrapRemote()\r\n    cli.Up(\"git@github.com:ubclaunchpad/inertia.git\", \"\", false)\r\n}\r\n```\r\n\r\n## :flashlight: Testing Instructions\r\n\r\n```\r\nmake test\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/comments/386907425","html_url":"https://github.com/ubclaunchpad/inertia/pull/190#issuecomment-386907425","issue_url":"https://api.github.com/repos/ubclaunchpad/inertia/issues/190","id":386907425,"user":{"login":"bobheadxi","id":23356519,"avatar_url":"https://avatars2.githubusercontent.com/u/23356519?v=4","gravatar_id":"","url":"https://api.github.com/users/bobheadxi","html_url":"https://github.com/bobheadxi","followers_url":"https://api.github.com/users/bobheadxi/followers","following_url":"https://api.github.com/users/bobheadxi/following{/other_user}","gists_url":"https://api.github.com/users/bobheadxi/gists{/gist_id}","starred_url":"https://api.github.com/users/bobheadxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobheadxi/subscriptions","organizations_url":"https://api.github.com/users/bobheadxi/orgs","repos_url":"https://api.github.com/users/bobheadxi/repos","events_url":"https://api.github.com/users/bobheadxi/events{/privacy}","received_events_url":"https://api.github.com/users/bobheadxi/received_events","type":"User","site_admin":false},"created_at":"2018-05-06T19:37:34Z","updated_at":"2018-05-06T19:37:34Z","author_association":"MEMBER","body":"I'm putting this PR on hold until #191 goes through"}}
{"actor":{"display_login":"bobheadxi"}}