{"action":"created","issue":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/390","repository_url":"https://api.github.com/repos/realm/SwiftLint","labels_url":"https://api.github.com/repos/realm/SwiftLint/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/390/comments","events_url":"https://api.github.com/repos/realm/SwiftLint/issues/390/events","html_url":"https://github.com/realm/SwiftLint/issues/390","id":127708374,"number":390,"title":"Distribution through Cocoapods","user":{"login":"nmccann","id":3238769,"avatar_url":"https://avatars.githubusercontent.com/u/3238769?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccann","html_url":"https://github.com/nmccann","followers_url":"https://api.github.com/users/nmccann/followers","following_url":"https://api.github.com/users/nmccann/following{/other_user}","gists_url":"https://api.github.com/users/nmccann/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccann/subscriptions","organizations_url":"https://api.github.com/users/nmccann/orgs","repos_url":"https://api.github.com/users/nmccann/repos","events_url":"https://api.github.com/users/nmccann/events{/privacy}","received_events_url":"https://api.github.com/users/nmccann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-01-20T15:34:08Z","updated_at":"2016-12-03T21:34:28Z","closed_at":null,"body":"Hi,\n\nI've been using SwiftLint for a few days now but found a few problems with how it is installed. A few of the problems (from my perspective):\n- Requires action from new developers (either `brew install` or manually installing package)\n- Difficult to specify a version that should be used\n- Installed globally, which isn't good for shared environments like self-hosted CI (Bamboo). Particularly if you don't have permissions to do such an installation.\n\nI have two suggestions:\n- Provide a zipped copy of the binary and framework along with the package, source etc. that is currently included in each release.\n- Provide a pod spec that would download the binary, similar to what is used by [R.swift](https://github.com/mac-cain13/R.swift)\n\nUsers who aren't interested in using Cocoapods could just directly download the zipped binary for the version they want.\n\nI've got this working with a podspec in a private repo and a zipped binary/framework that I manually generated using `make prefix-install`. Having to do all of that manually isn't ideal though because it makes it harder to maintain. And I feel like other people could benefit from this functionality.\n\nI think this would also partially solve #302 \n\nPlease let me know if there are any issues/concerns with this approach. If there aren't any, I could try to make a PR that handles automatic creation of the zipped binary during the release process.\n\nThanks,\nNoah\n"},"comment":{"url":"https://api.github.com/repos/realm/SwiftLint/issues/comments/264667021","html_url":"https://github.com/realm/SwiftLint/issues/390#issuecomment-264667021","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/390","id":264667021,"user":{"login":"samskiter","id":1271643,"avatar_url":"https://avatars.githubusercontent.com/u/1271643?v=3","gravatar_id":"","url":"https://api.github.com/users/samskiter","html_url":"https://github.com/samskiter","followers_url":"https://api.github.com/users/samskiter/followers","following_url":"https://api.github.com/users/samskiter/following{/other_user}","gists_url":"https://api.github.com/users/samskiter/gists{/gist_id}","starred_url":"https://api.github.com/users/samskiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samskiter/subscriptions","organizations_url":"https://api.github.com/users/samskiter/orgs","repos_url":"https://api.github.com/users/samskiter/repos","events_url":"https://api.github.com/users/samskiter/events{/privacy}","received_events_url":"https://api.github.com/users/samskiter/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T21:34:27Z","updated_at":"2016-12-03T21:34:27Z","body":"Yea that's the same advantage I like - an actual specified version. Plus\nautomating homebrew on ci machines is a pain - you can't install it\nnon-interactively I think\n\nOn Sat, 3 Dec 2016, 12:06 Marcelo Fabri, <notifications@github.com> wrote:\n\n> The main advantage IMO of distributing the binary with CocoaPods is that\n> homebrew doesn't have a way to enforce a certain version. Checking in the\n> binary is an option, but I'd find it much easier to use CocoaPods as\n> SwiftGen does.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/realm/SwiftLint/issues/390#issuecomment-264635407>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABNnW2Ff7yNOWUdCoGeTSG7SkgPTqu-Eks5rEVtDgaJpZM4HIs4n>\n> .\n>\n"}}
{"actor":{"display_login":"samskiter"}}