{"action":"created","issue":{"url":"https://api.github.com/repos/occiware/OCCInterface/issues/3","repository_url":"https://api.github.com/repos/occiware/OCCInterface","labels_url":"https://api.github.com/repos/occiware/OCCInterface/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/occiware/OCCInterface/issues/3/comments","events_url":"https://api.github.com/repos/occiware/OCCInterface/issues/3/events","html_url":"https://github.com/occiware/OCCInterface/issues/3","id":172153460,"number":3,"title":"Add the \"dist\" directory to the .gitignore","user":{"login":"vincent-zurczak","id":1104790,"avatar_url":"https://avatars.githubusercontent.com/u/1104790?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-zurczak","html_url":"https://github.com/vincent-zurczak","followers_url":"https://api.github.com/users/vincent-zurczak/followers","following_url":"https://api.github.com/users/vincent-zurczak/following{/other_user}","gists_url":"https://api.github.com/users/vincent-zurczak/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-zurczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-zurczak/subscriptions","organizations_url":"https://api.github.com/users/vincent-zurczak/orgs","repos_url":"https://api.github.com/users/vincent-zurczak/repos","events_url":"https://api.github.com/users/vincent-zurczak/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-zurczak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-19T15:09:35Z","updated_at":"2016-08-20T18:53:18Z","closed_at":null,"body":"The build result should not be part of the repository. Given its name, I guess it is what **dist** aims at.\r\nThere are other solutions to share JS applications.\r\n\r\nI recently worked on Swagger UI, and they had chosen the same solution.\r\nBy removing the \"dist\" directory from the history, my fork's size dropped from 60 Mb to about 6 Mb."},"comment":{"url":"https://api.github.com/repos/occiware/OCCInterface/issues/comments/241217197","html_url":"https://github.com/occiware/OCCInterface/issues/3#issuecomment-241217197","issue_url":"https://api.github.com/repos/occiware/OCCInterface/issues/3","id":241217197,"user":{"login":"vincent-zurczak","id":1104790,"avatar_url":"https://avatars.githubusercontent.com/u/1104790?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-zurczak","html_url":"https://github.com/vincent-zurczak","followers_url":"https://api.github.com/users/vincent-zurczak/followers","following_url":"https://api.github.com/users/vincent-zurczak/following{/other_user}","gists_url":"https://api.github.com/users/vincent-zurczak/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-zurczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-zurczak/subscriptions","organizations_url":"https://api.github.com/users/vincent-zurczak/orgs","repos_url":"https://api.github.com/users/vincent-zurczak/repos","events_url":"https://api.github.com/users/vincent-zurczak/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-zurczak/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T18:53:18Z","updated_at":"2016-08-20T18:53:18Z","body":"0.25 Mb x N = many Mb :smiling_imp: \r\n\r\nYou could automate minification and the build proces with tools, such as [Gulp](http://gulpjs.com/).\r\nThen, uploading the distribution can be done with a script file by the CI (Travis here). If the project aims at being hosted by [OW2](https://www.ow2.org), then you can ask them for a server. Otherwise, binaries could be hosted by [Bintray](https://bintray.com/).\r\n\r\nYou can also [attach binaries to Github releases](https://github.com/blog/1547-release-your-software).\r\nIn that case, you do not need anything else. Snapshot builds do not need to be available, only releases. It is the best and most simple solution IMO."}}
{"actor":{"display_login":"vincent-zurczak"}}