{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/11807","labels_url":"https://api.github.com/repos/owncloud/core/issues/11807/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/11807/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/11807/events","html_url":"https://github.com/owncloud/core/pull/11807","id":47017331,"number":11807,"title":"[WIP] Resolve mount conflicts in mount manager","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-10-28T11:54:24Z","updated_at":"2015-07-03T11:40:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/11807","html_url":"https://github.com/owncloud/core/pull/11807","diff_url":"https://github.com/owncloud/core/pull/11807.diff","patch_url":"https://github.com/owncloud/core/pull/11807.patch"},"body":":warning: EXPERIMENTAL :warning: \r\n\r\nExperimental fix to resolve mount point conflicts in the mount manager.\r\n@icewind1991 @schiesbn can you give me some feedback about this ?\r\nDo you see any case where this could go wrong, apart from race conditions ?\r\n\r\nCommit comment:\r\n\r\nWhenever a mount point is added, call file_exists() to check for an\r\nexisting file/folder/mount point.\r\n\r\nIn case of conflict, try and rename to newly added mount point. Else\r\nrename the target.\r\n\r\nTODO:\r\n- [ ] add unit tests (once the case is accepted)\r\n- [ ] extensive regression testing of all combinations of mount type conflicts\r\n- [ ] extensive regression testing of mount types conflict with folder/filer"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/118325040","html_url":"https://github.com/owncloud/core/pull/11807#issuecomment-118325040","issue_url":"https://api.github.com/repos/owncloud/core/issues/11807","id":118325040,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T11:40:31Z","updated_at":"2015-07-03T11:40:31Z","body":"@icewind1991 can you comment on this suggestion, maybe there is a better way to make this more generic ?"}}