{"action":"created","issue":{"url":"https://api.github.com/repos/tailhook/vagga/issues/477","repository_url":"https://api.github.com/repos/tailhook/vagga","labels_url":"https://api.github.com/repos/tailhook/vagga/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/tailhook/vagga/issues/477/comments","events_url":"https://api.github.com/repos/tailhook/vagga/issues/477/events","html_url":"https://github.com/tailhook/vagga/issues/477","id":282845953,"number":477,"title":"Moving containers out of project dir","user":{"login":"nlyubchich","id":14866607,"avatar_url":"https://avatars2.githubusercontent.com/u/14866607?v=4","gravatar_id":"","url":"https://api.github.com/users/nlyubchich","html_url":"https://github.com/nlyubchich","followers_url":"https://api.github.com/users/nlyubchich/followers","following_url":"https://api.github.com/users/nlyubchich/following{/other_user}","gists_url":"https://api.github.com/users/nlyubchich/gists{/gist_id}","starred_url":"https://api.github.com/users/nlyubchich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlyubchich/subscriptions","organizations_url":"https://api.github.com/users/nlyubchich/orgs","repos_url":"https://api.github.com/users/nlyubchich/repos","events_url":"https://api.github.com/users/nlyubchich/events{/privacy}","received_events_url":"https://api.github.com/users/nlyubchich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-18T11:24:44Z","updated_at":"2017-12-18T13:46:36Z","closed_at":"2017-12-18T12:17:04Z","author_association":"NONE","body":"Is there a way not to store containers in project's directory, maybe somewhere at `~/.vagga`?\r\n\r\nUse case:\r\nMy team uses Intellij IDEA-based IDE, that **by default** indexes all nested directories in project' dir including `.vagga/`.\r\n\r\nIf user forgot to exclude container folder from indexing, IDEA just hangs up (just in case hardware isn't old)."},"comment":{"url":"https://api.github.com/repos/tailhook/vagga/issues/comments/352429611","html_url":"https://github.com/tailhook/vagga/issues/477#issuecomment-352429611","issue_url":"https://api.github.com/repos/tailhook/vagga/issues/477","id":352429611,"user":{"login":"tailhook","id":321799,"avatar_url":"https://avatars3.githubusercontent.com/u/321799?v=4","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T13:46:36Z","updated_at":"2017-12-18T13:46:36Z","author_association":"OWNER","body":"Well, #279 not exactly for this problem.\r\n\r\n> Also I suppose (didn't use them for a long time) that IDE-like text editors (atom, sublime) are also trying to index the .vagga/\r\n\r\nIt's hard to fix bug in every software project in vagga itself. We are already fixing bugs in yarn, slowness in dpkg, caching in every other package managers, and so on.\r\n\r\nAnd I haven't heard such problems with any other editor yet.\r\n\r\nOn the other hand, if you can't make symlink, you can't also:\r\n1. Look at the container contents in `.vagga/container_name`\r\n2. Point your IDE to the modules in `.vagga/container_name/usr/lib/python3`\r\n\r\n(that is apart from technical problems, like, how is vagga supposed to find directory that belongs to this project, a using a text file instead of symlink?)\r\n\r\nAnother thing to consider:\r\n> If user forgot to exclude container folder from indexing, IDEA just hangs up\r\n\r\nIt's definitely a problem with IDEA's UI. If it indexes for a long time it's okay, but why it hangs up? Also most of the time `node_modules` in typical project are much larger (in number of files) than typical ubuntu container (without node_modules). So I think IDEA either indexes directories twice by following every symlink to a same container, or tries to read files that aren't files (i.e. pipes). This is just a guess, though.\r\n\r\n> P.S. A little off-topic. I use Vagga for it's write system once, run anywhere ideology (git clone && vagga run ), but it doesn't fully correspond to reality: wanna use Vagga? Here's .vagga.yaml that enables all the nice stuff like mirror prioritizing\r\n\r\nUnfortunately, ubuntu can't choose good mirror by itself. Its default crashes too much. It's hard to fix without rewriting half of apt-get :(\r\n\r\n> and hard linking the same binaries in containers.\r\n\r\nThis is an expert feature. You don't need it to start. You need it when you have lots of large containers. It might be enabled by default in the future, thought.\r\n\r\n> also don't forget to exclude .vagga from indexing by your lovely text editor).\r\n\r\nDo you file an issue into `git` to ignore your `.idea` and `.vagga` directories?\r\n\r\n> but it's why webpack's now is the JS build system of choice.\r\n\r\nNot sure it's relevant, but webpack is not a good example of ease of configuration :)"}}
{"actor":{"display_login":"tailhook"}}