{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/902","repository_url":"https://api.github.com/repos/phalcon/phalcon-devtools","labels_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/902/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/902/comments","events_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/902/events","html_url":"https://github.com/phalcon/phalcon-devtools/pull/902","id":184923907,"number":902,"title":"Allow 'simple' project template 'url' service to understand non-root project paths.","user":{"login":"dschissler","id":3968727,"avatar_url":"https://avatars.githubusercontent.com/u/3968727?v=3","gravatar_id":"","url":"https://api.github.com/users/dschissler","html_url":"https://github.com/dschissler","followers_url":"https://api.github.com/users/dschissler/followers","following_url":"https://api.github.com/users/dschissler/following{/other_user}","gists_url":"https://api.github.com/users/dschissler/gists{/gist_id}","starred_url":"https://api.github.com/users/dschissler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschissler/subscriptions","organizations_url":"https://api.github.com/users/dschissler/orgs","repos_url":"https://api.github.com/users/dschissler/repos","events_url":"https://api.github.com/users/dschissler/events{/privacy}","received_events_url":"https://api.github.com/users/dschissler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-24T18:51:55Z","updated_at":"2016-10-24T19:50:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/pulls/902","html_url":"https://github.com/phalcon/phalcon-devtools/pull/902","diff_url":"https://github.com/phalcon/phalcon-devtools/pull/902.diff","patch_url":"https://github.com/phalcon/phalcon-devtools/pull/902.patch"},"body":"The issue is that dev tools templates only understand being in the root directory of a web space or vhost and this is never the case in my projects.  One downside of this pull request is that now the ini config doesn't match the normal one but I don't see how this can be done with an ini file.  Its still no worse for ini then it was so it will just be a different flavor.\r\n\r\n* This should handle Windows and Unix path separators.\r\n* This only changes the `simple` template and later I will add the `modules` fix as well (but I'm having much more serious issues with `modules` at the moment)."},"comment":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/comments/255846102","html_url":"https://github.com/phalcon/phalcon-devtools/pull/902#issuecomment-255846102","issue_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/902","id":255846102,"user":{"login":"dschissler","id":3968727,"avatar_url":"https://avatars.githubusercontent.com/u/3968727?v=3","gravatar_id":"","url":"https://api.github.com/users/dschissler","html_url":"https://github.com/dschissler","followers_url":"https://api.github.com/users/dschissler/followers","following_url":"https://api.github.com/users/dschissler/following{/other_user}","gists_url":"https://api.github.com/users/dschissler/gists{/gist_id}","starred_url":"https://api.github.com/users/dschissler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschissler/subscriptions","organizations_url":"https://api.github.com/users/dschissler/orgs","repos_url":"https://api.github.com/users/dschissler/repos","events_url":"https://api.github.com/users/dschissler/events{/privacy}","received_events_url":"https://api.github.com/users/dschissler/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T19:50:12Z","updated_at":"2016-10-24T19:50:12Z","body":"I wasn't aware that there are other static configs than the Ini one.\r\n\r\nIt can be done individually if I understand your question but consider the following realistic scenario:\r\n\r\nJoe just setup his Windows WAMP environment from an exe and he barely knows what he is doing.  He creates a directory `phalcon_projects` off of the webspace and then he creates a project named `test`.  Well now all internal URLs are broken because the \"url\" service doesn't consider the first path `phalcon_projects/`.\r\n\r\nNot to mention that it is a pain in the ass in my little projects and it creates unnecessary steps.  Someone could always go in and hard code a path in the config if they want to do so later."}}
{"actor":{"display_login":"dschissler"}}