{"action":"created","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/3311","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/3311/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/3311/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/3311/events","html_url":"https://github.com/concrete5/concrete5/issues/3311","id":125728223,"number":3311,"title":"Proposal: Eliminate the `/web` directory","user":{"login":"KorvinSzanto","id":1007419,"avatar_url":"https://avatars.githubusercontent.com/u/1007419?v=3","gravatar_id":"","url":"https://api.github.com/users/KorvinSzanto","html_url":"https://github.com/KorvinSzanto","followers_url":"https://api.github.com/users/KorvinSzanto/followers","following_url":"https://api.github.com/users/KorvinSzanto/following{/other_user}","gists_url":"https://api.github.com/users/KorvinSzanto/gists{/gist_id}","starred_url":"https://api.github.com/users/KorvinSzanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KorvinSzanto/subscriptions","organizations_url":"https://api.github.com/users/KorvinSzanto/orgs","repos_url":"https://api.github.com/users/KorvinSzanto/repos","events_url":"https://api.github.com/users/KorvinSzanto/events{/privacy}","received_events_url":"https://api.github.com/users/KorvinSzanto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concrete5/concrete5/labels/accepted:info%20needed","name":"accepted:info needed","color":"bfe5bf"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/priority:like%20to%20have","name":"priority:like to have","color":"d4c5f9"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/type:rfc","name":"type:rfc","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-09T01:31:35Z","updated_at":"2016-01-09T02:11:11Z","closed_at":null,"body":"If we eliminate the web directory and make our repository root the same directory that we ship `composer.json` with, we can begin to use composer in the way it's meant to be handled.\r\n\r\nSee #1994 #360 \r\n\r\nI've studied the build process and to my eyes all we would need to do is update our paths in `/build` and `/test` and add a few more files to `/git/concrete5/build/tasks/build-release/clean.js`. Those files are:      \r\n\r\n* .git/\r\n* build/\r\n* tests/\r\n* .php_cs\r\n* .travis.yml\r\n* .gitattributes\r\n* .gitignore\r\n* CHANGELOG.md\r\n* CONTRIBUTING.md\r\n* README.md\r\n\r\nPros:\r\n* We can move composer.json to the root and leave the vendor directory where it is\r\n* We can include these extra README.md / CONTRIBUTING.md / CHANGELOG.md files easily\r\n* Our repository will be much easier for new people to navigate\r\n\r\nCons:\r\n* It will be a pain to transition for everyone who is using the repo as the source in the short term, but it'd be quick to fix for anyone who is knowledgable enough to set up the repo in the first place. \r\n\r\n\r\nThoughts? Any more Pros / Cons to list?"},"comment":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/comments/170180741","html_url":"https://github.com/concrete5/concrete5/issues/3311#issuecomment-170180741","issue_url":"https://api.github.com/repos/concrete5/concrete5/issues/3311","id":170180741,"user":{"login":"Mnkras","id":212649,"avatar_url":"https://avatars.githubusercontent.com/u/212649?v=3","gravatar_id":"","url":"https://api.github.com/users/Mnkras","html_url":"https://github.com/Mnkras","followers_url":"https://api.github.com/users/Mnkras/followers","following_url":"https://api.github.com/users/Mnkras/following{/other_user}","gists_url":"https://api.github.com/users/Mnkras/gists{/gist_id}","starred_url":"https://api.github.com/users/Mnkras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mnkras/subscriptions","organizations_url":"https://api.github.com/users/Mnkras/orgs","repos_url":"https://api.github.com/users/Mnkras/repos","events_url":"https://api.github.com/users/Mnkras/events{/privacy}","received_events_url":"https://api.github.com/users/Mnkras/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T02:11:10Z","updated_at":"2016-01-09T02:11:10Z","body":"True, if someone is running off git this will break their install anyway\n(anything not tracked by git is left as is like configs if files)\n\nOn Fri, Jan 8, 2016, 9:08 PM Korvin Szanto <notifications@github.com> wrote:\n\n> @Mnkras <https://github.com/Mnkras> that would work in some cases, but if\n> FollowSymLinks is disabled it won't work. Pretty much anyone who is\n> running off of git will have to pay attention to this.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/concrete5/concrete5/issues/3311#issuecomment-170180084>\n> .\n>\n"}}