{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/x-common/issues/269","repository_url":"https://api.github.com/repos/exercism/x-common","labels_url":"https://api.github.com/repos/exercism/x-common/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/exercism/x-common/issues/269/comments","events_url":"https://api.github.com/repos/exercism/x-common/issues/269/events","html_url":"https://github.com/exercism/x-common/issues/269","id":159782698,"number":269,"title":"Reorganize the x-common files","user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-11T17:01:03Z","updated_at":"2016-06-12T14:21:31Z","closed_at":null,"body":"At the moment all of the files are in the root directory, and this is getting pretty unweildy.\r\n\r\nI'd like to suggest that we move to the following structure:\r\n\r\n```\r\n.\r\n.\r\n└── exercises\r\n    ├── bob\r\n    │   ├── data.json\r\n    │   ├── description.md\r\n    │   └── metadata.yaml\r\n    ├── clock\r\n    │   ├── data.json\r\n    │   ├── description.md\r\n    │   └── metadata.yaml\r\n    └── ... etc ...\r\n```\r\n\r\nThis will allow us to have additional files for any of the problems, should we wish to do so (e.g. some way of deprecating the problem).\r\n\r\nThis will, however, cause a bit of extra work:\r\n\r\n- Any generators that use the `:slug.json` to create the test suite will need to be adjusted.\r\n- The x-api (problems API) will need to look for the metadata files in the new location.\r\n- If we have other tools that use the metadata directly from x-common rather than going through the x-api, then we'll need to update those as well. I can't think of any.\r\n"},"comment":{"url":"https://api.github.com/repos/exercism/x-common/issues/comments/225437677","html_url":"https://github.com/exercism/x-common/issues/269#issuecomment-225437677","issue_url":"https://api.github.com/repos/exercism/x-common/issues/269","id":225437677,"user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":true},"created_at":"2016-06-12T14:21:30Z","updated_at":"2016-06-12T14:21:30Z","body":"Separate directories would make it easier to see/view/manage, but parsing might get more complicated since we'll have to look in two places as long as there are language tracks that have deprecated exercises."}}
{"actor":{"display_login":"kytrinyx"}}