{"action":"created","issue":{"url":"https://api.github.com/repos/github/dmca/issues/612","repository_url":"https://api.github.com/repos/github/dmca","labels_url":"https://api.github.com/repos/github/dmca/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/github/dmca/issues/612/comments","events_url":"https://api.github.com/repos/github/dmca/issues/612/events","html_url":"https://github.com/github/dmca/pull/612","id":138145861,"number":612,"title":"Move files into folders to ease reading","user":{"login":"jeroenvisser101","id":1941348,"avatar_url":"https://avatars.githubusercontent.com/u/1941348?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenvisser101","html_url":"https://github.com/jeroenvisser101","followers_url":"https://api.github.com/users/jeroenvisser101/followers","following_url":"https://api.github.com/users/jeroenvisser101/following{/other_user}","gists_url":"https://api.github.com/users/jeroenvisser101/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenvisser101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenvisser101/subscriptions","organizations_url":"https://api.github.com/users/jeroenvisser101/orgs","repos_url":"https://api.github.com/users/jeroenvisser101/repos","events_url":"https://api.github.com/users/jeroenvisser101/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenvisser101/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-03T11:00:22Z","updated_at":"2016-03-04T09:01:44Z","closed_at":"2016-03-03T17:24:53Z","pull_request":{"url":"https://api.github.com/repos/github/dmca/pulls/612","html_url":"https://github.com/github/dmca/pull/612","diff_url":"https://github.com/github/dmca/pull/612.diff","patch_url":"https://github.com/github/dmca/pull/612.patch"},"body":"*NOTE: I've seen this project doesn't accept PRs, but I do see this as a suggestion towards GitHub for making this repository more useful.*\r\n\r\nFiles were being truncated as the list became longer than 1000 files,\r\nwhich made reading files a real pain. This should account that, and make\r\nbrowsing them a lot easier.\r\n\r\n![](https://www.dropbox.com/s/gaa6enn8ojp1n04/Screenshot%202016-03-03%2011.58.03.png?dl=1)"},"comment":{"url":"https://api.github.com/repos/github/dmca/issues/comments/192192661","html_url":"https://github.com/github/dmca/pull/612#issuecomment-192192661","issue_url":"https://api.github.com/repos/github/dmca/issues/612","id":192192661,"user":{"login":"jeroenvisser101","id":1941348,"avatar_url":"https://avatars.githubusercontent.com/u/1941348?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenvisser101","html_url":"https://github.com/jeroenvisser101","followers_url":"https://api.github.com/users/jeroenvisser101/followers","following_url":"https://api.github.com/users/jeroenvisser101/following{/other_user}","gists_url":"https://api.github.com/users/jeroenvisser101/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenvisser101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenvisser101/subscriptions","organizations_url":"https://api.github.com/users/jeroenvisser101/orgs","repos_url":"https://api.github.com/users/jeroenvisser101/repos","events_url":"https://api.github.com/users/jeroenvisser101/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenvisser101/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T09:01:44Z","updated_at":"2016-03-04T09:01:44Z","body":"@jessephus – thanks for replying so quickly! I understand the issue at hand. I might have some suggestions for solving it as well:\r\n\r\n1. Create a new branch, not called `master` (e.g. `restructured`), and make it default. If I'm correct, all urls refer to `.../blob/master/...`, so those will still refer to the old files, whereas people visiting this repo again will see the new branch and get new urls.\r\n2. Possibly the same system that redirects users when a repository/org is renamed, can be used for redirecting these files, but that might have some side-effects. Apart from that, this might be fairly fault-tolerant since it would require manually inserting these into the database, which seems tricky to me."}}