{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/4667","repository_url":"https://api.github.com/repos/Microsoft/pxt","labels_url":"https://api.github.com/repos/Microsoft/pxt/issues/4667/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt/issues/4667/comments","events_url":"https://api.github.com/repos/Microsoft/pxt/issues/4667/events","html_url":"https://github.com/Microsoft/pxt/issues/4667","id":359449738,"node_id":"MDU6SXNzdWUzNTk0NDk3Mzg=","number":4667,"title":"Subdirectory files destroyed with github editing","user":{"login":"pelikhan","id":4175913,"node_id":"MDQ6VXNlcjQxNzU5MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/4175913?v=4","gravatar_id":"","url":"https://api.github.com/users/pelikhan","html_url":"https://github.com/pelikhan","followers_url":"https://api.github.com/users/pelikhan/followers","following_url":"https://api.github.com/users/pelikhan/following{/other_user}","gists_url":"https://api.github.com/users/pelikhan/gists{/gist_id}","starred_url":"https://api.github.com/users/pelikhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelikhan/subscriptions","organizations_url":"https://api.github.com/users/pelikhan/orgs","repos_url":"https://api.github.com/users/pelikhan/repos","events_url":"https://api.github.com/users/pelikhan/events{/privacy}","received_events_url":"https://api.github.com/users/pelikhan/received_events","type":"User","site_admin":false},"labels":[{"id":412085282,"node_id":"MDU6TGFiZWw0MTIwODUyODI=","url":"https://api.github.com/repos/Microsoft/pxt/labels/P1","name":"P1","color":"fbca04","default":false},{"id":315976360,"node_id":"MDU6TGFiZWwzMTU5NzYzNjA=","url":"https://api.github.com/repos/Microsoft/pxt/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"mmoskal","id":10673976,"node_id":"MDQ6VXNlcjEwNjczOTc2","avatar_url":"https://avatars1.githubusercontent.com/u/10673976?v=4","gravatar_id":"","url":"https://api.github.com/users/mmoskal","html_url":"https://github.com/mmoskal","followers_url":"https://api.github.com/users/mmoskal/followers","following_url":"https://api.github.com/users/mmoskal/following{/other_user}","gists_url":"https://api.github.com/users/mmoskal/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoskal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoskal/subscriptions","organizations_url":"https://api.github.com/users/mmoskal/orgs","repos_url":"https://api.github.com/users/mmoskal/repos","events_url":"https://api.github.com/users/mmoskal/events{/privacy}","received_events_url":"https://api.github.com/users/mmoskal/received_events","type":"User","site_admin":false},"assignees":[{"login":"mmoskal","id":10673976,"node_id":"MDQ6VXNlcjEwNjczOTc2","avatar_url":"https://avatars1.githubusercontent.com/u/10673976?v=4","gravatar_id":"","url":"https://api.github.com/users/mmoskal","html_url":"https://github.com/mmoskal","followers_url":"https://api.github.com/users/mmoskal/followers","following_url":"https://api.github.com/users/mmoskal/following{/other_user}","gists_url":"https://api.github.com/users/mmoskal/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoskal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoskal/subscriptions","organizations_url":"https://api.github.com/users/mmoskal/orgs","repos_url":"https://api.github.com/users/mmoskal/repos","events_url":"https://api.github.com/users/mmoskal/events{/privacy}","received_events_url":"https://api.github.com/users/mmoskal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-12T12:07:09Z","updated_at":"2018-09-12T15:33:52Z","closed_at":null,"author_association":"MEMBER","body":"When editing the pxt-neopixel package, which contains package localization files, we lost all the translations. These files live under _locales/LOCALE/...\r\n\r\nThis is due to https://github.com/Microsoft/pxt/blob/6e006d120842b2bb8d77818cae16d69438746755/webapp/src/workspace.ts#L531 which deletes all nested files."},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/comments/420693422","html_url":"https://github.com/Microsoft/pxt/issues/4667#issuecomment-420693422","issue_url":"https://api.github.com/repos/Microsoft/pxt/issues/4667","id":420693422,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDY5MzQyMg==","user":{"login":"mmoskal","id":10673976,"node_id":"MDQ6VXNlcjEwNjczOTc2","avatar_url":"https://avatars1.githubusercontent.com/u/10673976?v=4","gravatar_id":"","url":"https://api.github.com/users/mmoskal","html_url":"https://github.com/mmoskal","followers_url":"https://api.github.com/users/mmoskal/followers","following_url":"https://api.github.com/users/mmoskal/following{/other_user}","gists_url":"https://api.github.com/users/mmoskal/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoskal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoskal/subscriptions","organizations_url":"https://api.github.com/users/mmoskal/orgs","repos_url":"https://api.github.com/users/mmoskal/repos","events_url":"https://api.github.com/users/mmoskal/events{/privacy}","received_events_url":"https://api.github.com/users/mmoskal/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T15:33:52Z","updated_at":"2018-09-12T15:33:52Z","author_association":"MEMBER","body":"There must be another reason. It's designed, so that the PXT editor only has a subset of files, and it should not overwrite other files. I believe this works for files, but probably not directories.\r\n\r\nWill look into this."}}
{"actor":{"display_login":"mmoskal"}}