{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1486","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1486/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1486/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1486/events","html_url":"https://github.com/serverless/serverless/issues/1486","id":163813472,"number":1486,"title":"Move packaging process into own plugin","user":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/area/plugin-system","name":"area/plugin-system","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/area/resource-management","name":"area/resource-management","color":"fbca04"},{"url":"https://api.github.com/repos/serverless/serverless/labels/discussion","name":"discussion","color":"1d76db"}],"state":"open","locked":false,"assignee":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"assignees":[{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/serverless/serverless/milestones/10","html_url":"https://github.com/serverless/serverless/milestones/%20v1.0.0-alpha.2","labels_url":"https://api.github.com/repos/serverless/serverless/milestones/10/labels","id":1849922,"number":10,"title":" v1.0.0-alpha.2","description":"UI / UX tweaks / Get feedback from users and customers","creator":{"login":"pmuens","id":1606004,"avatar_url":"https://avatars.githubusercontent.com/u/1606004?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuens","html_url":"https://github.com/pmuens","followers_url":"https://api.github.com/users/pmuens/followers","following_url":"https://api.github.com/users/pmuens/following{/other_user}","gists_url":"https://api.github.com/users/pmuens/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuens/subscriptions","organizations_url":"https://api.github.com/users/pmuens/orgs","repos_url":"https://api.github.com/users/pmuens/repos","events_url":"https://api.github.com/users/pmuens/events{/privacy}","received_events_url":"https://api.github.com/users/pmuens/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":21,"state":"open","created_at":"2016-06-27T08:52:29Z","updated_at":"2016-07-13T17:38:30Z","due_on":null,"closed_at":null},"comments":30,"created_at":"2016-07-05T09:57:43Z","updated_at":"2016-07-13T18:47:59Z","closed_at":null,"body":"The packaging process should be moved into an own plugin.\r\n\r\n**Status:**\r\nDone --> See https://github.com/serverless/serverless/pull/1494\r\n\r\n**This includes:**\r\n- [x] Zipping up a whole service\r\n- [x] One service equals one zip file which includes all the necessary code (all functions)\r\n  - [x] Magic handler support will be dropped (as it's not necessary anymore)\r\n- [x] There will be no checksum to check if something has changed\r\n  - The zipped up service will be redeployed every time (this ensure that the build \"will always work\" as no brittle steps as e.g. checksum support will be implemented)\r\n- [x] Possibility to set a path to an own artefact (.zip file) via a definition in the `serverless.yaml` file (e.g. `artefact_path`). This way the deployment plugin will use the user specified artefact and won't zip up everything on it's own\r\n\r\n**Questions:**\r\n- Do we need an own lifecycle in the `deploy` plugin? Or should we use `before:deploy:deploy`?\r\n\r\n**Current implementation:**\r\nThe current implementation can be found in the [`awsDeploy`](https://github.com/serverless/serverless/blob/v1.0/lib/plugins/aws/deploy/lib/deployFunctions.js#L28) plugin.\r\n\r\n**Open issues:**\r\n- DRYrun support should be implemented (The user should be able to specify if he wants to save the Resource template (such as `CloudFormation`) and the .zip file to the file system without deploying it) (moved into own issue: https://github.com/serverless/serverless/issues/1496)\r\n- Automatic excludes based on the used programming language (moved into own issue: https://github.com/serverless/serverless/issues/1495)\r\n  - e.g. exclude `src`, `pom` and `traget` when using Java --> We can define presets which will be automatically applied"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/232450369","html_url":"https://github.com/serverless/serverless/issues/1486#issuecomment-232450369","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1486","id":232450369,"user":{"login":"flomotlik","id":132653,"avatar_url":"https://avatars.githubusercontent.com/u/132653?v=3","gravatar_id":"","url":"https://api.github.com/users/flomotlik","html_url":"https://github.com/flomotlik","followers_url":"https://api.github.com/users/flomotlik/followers","following_url":"https://api.github.com/users/flomotlik/following{/other_user}","gists_url":"https://api.github.com/users/flomotlik/gists{/gist_id}","starred_url":"https://api.github.com/users/flomotlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flomotlik/subscriptions","organizations_url":"https://api.github.com/users/flomotlik/orgs","repos_url":"https://api.github.com/users/flomotlik/repos","events_url":"https://api.github.com/users/flomotlik/events{/privacy}","received_events_url":"https://api.github.com/users/flomotlik/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T18:47:59Z","updated_at":"2016-07-13T18:47:59Z","body":"@erikerikson the main goals are:\r\n\r\n* Faster deployment (because we only have to upload one asset for a service, or at least less than by creating separate packages for each function)\r\n* Easier sharing of code as all code in a service will simply be shared with other functions\r\n* be more service than function focused. We think of functions as part of a service and those functions will have dependencies between each other so sharing code/artefacts between them should most of the time be ok\r\n* Flexibility in creating artefacts so you can create separate artefacts per function, but you don't have to\r\n* Simplicity so people don't have to think what goes into which artefact, they contain everything by default and you simply remove what isn't necessary\r\n\r\n/cc @HyperBrain as well"}}
{"actor":{"display_login":"flomotlik"}}