{"action":"created","issue":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/33","repository_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk","labels_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/33/comments","events_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/33/events","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/33","id":194112579,"number":33,"title":"Pre-push stages","user":{"login":"jackTheRipper","id":367236,"avatar_url":"https://avatars.githubusercontent.com/u/367236?v=3","gravatar_id":"","url":"https://api.github.com/users/jackTheRipper","html_url":"https://github.com/jackTheRipper","followers_url":"https://api.github.com/users/jackTheRipper/followers","following_url":"https://api.github.com/users/jackTheRipper/following{/other_user}","gists_url":"https://api.github.com/users/jackTheRipper/gists{/gist_id}","starred_url":"https://api.github.com/users/jackTheRipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackTheRipper/subscriptions","organizations_url":"https://api.github.com/users/jackTheRipper/orgs","repos_url":"https://api.github.com/users/jackTheRipper/repos","events_url":"https://api.github.com/users/jackTheRipper/events{/privacy}","received_events_url":"https://api.github.com/users/jackTheRipper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},"assignees":[{"login":"fahad19","id":20046,"avatar_url":"https://avatars.githubusercontent.com/u/20046?v=3","gravatar_id":"","url":"https://api.github.com/users/fahad19","html_url":"https://github.com/fahad19","followers_url":"https://api.github.com/users/fahad19/followers","following_url":"https://api.github.com/users/fahad19/following{/other_user}","gists_url":"https://api.github.com/users/fahad19/gists{/gist_id}","starred_url":"https://api.github.com/users/fahad19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahad19/subscriptions","organizations_url":"https://api.github.com/users/fahad19/orgs","repos_url":"https://api.github.com/users/fahad19/repos","events_url":"https://api.github.com/users/fahad19/events{/privacy}","received_events_url":"https://api.github.com/users/fahad19/received_events","type":"User","site_admin":false},{"login":"mAiNiNfEcTiOn","id":1002056,"avatar_url":"https://avatars.githubusercontent.com/u/1002056?v=3","gravatar_id":"","url":"https://api.github.com/users/mAiNiNfEcTiOn","html_url":"https://github.com/mAiNiNfEcTiOn","followers_url":"https://api.github.com/users/mAiNiNfEcTiOn/followers","following_url":"https://api.github.com/users/mAiNiNfEcTiOn/following{/other_user}","gists_url":"https://api.github.com/users/mAiNiNfEcTiOn/gists{/gist_id}","starred_url":"https://api.github.com/users/mAiNiNfEcTiOn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mAiNiNfEcTiOn/subscriptions","organizations_url":"https://api.github.com/users/mAiNiNfEcTiOn/orgs","repos_url":"https://api.github.com/users/mAiNiNfEcTiOn/repos","events_url":"https://api.github.com/users/mAiNiNfEcTiOn/events{/privacy}","received_events_url":"https://api.github.com/users/mAiNiNfEcTiOn/received_events","type":"User","site_admin":false},{"login":"alexmiranda","id":1031418,"avatar_url":"https://avatars.githubusercontent.com/u/1031418?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmiranda","html_url":"https://github.com/alexmiranda","followers_url":"https://api.github.com/users/alexmiranda/followers","following_url":"https://api.github.com/users/alexmiranda/following{/other_user}","gists_url":"https://api.github.com/users/alexmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmiranda/subscriptions","organizations_url":"https://api.github.com/users/alexmiranda/orgs","repos_url":"https://api.github.com/users/alexmiranda/repos","events_url":"https://api.github.com/users/alexmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/alexmiranda/received_events","type":"User","site_admin":false},{"login":"markvincze","id":1122274,"avatar_url":"https://avatars.githubusercontent.com/u/1122274?v=3","gravatar_id":"","url":"https://api.github.com/users/markvincze","html_url":"https://github.com/markvincze","followers_url":"https://api.github.com/users/markvincze/followers","following_url":"https://api.github.com/users/markvincze/following{/other_user}","gists_url":"https://api.github.com/users/markvincze/gists{/gist_id}","starred_url":"https://api.github.com/users/markvincze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markvincze/subscriptions","organizations_url":"https://api.github.com/users/markvincze/orgs","repos_url":"https://api.github.com/users/markvincze/repos","events_url":"https://api.github.com/users/markvincze/events{/privacy}","received_events_url":"https://api.github.com/users/markvincze/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-07T17:24:06Z","updated_at":"2016-12-09T10:29:29Z","closed_at":"2016-12-09T10:29:29Z","pull_request":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/pulls/33","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/33","diff_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/33.diff","patch_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/33.patch"},"body":"**Do**\r\n\r\nThe pull request add two new properties to the app.manifest.\r\n\r\n1. tests: \r\n\r\nRepresentation:\r\n\r\n```javascript\r\n {\r\n  /* ... your stuff */\r\n  \"tests\": [\r\n    {\r\n       \"name\": \"unit-tests\",\r\n       \"cmd\": \"npm run tests\"\r\n    }\r\n  ]\r\n  /* ... your other stuff */\r\n }\r\n```\r\n\r\nThe property \"tests\" is an array of Stage. Each Stage must be independent. The stage are ran in parallel before \"zappification\" of the widget.\r\n\r\nIf one fail it kills the command executed (push, watch ...)\r\n\r\n*TO-THINK* maybe a --no-verify flag ?\r\n\r\n2. build:\r\n\r\n Representation:\r\n\r\n```javascript\r\n {\r\n  /* ... your stuff */\r\n  \"build\": [\r\n    {\r\n       \"name\": \"unit-tests\",\r\n       \"cmd\": \"npm run tests\"\r\n    }\r\n  ]\r\n  /* ... your other stuff */\r\n }\r\n```\r\n\r\nSuch as the tests, the build is an array of independent stages. They are ran at the same time.\r\n\r\n*TO-THINK* How to manage the generated bundle? Maybe defining an entry point"},"comment":{"url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/comments/265982293","html_url":"https://github.com/Travix-International/Travix.Core.Adk/pull/33#issuecomment-265982293","issue_url":"https://api.github.com/repos/Travix-International/Travix.Core.Adk/issues/33","id":265982293,"user":{"login":"jackTheRipper","id":367236,"avatar_url":"https://avatars.githubusercontent.com/u/367236?v=3","gravatar_id":"","url":"https://api.github.com/users/jackTheRipper","html_url":"https://github.com/jackTheRipper","followers_url":"https://api.github.com/users/jackTheRipper/followers","following_url":"https://api.github.com/users/jackTheRipper/following{/other_user}","gists_url":"https://api.github.com/users/jackTheRipper/gists{/gist_id}","starred_url":"https://api.github.com/users/jackTheRipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackTheRipper/subscriptions","organizations_url":"https://api.github.com/users/jackTheRipper/orgs","repos_url":"https://api.github.com/users/jackTheRipper/repos","events_url":"https://api.github.com/users/jackTheRipper/events{/privacy}","received_events_url":"https://api.github.com/users/jackTheRipper/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T10:29:29Z","updated_at":"2016-12-09T10:29:29Z","body":"I close this PR and open another one from the origin instead of my fork"}}
{"actor":{"display_login":"jackTheRipper"}}