{"action":"created","issue":{"url":"https://api.github.com/repos/bustle/shep/issues/307","repository_url":"https://api.github.com/repos/bustle/shep","labels_url":"https://api.github.com/repos/bustle/shep/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/bustle/shep/issues/307/comments","events_url":"https://api.github.com/repos/bustle/shep/issues/307/events","html_url":"https://github.com/bustle/shep/issues/307","id":270007845,"number":307,"title":"Feature Request: Support semver build artifacts","user":{"login":"redterror","id":131319,"avatar_url":"https://avatars3.githubusercontent.com/u/131319?v=4","gravatar_id":"","url":"https://api.github.com/users/redterror","html_url":"https://github.com/redterror","followers_url":"https://api.github.com/users/redterror/followers","following_url":"https://api.github.com/users/redterror/following{/other_user}","gists_url":"https://api.github.com/users/redterror/gists{/gist_id}","starred_url":"https://api.github.com/users/redterror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redterror/subscriptions","organizations_url":"https://api.github.com/users/redterror/orgs","repos_url":"https://api.github.com/users/redterror/repos","events_url":"https://api.github.com/users/redterror/events{/privacy}","received_events_url":"https://api.github.com/users/redterror/received_events","type":"User","site_admin":false},"labels":[{"id":254930532,"url":"https://api.github.com/repos/bustle/shep/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"redterror","id":131319,"avatar_url":"https://avatars3.githubusercontent.com/u/131319?v=4","gravatar_id":"","url":"https://api.github.com/users/redterror","html_url":"https://github.com/redterror","followers_url":"https://api.github.com/users/redterror/followers","following_url":"https://api.github.com/users/redterror/following{/other_user}","gists_url":"https://api.github.com/users/redterror/gists{/gist_id}","starred_url":"https://api.github.com/users/redterror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redterror/subscriptions","organizations_url":"https://api.github.com/users/redterror/orgs","repos_url":"https://api.github.com/users/redterror/repos","events_url":"https://api.github.com/users/redterror/events{/privacy}","received_events_url":"https://api.github.com/users/redterror/received_events","type":"User","site_admin":false},"assignees":[{"login":"redterror","id":131319,"avatar_url":"https://avatars3.githubusercontent.com/u/131319?v=4","gravatar_id":"","url":"https://api.github.com/users/redterror","html_url":"https://github.com/redterror","followers_url":"https://api.github.com/users/redterror/followers","following_url":"https://api.github.com/users/redterror/following{/other_user}","gists_url":"https://api.github.com/users/redterror/gists{/gist_id}","starred_url":"https://api.github.com/users/redterror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redterror/subscriptions","organizations_url":"https://api.github.com/users/redterror/orgs","repos_url":"https://api.github.com/users/redterror/repos","events_url":"https://api.github.com/users/redterror/events{/privacy}","received_events_url":"https://api.github.com/users/redterror/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-10-31T15:40:11Z","updated_at":"2017-10-31T16:19:22Z","closed_at":null,"author_association":"NONE","body":"Currently shep's build artifacts are keyed by build sha, which is great for uniqueness.  For human consumption it'd be nice to also optionally support semver for artifacts, based on the version in package.json.  Something like:\r\n\r\n```\r\n$ jq -r .version package.json\r\n1.0.0\r\n$ shep deploy --semver-artifacts --overwrite\r\n```\r\n\r\nWould create `foo-1.0.0.zip` artifacts, and overwrite them if they exist already.  If `--overwrite` was omitted and the key existed, an error would be thrown.\r\n\r\nIt likely also makes sense to tag the semver-key'ed object with the build sha to provide an immutable link to a git commit."},"comment":{"url":"https://api.github.com/repos/bustle/shep/issues/comments/340816673","html_url":"https://github.com/bustle/shep/issues/307#issuecomment-340816673","issue_url":"https://api.github.com/repos/bustle/shep/issues/307","id":340816673,"user":{"login":"reconbot","id":25966,"avatar_url":"https://avatars2.githubusercontent.com/u/25966?v=4","gravatar_id":"","url":"https://api.github.com/users/reconbot","html_url":"https://github.com/reconbot","followers_url":"https://api.github.com/users/reconbot/followers","following_url":"https://api.github.com/users/reconbot/following{/other_user}","gists_url":"https://api.github.com/users/reconbot/gists{/gist_id}","starred_url":"https://api.github.com/users/reconbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reconbot/subscriptions","organizations_url":"https://api.github.com/users/reconbot/orgs","repos_url":"https://api.github.com/users/reconbot/repos","events_url":"https://api.github.com/users/reconbot/events{/privacy}","received_events_url":"https://api.github.com/users/reconbot/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T16:19:21Z","updated_at":"2017-10-31T16:19:21Z","author_association":"OWNER","body":"Current behavior is broken iirc\n\nOn Tue, Oct 31, 2017 at 12:05 PM, Dave Steinberg <notifications@github.com>\nwrote:\n\n> I had guessed the least surprising thing was to only push the semver\n> artifact if the flag was passed. I'm open to it being supplemental and not\n> binary if you think that has advantages.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/bustle/shep/issues/307#issuecomment-340812153>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AABlbuE5v4yw6OPz2BcEc7COXHC6lJ8Gks5sx0VagaJpZM4QM9Co>\n> .\n>\n\n\n\n-- \nFrancis Gulotta\nVP of Engineering\nBustle.com / @bustlelabs\n"}}
{"actor":{"display_login":"reconbot"}}