{"action":"created","issue":{"url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/2","labels_url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/2/comments","events_url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/2/events","html_url":"https://github.com/johnniewalker/svn-exodus/issues/2","id":94524056,"number":2,"title":"Task: Create the code that creates the 'svn repository text fixture'.","user":{"login":"johnniewalker","id":605112,"avatar_url":"https://avatars.githubusercontent.com/u/605112?v=3","gravatar_id":"","url":"https://api.github.com/users/johnniewalker","html_url":"https://github.com/johnniewalker","followers_url":"https://api.github.com/users/johnniewalker/followers","following_url":"https://api.github.com/users/johnniewalker/following{/other_user}","gists_url":"https://api.github.com/users/johnniewalker/gists{/gist_id}","starred_url":"https://api.github.com/users/johnniewalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnniewalker/subscriptions","organizations_url":"https://api.github.com/users/johnniewalker/orgs","repos_url":"https://api.github.com/users/johnniewalker/repos","events_url":"https://api.github.com/users/johnniewalker/events{/privacy}","received_events_url":"https://api.github.com/users/johnniewalker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/johnniewalker/svn-exodus/labels/task","name":"task","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"johnniewalker","id":605112,"avatar_url":"https://avatars.githubusercontent.com/u/605112?v=3","gravatar_id":"","url":"https://api.github.com/users/johnniewalker","html_url":"https://github.com/johnniewalker","followers_url":"https://api.github.com/users/johnniewalker/followers","following_url":"https://api.github.com/users/johnniewalker/following{/other_user}","gists_url":"https://api.github.com/users/johnniewalker/gists{/gist_id}","starred_url":"https://api.github.com/users/johnniewalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnniewalker/subscriptions","organizations_url":"https://api.github.com/users/johnniewalker/orgs","repos_url":"https://api.github.com/users/johnniewalker/repos","events_url":"https://api.github.com/users/johnniewalker/events{/privacy}","received_events_url":"https://api.github.com/users/johnniewalker/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-12T01:56:23Z","updated_at":"2015-07-12T12:46:02Z","closed_at":null,"body":"## Goal ##\r\n\r\nHave the ability to repeatedly create an extremely simple svn repository to use a test fixture to test the svn-exodus behaviour.\r\n\r\n## Why ##\r\n\r\nWe want a simple svn repository (repo) because it makes sense to test our code against one to ensure the tool works as expected. By creating one specifically for testing purposes we can ensure that it contains just the bare minimum amount of data to test the code without overwhelming us with irrelevant data. \r\n\r\nWe want the creation of this repository to be repeatable so that automated tests have the ability to set-up and tear-down this test fixture. \r\n\r\nAlso, if it the creation process is encoded into some script, that script can act as a document that defines the type of repository we expect to be working with.\r\n\r\n## How ##\r\n\r\n* ~~Pick a language/framework to encode the repository creation process~~ - Done\r\n* ~~Decide the structure of the repo that we want to create~~ - Done\r\n* Write the script\r\n* Test it and commit it to our project.\r\n\r\n-------\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/comments/120718648","html_url":"https://github.com/johnniewalker/svn-exodus/issues/2#issuecomment-120718648","issue_url":"https://api.github.com/repos/johnniewalker/svn-exodus/issues/2","id":120718648,"user":{"login":"johnniewalker","id":605112,"avatar_url":"https://avatars.githubusercontent.com/u/605112?v=3","gravatar_id":"","url":"https://api.github.com/users/johnniewalker","html_url":"https://github.com/johnniewalker","followers_url":"https://api.github.com/users/johnniewalker/followers","following_url":"https://api.github.com/users/johnniewalker/following{/other_user}","gists_url":"https://api.github.com/users/johnniewalker/gists{/gist_id}","starred_url":"https://api.github.com/users/johnniewalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnniewalker/subscriptions","organizations_url":"https://api.github.com/users/johnniewalker/orgs","repos_url":"https://api.github.com/users/johnniewalker/repos","events_url":"https://api.github.com/users/johnniewalker/events{/privacy}","received_events_url":"https://api.github.com/users/johnniewalker/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T12:46:02Z","updated_at":"2015-07-12T12:46:02Z","body":"In order to write the script, I am going to have to know where to put it and also work out where the repo and working directories are going to get created.\r\n\r\nI need some kind of config to, at least, point to the Application Root Parent directory.\r\n\r\nLet' make the application structure something like so:\r\n\r\n```sh\r\ntools/\r\n test-repo-fixture/\r\n  test-repo-fixture.php \r\nappdata/\r\n test-data/\r\n  tmp/\r\nconfig/\r\n application.ini  \r\nREADME.md\r\n```\r\n"}}