{"action":"created","issue":{"url":"https://api.github.com/repos/markstory/asset_compress/issues/248","labels_url":"https://api.github.com/repos/markstory/asset_compress/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/markstory/asset_compress/issues/248/comments","events_url":"https://api.github.com/repos/markstory/asset_compress/issues/248/events","html_url":"https://github.com/markstory/asset_compress/issues/248","id":64722808,"number":248,"title":"Symlink file assets (3.0)","user":{"login":"btaens","id":9314728,"avatar_url":"https://avatars.githubusercontent.com/u/9314728?v=3","gravatar_id":"","url":"https://api.github.com/users/btaens","html_url":"https://github.com/btaens","followers_url":"https://api.github.com/users/btaens/followers","following_url":"https://api.github.com/users/btaens/following{/other_user}","gists_url":"https://api.github.com/users/btaens/gists{/gist_id}","starred_url":"https://api.github.com/users/btaens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btaens/subscriptions","organizations_url":"https://api.github.com/users/btaens/orgs","repos_url":"https://api.github.com/users/btaens/repos","events_url":"https://api.github.com/users/btaens/events{/privacy}","received_events_url":"https://api.github.com/users/btaens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/markstory/asset_compress/labels/enhancement","name":"enhancement","color":"cdff94"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-27T09:00:07Z","updated_at":"2015-04-22T12:31:16Z","closed_at":null,"body":"Hey,\r\nThis is an amazing plugin, it has been incredibly useful for asset management for me.\r\nMy work process is the following: I pull all my vendor files (plugins, libraries, etc...) through composer, and the front-end stuff through bower into a publically inaccassible folder.\r\n\r\nAfter that, I compile my files through asset_compress into a single css and javascript file, hence cutting down on the number of requests, and managing exactly what is publically accessible to our users.\r\n\r\nBecause of this, it would be extremely useful to be able to simply specify asset files (images, directories) to symlink, or if that is unavailable, copy to a public directory. With this, it would be possible to precisely manage all assets through asset_compress.ini.\r\n\r\nI was thinking something akin to this:\r\n>**[symlink]**\r\nsource[] = ROOT/vendor/assets/select2/select2.png\r\ndest[] = WEBROOT/img/select2.png\r\nsource[] = ROOT/vendor/assets/bootstrap/fonts\r\ndest[] = WEBROOT/img/fonts/bootstrap"},"comment":{"url":"https://api.github.com/repos/markstory/asset_compress/issues/comments/95157651","html_url":"https://github.com/markstory/asset_compress/issues/248#issuecomment-95157651","issue_url":"https://api.github.com/repos/markstory/asset_compress/issues/248","id":95157651,"user":{"login":"berarma","id":162766,"avatar_url":"https://avatars.githubusercontent.com/u/162766?v=3","gravatar_id":"","url":"https://api.github.com/users/berarma","html_url":"https://github.com/berarma","followers_url":"https://api.github.com/users/berarma/followers","following_url":"https://api.github.com/users/berarma/following{/other_user}","gists_url":"https://api.github.com/users/berarma/gists{/gist_id}","starred_url":"https://api.github.com/users/berarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berarma/subscriptions","organizations_url":"https://api.github.com/users/berarma/orgs","repos_url":"https://api.github.com/users/berarma/repos","events_url":"https://api.github.com/users/berarma/events{/privacy}","received_events_url":"https://api.github.com/users/berarma/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T12:31:16Z","updated_at":"2015-04-22T12:31:16Z","body":"Symlinking isn't the hard work here for me, I manually create the links and commit them to git. I can live with that without problems. The ugly part is having to copy and commit the vendor's library CSS to my repository. If there was a filter that could rewrite image URLs in CSS I'd go with that."}}