{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/3119","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/3119/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/3119/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/3119/events","html_url":"https://github.com/openlayers/ol3/issues/3119","id":54146137,"number":3119,"title":"Bower repository","user":{"login":"hastebrot","id":496255,"avatar_url":"https://avatars.githubusercontent.com/u/496255?v=3","gravatar_id":"","url":"https://api.github.com/users/hastebrot","html_url":"https://github.com/hastebrot","followers_url":"https://api.github.com/users/hastebrot/followers","following_url":"https://api.github.com/users/hastebrot/following{/other_user}","gists_url":"https://api.github.com/users/hastebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hastebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hastebrot/subscriptions","organizations_url":"https://api.github.com/users/hastebrot/orgs","repos_url":"https://api.github.com/users/hastebrot/repos","events_url":"https://api.github.com/users/hastebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hastebrot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-13T03:14:48Z","updated_at":"2015-01-19T13:14:23Z","closed_at":null,"body":"Hi!\r\n\r\nI've searched for a Bower repository that provides a pre-build ol3 distribution and found https://github.com/nd0ut/ol3-bower and https://github.com/Yann29/bower-ol3 so far. Unfortunately both are outdated and one provides to much files (API docs, examples, ...). I decided to add the official release zip file to my `bower.json`. But this will use a lot of space (more than 100 MB) in `bower_components`.\r\n\r\n~~~json\r\n{\r\n  \"name\": \"ol3-demo\",\r\n  \"version\": \"0.0.0\",\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"ol3\": \"https://github.com/openlayers/ol3/releases/download/v3.1.1/v3.1.1.zip\"\r\n  }\r\n}\r\n~~~\r\n\r\nSo I'm up to provide ol3 releases for Bower myself. From the best practices I so far saw in the wild I think this repository should be named `ol3-dist` and contain a `bower.json`, the `LICENSE.md` from `openlayers/ol3` and a `README.md` describing how to use it in Bower. It should also contain the directory `dist` with the JavaScript and CSS files taken from the official release zip. Maybe I'll rename these files to `ol.js`, `ol.min.js`, `ol.css` and `ol.min.css` to more resemble \"best practices\". New releases to Bower should be automated, so I will also work a bit on that.\r\n\r\nMy question is, if someone is interested in officially providing a Bower distribution under the `openlayers` GitHub organization.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/70490275","html_url":"https://github.com/openlayers/ol3/issues/3119#issuecomment-70490275","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/3119","id":70490275,"user":{"login":"hastebrot","id":496255,"avatar_url":"https://avatars.githubusercontent.com/u/496255?v=3","gravatar_id":"","url":"https://api.github.com/users/hastebrot","html_url":"https://github.com/hastebrot","followers_url":"https://api.github.com/users/hastebrot/followers","following_url":"https://api.github.com/users/hastebrot/following{/other_user}","gists_url":"https://api.github.com/users/hastebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hastebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hastebrot/subscriptions","organizations_url":"https://api.github.com/users/hastebrot/orgs","repos_url":"https://api.github.com/users/hastebrot/repos","events_url":"https://api.github.com/users/hastebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hastebrot/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T13:14:23Z","updated_at":"2015-01-19T13:14:23Z","body":"I've put an experimental Bower distribution to https://github.com/hastebrot/ol3-dist. \r\n\r\nThe idea is to put the distributions into a separate Git repository. I don't know much about the `bower install` process, but suspect Bower fetches the whole source code via GitHub archive functionality and removes the files that are marked as ignored in `bower.json`. This would mean it downloads the whole distribution, unpacks it and removes the files, which causes a lot of network traffic, thus the slimed down distribution in a separate repository."}}