{"action":"created","issue":{"url":"https://api.github.com/repos/gavoja/aemsync/issues/23","repository_url":"https://api.github.com/repos/gavoja/aemsync","labels_url":"https://api.github.com/repos/gavoja/aemsync/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/gavoja/aemsync/issues/23/comments","events_url":"https://api.github.com/repos/gavoja/aemsync/issues/23/events","html_url":"https://github.com/gavoja/aemsync/issues/23","id":227803410,"number":23,"title":"Syncing entire directory tree when one file is edited ","user":{"login":"danielrndm","id":4911465,"avatar_url":"https://avatars3.githubusercontent.com/u/4911465?v=3","gravatar_id":"","url":"https://api.github.com/users/danielrndm","html_url":"https://github.com/danielrndm","followers_url":"https://api.github.com/users/danielrndm/followers","following_url":"https://api.github.com/users/danielrndm/following{/other_user}","gists_url":"https://api.github.com/users/danielrndm/gists{/gist_id}","starred_url":"https://api.github.com/users/danielrndm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielrndm/subscriptions","organizations_url":"https://api.github.com/users/danielrndm/orgs","repos_url":"https://api.github.com/users/danielrndm/repos","events_url":"https://api.github.com/users/danielrndm/events{/privacy}","received_events_url":"https://api.github.com/users/danielrndm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-10T20:38:38Z","updated_at":"2017-06-07T15:11:29Z","closed_at":null,"body":"Sometimes, when a file is edited, it triggers changes in all files under the same root directory, syncing a whole directory unnecessarily. For instance, if I make a change in `/jcr_root/apps/components/a/script.jsp` it reports that there where changes in `/jcr_root/apps/components/b/script.jsp`, `/jcr_root/apps/components/c/script.jsp`, etc.. So, basically syncing everything under `apps` resulting in very long sync jobs. \r\n\r\nWe are seeing this in Windows 7 using Sublime Text 3 as the editor. Idk if this maybe has anything to do with Sublime Text. \r\n\r\nI'm thinking if maybe there was a non-recursive flag it would solve the issue. This wasn't a big deal at first, but we then realized that whenever aemsync decided to sync the whole `etc` folder, it would override an non-versioned folder we have under etc in our local servers."},"comment":{"url":"https://api.github.com/repos/gavoja/aemsync/issues/comments/306825661","html_url":"https://github.com/gavoja/aemsync/issues/23#issuecomment-306825661","issue_url":"https://api.github.com/repos/gavoja/aemsync/issues/23","id":306825661,"user":{"login":"gavoja","id":7010028,"avatar_url":"https://avatars2.githubusercontent.com/u/7010028?v=3","gravatar_id":"","url":"https://api.github.com/users/gavoja","html_url":"https://github.com/gavoja","followers_url":"https://api.github.com/users/gavoja/followers","following_url":"https://api.github.com/users/gavoja/following{/other_user}","gists_url":"https://api.github.com/users/gavoja/gists{/gist_id}","starred_url":"https://api.github.com/users/gavoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavoja/subscriptions","organizations_url":"https://api.github.com/users/gavoja/orgs","repos_url":"https://api.github.com/users/gavoja/repos","events_url":"https://api.github.com/users/gavoja/events{/privacy}","received_events_url":"https://api.github.com/users/gavoja/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T15:11:29Z","updated_at":"2017-06-07T15:11:29Z","body":"Syncing the parent directory rather than a file can indeed happen in certain cases:\r\n* Ading, removing or renaming files or directories.\r\n* Changing `.content.xml`.\r\n* Changing any file or directory inside `nt:unstructured` subtree. In this case the first non `nt:unstructured` ancestor will be pushed. This behaviour ensures proper handling of self-contained unstructured blocks of nodes such as dialogs that are distributed across multiple files (see #19).\r\nThe above is now in readme. Can you please check if the behaviour is fixed in 2.0.0. If not, could you please run aemsync in debug mode (`-d` flag) and send me the output?"}}
{"actor":{"display_login":"gavoja"}}