{"action":"created","issue":{"url":"https://api.github.com/repos/davenuman/bowline/issues/11","labels_url":"https://api.github.com/repos/davenuman/bowline/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/davenuman/bowline/issues/11/comments","events_url":"https://api.github.com/repos/davenuman/bowline/issues/11/events","html_url":"https://github.com/davenuman/bowline/issues/11","id":59172863,"number":11,"title":"Conform to a more typical file structure","user":{"login":"davenuman","id":644041,"avatar_url":"https://avatars.githubusercontent.com/u/644041?v=3","gravatar_id":"","url":"https://api.github.com/users/davenuman","html_url":"https://github.com/davenuman","followers_url":"https://api.github.com/users/davenuman/followers","following_url":"https://api.github.com/users/davenuman/following{/other_user}","gists_url":"https://api.github.com/users/davenuman/gists{/gist_id}","starred_url":"https://api.github.com/users/davenuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davenuman/subscriptions","organizations_url":"https://api.github.com/users/davenuman/orgs","repos_url":"https://api.github.com/users/davenuman/repos","events_url":"https://api.github.com/users/davenuman/events{/privacy}","received_events_url":"https://api.github.com/users/davenuman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"davenuman","id":644041,"avatar_url":"https://avatars.githubusercontent.com/u/644041?v=3","gravatar_id":"","url":"https://api.github.com/users/davenuman","html_url":"https://github.com/davenuman","followers_url":"https://api.github.com/users/davenuman/followers","following_url":"https://api.github.com/users/davenuman/following{/other_user}","gists_url":"https://api.github.com/users/davenuman/gists{/gist_id}","starred_url":"https://api.github.com/users/davenuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davenuman/subscriptions","organizations_url":"https://api.github.com/users/davenuman/orgs","repos_url":"https://api.github.com/users/davenuman/repos","events_url":"https://api.github.com/users/davenuman/events{/privacy}","received_events_url":"https://api.github.com/users/davenuman/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-02-27T01:06:37Z","updated_at":"2015-02-27T17:16:34Z","closed_at":null,"body":"The existing file layout simply ended up the way it is during initial development. After review, it would be sensible to clean things up and follow a more expected organization.\r\n\r\nHere is a draft new file layout:\r\n\r\n```\r\nbin/activate # Replaces scripts/include.bash. Have it alter PS1 and PATH, and add deactivate alias\r\nbin/build # Just build on it's own\r\nbin/import # Does what \"build import\" does now\r\nbin/run # Run tests\r\nbin/sync-db # Sync DB\r\nlib/bowline/bowline\r\n```\r\nThis would allow for project specific scripts to be added as `bin/foo` and such.\r\n\r\nThe scripts in `bin` would make use of functions located in `lib/bowline/bowline`. Code within scripts/build and scripts/run would be re-factored into this file as functions. The `lib/bowline` part could then be non-project customizable, and hence upgradable.\r\n\r\n(Thanks @grugnog for suggesting these changes.)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davenuman/bowline/issues/comments/76432102","html_url":"https://github.com/davenuman/bowline/issues/11#issuecomment-76432102","issue_url":"https://api.github.com/repos/davenuman/bowline/issues/11","id":76432102,"user":{"login":"kostajh","id":208893,"avatar_url":"https://avatars.githubusercontent.com/u/208893?v=3","gravatar_id":"","url":"https://api.github.com/users/kostajh","html_url":"https://github.com/kostajh","followers_url":"https://api.github.com/users/kostajh/followers","following_url":"https://api.github.com/users/kostajh/following{/other_user}","gists_url":"https://api.github.com/users/kostajh/gists{/gist_id}","starred_url":"https://api.github.com/users/kostajh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostajh/subscriptions","organizations_url":"https://api.github.com/users/kostajh/orgs","repos_url":"https://api.github.com/users/kostajh/repos","events_url":"https://api.github.com/users/kostajh/events{/privacy}","received_events_url":"https://api.github.com/users/kostajh/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T17:16:34Z","updated_at":"2015-02-27T17:16:34Z","body":"@davenuman true. But it does handle the installation / updates of this package in a more or less standardized way. As an aside I don't think the script commands would even need to be rewritten in PHP. But yes, folks would have to install composer."}}