{"action":"created","issue":{"url":"https://api.github.com/repos/decent-chat/decent/issues/215","repository_url":"https://api.github.com/repos/decent-chat/decent","labels_url":"https://api.github.com/repos/decent-chat/decent/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/decent-chat/decent/issues/215/comments","events_url":"https://api.github.com/repos/decent-chat/decent/issues/215/events","html_url":"https://github.com/decent-chat/decent/issues/215","id":299947616,"number":215,"title":"Future-Proof Server/Client Compatibility","user":{"login":"PullJosh","id":5458180,"avatar_url":"https://avatars0.githubusercontent.com/u/5458180?v=4","gravatar_id":"","url":"https://api.github.com/users/PullJosh","html_url":"https://github.com/PullJosh","followers_url":"https://api.github.com/users/PullJosh/followers","following_url":"https://api.github.com/users/PullJosh/following{/other_user}","gists_url":"https://api.github.com/users/PullJosh/gists{/gist_id}","starred_url":"https://api.github.com/users/PullJosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PullJosh/subscriptions","organizations_url":"https://api.github.com/users/PullJosh/orgs","repos_url":"https://api.github.com/users/PullJosh/repos","events_url":"https://api.github.com/users/PullJosh/events{/privacy}","received_events_url":"https://api.github.com/users/PullJosh/received_events","type":"User","site_admin":false},"labels":[{"id":822652734,"url":"https://api.github.com/repos/decent-chat/decent/labels/conspiracy","name":"conspiracy","color":"575E75","default":false},{"id":767784123,"url":"https://api.github.com/repos/decent-chat/decent/labels/discuss","name":"discuss","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-24T15:11:48Z","updated_at":"2018-02-24T16:19:31Z","closed_at":null,"author_association":"COLLABORATOR","body":"Right now, we only have one server and two clients. If we want to make a change to the API or add a feature, it's relatively simple. We just go in and change all three of them simultaneously.\r\n\r\nHowever, the end goal is to have many different servers and many different clients all working in harmony. Unfortunately, it's a little optimistic to assume that every client and every server will be upgraded after every change is made to the code.\r\n\r\nTo mitigate this issue, I propose two things:\r\n1. **Encourage server updates.** Most likely this would be a notification that appears on the client to logged-in admins, although if we're feeling ambitious, might it be possible to also provide an update button within that notification that does all of the git pulling and lerna building and server running automatically? (No idea if this is feasible.)\r\n2. **Server introspection endpoint.** This would be an API endpoint for showing the server's version number and a list of which features the server supports. Then, if we make a change to the server in the future, we also update the response of that endpoint so that clients can understand exactly how to interact with this particular server.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/decent-chat/decent/issues/comments/368239440","html_url":"https://github.com/decent-chat/decent/issues/215#issuecomment-368239440","issue_url":"https://api.github.com/repos/decent-chat/decent/issues/215","id":368239440,"user":{"login":"towerofnix","id":9948030,"avatar_url":"https://avatars3.githubusercontent.com/u/9948030?v=4","gravatar_id":"","url":"https://api.github.com/users/towerofnix","html_url":"https://github.com/towerofnix","followers_url":"https://api.github.com/users/towerofnix/followers","following_url":"https://api.github.com/users/towerofnix/following{/other_user}","gists_url":"https://api.github.com/users/towerofnix/gists{/gist_id}","starred_url":"https://api.github.com/users/towerofnix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towerofnix/subscriptions","organizations_url":"https://api.github.com/users/towerofnix/orgs","repos_url":"https://api.github.com/users/towerofnix/repos","events_url":"https://api.github.com/users/towerofnix/events{/privacy}","received_events_url":"https://api.github.com/users/towerofnix/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T16:19:31Z","updated_at":"2018-02-24T16:19:31Z","author_association":"COLLABORATOR","body":"@heyitsmeuralex Sounds good. Does this mean that pull requests which target only the client shouldn't have semver labels, since the client's semver depends solely upon the server?"}}
{"actor":{"display_login":"towerofnix"}}