{"action":"created","issue":{"url":"https://api.github.com/repos/korobi/Web/issues/215","labels_url":"https://api.github.com/repos/korobi/Web/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/korobi/Web/issues/215/comments","events_url":"https://api.github.com/repos/korobi/Web/issues/215/events","html_url":"https://github.com/korobi/Web/pull/215","id":108555332,"number":215,"title":"Support Windows and support for skipping provisioning","user":{"login":"bionicrm","id":5958957,"avatar_url":"https://avatars.githubusercontent.com/u/5958957?v=3","gravatar_id":"","url":"https://api.github.com/users/bionicrm","html_url":"https://github.com/bionicrm","followers_url":"https://api.github.com/users/bionicrm/followers","following_url":"https://api.github.com/users/bionicrm/following{/other_user}","gists_url":"https://api.github.com/users/bionicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/bionicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bionicrm/subscriptions","organizations_url":"https://api.github.com/users/bionicrm/orgs","repos_url":"https://api.github.com/users/bionicrm/repos","events_url":"https://api.github.com/users/bionicrm/events{/privacy}","received_events_url":"https://api.github.com/users/bionicrm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/korobi/Web/labels/status:%20pending%20review","name":"status: pending review","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-27T19:13:56Z","updated_at":"2015-09-30T19:11:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/korobi/Web/pulls/215","html_url":"https://github.com/korobi/Web/pull/215","diff_url":"https://github.com/korobi/Web/pull/215.diff","patch_url":"https://github.com/korobi/Web/pull/215.patch"},"body":"Vagrant breaks for Windows users because of Ansible not supporting the OS, which is used for provisioning. If configured, the box on Atlas will be downloaded and used (without provisioning) so that Windows users and anyone who often uses `vagrant destroy -f; vagrant up` can skip the provisioning process.\r\n\r\nSkipping the provisioning process really only means that changes to the Ansible roles will not be used right away. However, these updates should simply be packaged in a box and uploaded to Atlas, and then the latest updates will be downloaded by the user with `vagrant box update`.\r\n\r\n~~Additionally, the sort-of unrelated commit regarding NPM is necessary because it seems to sometimes run out of memory if it needs to download packages again. The new task just provides it the packages it needs to install instead of reading from packages.json. This is *probably* a flaw in NPM.~~"},"comment":{"url":"https://api.github.com/repos/korobi/Web/issues/comments/144510334","html_url":"https://github.com/korobi/Web/pull/215#issuecomment-144510334","issue_url":"https://api.github.com/repos/korobi/Web/issues/215","id":144510334,"user":{"login":"Zarthus","id":3660408,"avatar_url":"https://avatars.githubusercontent.com/u/3660408?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarthus","html_url":"https://github.com/Zarthus","followers_url":"https://api.github.com/users/Zarthus/followers","following_url":"https://api.github.com/users/Zarthus/following{/other_user}","gists_url":"https://api.github.com/users/Zarthus/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarthus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarthus/subscriptions","organizations_url":"https://api.github.com/users/Zarthus/orgs","repos_url":"https://api.github.com/users/Zarthus/repos","events_url":"https://api.github.com/users/Zarthus/events{/privacy}","received_events_url":"https://api.github.com/users/Zarthus/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T19:11:41Z","updated_at":"2015-09-30T19:11:41Z","body":"```\r\n$ vagrant destroy -f ; vagrant up\r\n==> default: Forcing shutdown of VM...\r\n==> default: Destroying VM and associated drives...\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==> default: Box 'bionicrm/korobi-web' could not be found. Attempting to find and install...\r\n    default: Box Provider: virtualbox\r\n    default: Box Version: >= 0\r\n==> default: Loading metadata for box 'bionicrm/korobi-web'\r\n    default: URL: https://atlas.hashicorp.com/bionicrm/korobi-web\r\n==> default: Adding box 'bionicrm/korobi-web' (v1.0.0) for provider: virtualbox\r\n    default: Downloading: https://atlas.hashicorp.com/bionicrm/boxes/korobi-web/versions/1.0.0/providers/virtualbox.box\r\n    default:\r\n==> default: Successfully added box 'bionicrm/korobi-web' (v1.0.0) for 'virtualbox'!\r\n==> default: Importing base box 'bionicrm/korobi-web'...\r\n==> default: Matching MAC address for NAT networking...\r\n==> default: Checking if box 'bionicrm/korobi-web' is up to date...\r\n==> default: Setting the name of the VM: korobi_web_vagrant\r\n==> default: Clearing any previously set network interfaces...\r\n==> default: Preparing network interfaces based on configuration...\r\n    default: Adapter 1: nat\r\n    default: Adapter 2: hostonly\r\n==> default: Forwarding ports...\r\n    default: 22 => 2222 (adapter 1)\r\n==> default: Running 'pre-boot' VM customizations...\r\n==> default: Booting VM...\r\n==> default: Waiting for machine to boot. This may take a few minutes...\r\n    default: SSH address: 127.0.0.1:2222\r\n    default: SSH username: vagrant\r\n    default: SSH auth method: private key\r\n    default: Warning: Connection timeout. Retrying...\r\n==> default: Machine booted and ready!\r\n==> default: Checking for guest additions in VM...\r\n    default: The guest additions on this VM do not match the installed version of\r\n    default: VirtualBox! In most cases this is fine, but in rare cases it can\r\n    default: prevent things such as shared folders from working properly. If you see\r\n    default: shared folder errors, please make sure the guest additions within the\r\n    default: virtual machine match the version of VirtualBox you have installed on\r\n    default: your host and reload your VM.\r\n    default:\r\n    default: Guest Additions Version: 4.3.10\r\n    default: VirtualBox Version: 5.0\r\n==> default: Setting hostname...\r\n==> default: Configuring and enabling network interfaces...\r\n==> default: Mounting shared folders...\r\n    default: /home/vagrant/site => D:/Software/Development/git/www/askorobiweb\r\n\r\n```\r\n\r\nNot sure about the permissions, are the shell scripts not +x? composer seems to work fine.\r\n```\r\nvagrant@korobi:~/site$ ls -la | gist\r\nhttps://gist.github.com/5222f5952596ac33c561\r\n```\r\n\r\n```\r\n  - Installing symfony/symfony (2.8.x-dev c6e5830)\r\n    Cloning c6e5830a964844761dbb2df2a2cb2b49b6f6d15e\r\n    Failed to download symfony/symfony from source: The process \"git clone --no-checkout 'git://github.com/symfony/symfony.git' '/home/vagrant/site/vendor/symfony/symfony' && cd '/home/vagrant/site/vendor/symfony/symfony' && git remote add composer 'git://github.com/symfony/symfony.git' && git fetch composer\" exceeded the timeout of 300 seconds.\r\n    Now trying to download from dist\r\n  - Installing symfony/symfony (2.8.x-dev c6e5830)\r\n\r\n\r\n\r\n  [RuntimeException]\r\n  Could not delete /home/vagrant/site/vendor/symfony/symfony/.git/objects/pack/tmp_pack_G3xeqk:\r\n```\r\n\r\nManual instructions (wiki) will need to be added to ensure `composer install` is ran - and whatever else may seem relevant, as your box can't take care of that part.\r\n\r\nfor the rest it seems to work"}}