{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/561","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/561/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/561/events","html_url":"https://github.com/mawww/kakoune/pull/561","id":127887122,"number":561,"title":"Move some scripts to an `extra` repository","user":{"login":"lenormf","id":1379068,"avatar_url":"https://avatars.githubusercontent.com/u/1379068?v=3","gravatar_id":"","url":"https://api.github.com/users/lenormf","html_url":"https://github.com/lenormf","followers_url":"https://api.github.com/users/lenormf/followers","following_url":"https://api.github.com/users/lenormf/following{/other_user}","gists_url":"https://api.github.com/users/lenormf/gists{/gist_id}","starred_url":"https://api.github.com/users/lenormf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenormf/subscriptions","organizations_url":"https://api.github.com/users/lenormf/orgs","repos_url":"https://api.github.com/users/lenormf/repos","events_url":"https://api.github.com/users/lenormf/events{/privacy}","received_events_url":"https://api.github.com/users/lenormf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-21T10:00:25Z","updated_at":"2016-01-27T14:36:45Z","closed_at":"2016-01-27T14:36:45Z","pull_request":{"url":"https://api.github.com/repos/mawww/kakoune/pulls/561","html_url":"https://github.com/mawww/kakoune/pull/561","diff_url":"https://github.com/mawww/kakoune/pull/561.diff","patch_url":"https://github.com/mawww/kakoune/pull/561.patch"},"body":"Hi,\r\n\r\nKakoune has gained a lot of traction lately, and more and more people contribute to the codebase on a regular basis. That's a great thing, however I feel like the `rc` directory (that contains scripts that implement features, highlight files/languages etc) has become bloated: everyone has a different use for their favorite editor, would like some things to be supported, and their contributions have been made available to everyone through that `rc` directory.\r\n\r\nKakoune is a minimalist editor and does not aim at becoming a full blown integrated development environment (the decision to let user make symlinks in their `autoload` nudged me into that direction anyway), and as such I propose that some scripts that provide support for arguably less popular/more esoteric /things/ be moved to an entirely seperate repository. This would have several advantages:\r\n* prevent the distribution packages to ship lots of scripts that might not be wanted\r\n* decentralize maintainance of 2nd category scripts (unless @mawww is fine with handling both)\r\n* allow users that have custom scripts that are not elligible for a merge with the official repository to easily deploy them (who would be merged in the `extra` repository)\r\n\r\nThis commit moves a few files from the `rc` directory to another repository that would be available through the `rc-extra` submodule, which means that it would be as easy as updating said submodule and add symlinks to the wanted scripts in the `autoload` directory to have scripts autoloaded. Or even copy the scripts to the `autoload` directory. As for distribution packages, I suppose they could just copy all the scripts to `/usr/share/kak/rc`, and seamlessly allow users to symlink those files to their `autoload` directory.\r\n\r\nRight now the `rc-extra` submodule points at a repository on my own :octocat:github profile, but the ownership of said repo can be transfered to anybody who wants to maintain it (I can do it, unless someone/@mawww wants it more).\r\n\r\nSee #516."},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/175659329","html_url":"https://github.com/mawww/kakoune/pull/561#issuecomment-175659329","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/561","id":175659329,"user":{"login":"lenormf","id":1379068,"avatar_url":"https://avatars.githubusercontent.com/u/1379068?v=3","gravatar_id":"","url":"https://api.github.com/users/lenormf","html_url":"https://github.com/lenormf","followers_url":"https://api.github.com/users/lenormf/followers","following_url":"https://api.github.com/users/lenormf/following{/other_user}","gists_url":"https://api.github.com/users/lenormf/gists{/gist_id}","starred_url":"https://api.github.com/users/lenormf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenormf/subscriptions","organizations_url":"https://api.github.com/users/lenormf/orgs","repos_url":"https://api.github.com/users/lenormf/repos","events_url":"https://api.github.com/users/lenormf/events{/privacy}","received_events_url":"https://api.github.com/users/lenormf/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T14:36:45Z","updated_at":"2016-01-27T14:36:45Z","body":">In other words, I think its better to ask the advanced users to setup their config (by autoloading whatever they want) than to ask newcomers to get a second repository if they want some extra bells and whistles.\r\n\r\nEven though I agree with this, creating subdirectories in the `rc` directory is unrelated to the issue that this pull request is supposed to fix -an ever growing amount of scripts that will be shipped and installed on users' system regardless of what their use for kakoune is, and preventing users from recoding something that might have been made already.\r\n\r\nInstalling an additional package is the simplest possible way of doing this (and a consensus adopted by several other projects to split up core plugins/components/etc with the rest), we're going to end up a hundred scripts installed by default."}}