{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/685","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/685/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/685/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/685/events","html_url":"https://github.com/sandstorm-io/sandstorm/pull/685","id":100710332,"number":685,"title":"WIP app index with `spk publish` command.","user":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T07:58:27Z","updated_at":"2015-08-17T12:34:52Z","closed_at":"2015-08-14T17:02:29Z","pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/685","html_url":"https://github.com/sandstorm-io/sandstorm/pull/685","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/685.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/685.patch"},"body":"The app index is itself a Sandstorm app. It presents an API through which apps can be submitted (with the new `spk publish` being the client to this API) and presents a review interface to the admin. Once apps are approved, they are published via web publishing such that the app market client can download and display the index, and Sandstorm servers can install packages from the index.\r\n\r\nCurrently `spk publish` only works with a webkey pointing to an app index instance, but once we have a standard one up we'll embed the webkey directly into the spk source code.\r\n\r\nThis code is generally not done and is kind of messy at present, but it basically works."},"comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments/131800376","html_url":"https://github.com/sandstorm-io/sandstorm/pull/685#issuecomment-131800376","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/685","id":131800376,"user":{"login":"paulproteus","id":25457,"avatar_url":"https://avatars.githubusercontent.com/u/25457?v=3","gravatar_id":"","url":"https://api.github.com/users/paulproteus","html_url":"https://github.com/paulproteus","followers_url":"https://api.github.com/users/paulproteus/followers","following_url":"https://api.github.com/users/paulproteus/following{/other_user}","gists_url":"https://api.github.com/users/paulproteus/gists{/gist_id}","starred_url":"https://api.github.com/users/paulproteus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulproteus/subscriptions","organizations_url":"https://api.github.com/users/paulproteus/orgs","repos_url":"https://api.github.com/users/paulproteus/repos","events_url":"https://api.github.com/users/paulproteus/events{/privacy}","received_events_url":"https://api.github.com/users/paulproteus/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T12:34:52Z","updated_at":"2015-08-17T12:34:52Z","body":"non-showstopper-comment:\n\nI'd personally prefer to have an app for Sandstorm not live in the\nSandstorm repo, if possible.\n\nIf it's best to have it live in the Sandstorm repo, I'd prefer to see a\ndirectory called bundled-apps/ and see the app in there. I've watched a lot\nof people look at new codebases for the first time, so this suggestion\ncomes from my opinions on how to minimally confuse new prospective\ncontributors to Sandstorm, as well as just minimizing \"ls\" noise for me the\nnext time we add a bundled app.\n\nOther prospective bundled apps probably include powerbox backend apps, so I\nthink it's possible we'd see a few more apps in that directory.\n"}}