{"action":"created","issue":{"url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/25","labels_url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/25/comments","events_url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/25/events","html_url":"https://github.com/seongjaelee/notational-velocity/issues/25","id":105679970,"number":25,"title":"Upgrade to 0.2.0 removes notes","user":{"login":"jrs65","id":695206,"avatar_url":"https://avatars.githubusercontent.com/u/695206?v=3","gravatar_id":"","url":"https://api.github.com/users/jrs65","html_url":"https://github.com/jrs65","followers_url":"https://api.github.com/users/jrs65/followers","following_url":"https://api.github.com/users/jrs65/following{/other_user}","gists_url":"https://api.github.com/users/jrs65/gists{/gist_id}","starred_url":"https://api.github.com/users/jrs65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrs65/subscriptions","organizations_url":"https://api.github.com/users/jrs65/orgs","repos_url":"https://api.github.com/users/jrs65/repos","events_url":"https://api.github.com/users/jrs65/events{/privacy}","received_events_url":"https://api.github.com/users/jrs65/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-09T20:40:16Z","updated_at":"2015-09-10T15:30:59Z","closed_at":"2015-09-10T07:32:25Z","body":"I'm not quite sure exactly what happened here: I just updated notational-velocity to `0.2.0` while I had a note open in atom, at that point the notes tab disappeared, and the note seems to have been removed from disk. I only started using this a few days ago, so I only had a single note, and so I'm not sure if the bug is removing all notes, or just ones that are open.\r\n\r\nAnyway there seems to be some kind of bug where notes get removed upon upgrade. Does the note directory get cleared out when atom updates the package directory?"},"comment":{"url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/comments/139282212","html_url":"https://github.com/seongjaelee/notational-velocity/issues/25#issuecomment-139282212","issue_url":"https://api.github.com/repos/seongjaelee/notational-velocity/issues/25","id":139282212,"user":{"login":"jonmagic","id":623,"avatar_url":"https://avatars.githubusercontent.com/u/623?v=3","gravatar_id":"","url":"https://api.github.com/users/jonmagic","html_url":"https://github.com/jonmagic","followers_url":"https://api.github.com/users/jonmagic/followers","following_url":"https://api.github.com/users/jonmagic/following{/other_user}","gists_url":"https://api.github.com/users/jonmagic/gists{/gist_id}","starred_url":"https://api.github.com/users/jonmagic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonmagic/subscriptions","organizations_url":"https://api.github.com/users/jonmagic/orgs","repos_url":"https://api.github.com/users/jonmagic/repos","events_url":"https://api.github.com/users/jonmagic/events{/privacy}","received_events_url":"https://api.github.com/users/jonmagic/received_events","type":"User","site_admin":true},"created_at":"2015-09-10T15:30:59Z","updated_at":"2015-09-10T15:30:59Z","body":"> If someone have any idea preventing the default note directory overwrite upon version update, please let me know. Thanks!\r\n\r\nOne idea I had was to `apm unpublish notational-velocity@0.2.0`, then change the project name to something like `nvatom`, kind of like `nvalt` (which I always used instead of Notational Velocity before I found your atom package).\r\n\r\nAdd an obvious big headline to the notational-velocity package readme that points people to the new package and explains why you're doing the rename. Also mention that removing the plugin may remove their notes, so they should install the new `nvatom` package first to make sure their notes make it into a safe place.\r\n\r\nHave the first version of the new `nvatom` package handle all of the notes directory stuff, including porting notes over from an old notational-velocity package."}}