{"action":"created","comment":{"url":"https://api.github.com/repos/lra/mackup/pulls/comments/36599898","id":36599898,"diff_hunk":"@@ -274,6 +319,69 @@ def _parse_apps_to_sync(self):\n \n         return apps_to_sync\n \n+    @staticmethod\n+    def make_config_file():\n+        storage_type = choose(\"What method would you like to use to backup \"\n+                              \"your configuration files?\",\n+                              [\"dropbox\", \"google_drive\", \"file_system\"])[0]\n+        path = \"\"\n+        if storage_type == \"file_system\":\n+            path = raw_input(\"Please enter the path where Mackup will save \"\n+                              \"your configuration files. You can use relative \"\n+                              \"or absolute paths\\n\")\n+\n+        directory = \"Mackup\"\n+        if confirm(\"Would you like to customize the directory in which \"\n+                         \"Mackup stores your files?\"):\n+            directory = raw_input(\"Directory name: \")\n+\n+        whitelist = \"\"\n+        if not confirm(\"Would you like to sync all applications or \"\n+                              \"specify from a list of supported software?\"):\n+            whitelist = choose(\"Choose any of the follwing \"\n+            \"deliminated by a space): \",\n+            appsdb.ApplicationsDatabase().get_pretty_app_names(), True)\n+\n+        blacklist = \"\"\n+        if confirm(\"Would you like to specify any applications you would \"\n+                        \"NOT like to sync?\"):\n+            blacklist = choose(\"Choose any of the follwing \"\n+            \"deliminated by a space): \",\n+            appsdb.ApplicationsDatabase().get_pretty_app_names(), True)\n+\n+        custom_apps = {} # {app_name: [config files]}\n+        if confirm(\"Now, would you like to add any applications not \"\n+                         \"currently supported by Mackup?\"):\n+            print \"Enter nothing to indicate your done\"","path":"mackup/config.py","position":90,"original_position":89,"commit_id":"4c370c713814dcf25552e09eb6ae2225a20d596d","original_commit_id":"082336fa62aa68ace0271ac2743ec28f2d7f625b","user":{"login":"lra","id":122286,"avatar_url":"https://avatars.githubusercontent.com/u/122286?v=3","gravatar_id":"","url":"https://api.github.com/users/lra","html_url":"https://github.com/lra","followers_url":"https://api.github.com/users/lra/followers","following_url":"https://api.github.com/users/lra/following{/other_user}","gists_url":"https://api.github.com/users/lra/gists{/gist_id}","starred_url":"https://api.github.com/users/lra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lra/subscriptions","organizations_url":"https://api.github.com/users/lra/orgs","repos_url":"https://api.github.com/users/lra/repos","events_url":"https://api.github.com/users/lra/events{/privacy}","received_events_url":"https://api.github.com/users/lra/received_events","type":"User","site_admin":false},"body":"that you are done","created_at":"2015-08-10T03:30:16Z","updated_at":"2015-08-10T03:30:16Z","html_url":"https://github.com/lra/mackup/pull/236#discussion_r36599898","pull_request_url":"https://api.github.com/repos/lra/mackup/pulls/236","_links":{"self":{"href":"https://api.github.com/repos/lra/mackup/pulls/comments/36599898"},"html":{"href":"https://github.com/lra/mackup/pull/236#discussion_r36599898"},"pull_request":{"href":"https://api.github.com/repos/lra/mackup/pulls/236"}}},"pull_request":{"url":"https://api.github.com/repos/lra/mackup/pulls/236","id":13540555,"html_url":"https://github.com/lra/mackup/pull/236","diff_url":"https://github.com/lra/mackup/pull/236.diff","patch_url":"https://github.com/lra/mackup/pull/236.patch","issue_url":"https://api.github.com/repos/lra/mackup/issues/236","number":236,"state":"open","locked":false,"title":"Configuration Generation","user":{"login":"Timidger","id":3515754,"avatar_url":"https://avatars.githubusercontent.com/u/3515754?v=3","gravatar_id":"","url":"https://api.github.com/users/Timidger","html_url":"https://github.com/Timidger","followers_url":"https://api.github.com/users/Timidger/followers","following_url":"https://api.github.com/users/Timidger/following{/other_user}","gists_url":"https://api.github.com/users/Timidger/gists{/gist_id}","starred_url":"https://api.github.com/users/Timidger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timidger/subscriptions","organizations_url":"https://api.github.com/users/Timidger/orgs","repos_url":"https://api.github.com/users/Timidger/repos","events_url":"https://api.github.com/users/Timidger/events{/privacy}","received_events_url":"https://api.github.com/users/Timidger/received_events","type":"User","site_admin":false},"body":"If ~/.mackup.cfg does not exist, Mackup asks the user if he wants to make one. It then prompts them to answer some questions so that it can be generated. Also generates custom apps in the ~/.mackup folder if the user wants to.","created_at":"2014-03-13T19:37:36Z","updated_at":"2015-08-10T03:30:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7c88f32ab5042bee22e2009b09c77e5b3c43a51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lra/mackup/pulls/236/commits","review_comments_url":"https://api.github.com/repos/lra/mackup/pulls/236/comments","review_comment_url":"https://api.github.com/repos/lra/mackup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lra/mackup/issues/236/comments","statuses_url":"https://api.github.com/repos/lra/mackup/statuses/4c370c713814dcf25552e09eb6ae2225a20d596d","head":{"label":"Timidger:master","ref":"master","sha":"4c370c713814dcf25552e09eb6ae2225a20d596d","user":{"login":"Timidger","id":3515754,"avatar_url":"https://avatars.githubusercontent.com/u/3515754?v=3","gravatar_id":"","url":"https://api.github.com/users/Timidger","html_url":"https://github.com/Timidger","followers_url":"https://api.github.com/users/Timidger/followers","following_url":"https://api.github.com/users/Timidger/following{/other_user}","gists_url":"https://api.github.com/users/Timidger/gists{/gist_id}","starred_url":"https://api.github.com/users/Timidger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timidger/subscriptions","organizations_url":"https://api.github.com/users/Timidger/orgs","repos_url":"https://api.github.com/users/Timidger/repos","events_url":"https://api.github.com/users/Timidger/events{/privacy}","received_events_url":"https://api.github.com/users/Timidger/received_events","type":"User","site_admin":false},"repo":{"id":17653342,"name":"mackup","full_name":"Timidger/mackup","owner":{"login":"Timidger","id":3515754,"avatar_url":"https://avatars.githubusercontent.com/u/3515754?v=3","gravatar_id":"","url":"https://api.github.com/users/Timidger","html_url":"https://github.com/Timidger","followers_url":"https://api.github.com/users/Timidger/followers","following_url":"https://api.github.com/users/Timidger/following{/other_user}","gists_url":"https://api.github.com/users/Timidger/gists{/gist_id}","starred_url":"https://api.github.com/users/Timidger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timidger/subscriptions","organizations_url":"https://api.github.com/users/Timidger/orgs","repos_url":"https://api.github.com/users/Timidger/repos","events_url":"https://api.github.com/users/Timidger/events{/privacy}","received_events_url":"https://api.github.com/users/Timidger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Timidger/mackup","description":"Keep your application settings in sync (OS X/Linux)","fork":true,"url":"https://api.github.com/repos/Timidger/mackup","forks_url":"https://api.github.com/repos/Timidger/mackup/forks","keys_url":"https://api.github.com/repos/Timidger/mackup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Timidger/mackup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Timidger/mackup/teams","hooks_url":"https://api.github.com/repos/Timidger/mackup/hooks","issue_events_url":"https://api.github.com/repos/Timidger/mackup/issues/events{/number}","events_url":"https://api.github.com/repos/Timidger/mackup/events","assignees_url":"https://api.github.com/repos/Timidger/mackup/assignees{/user}","branches_url":"https://api.github.com/repos/Timidger/mackup/branches{/branch}","tags_url":"https://api.github.com/repos/Timidger/mackup/tags","blobs_url":"https://api.github.com/repos/Timidger/mackup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Timidger/mackup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Timidger/mackup/git/refs{/sha}","trees_url":"https://api.github.com/repos/Timidger/mackup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Timidger/mackup/statuses/{sha}","languages_url":"https://api.github.com/repos/Timidger/mackup/languages","stargazers_url":"https://api.github.com/repos/Timidger/mackup/stargazers","contributors_url":"https://api.github.com/repos/Timidger/mackup/contributors","subscribers_url":"https://api.github.com/repos/Timidger/mackup/subscribers","subscription_url":"https://api.github.com/repos/Timidger/mackup/subscription","commits_url":"https://api.github.com/repos/Timidger/mackup/commits{/sha}","git_commits_url":"https://api.github.com/repos/Timidger/mackup/git/commits{/sha}","comments_url":"https://api.github.com/repos/Timidger/mackup/comments{/number}","issue_comment_url":"https://api.github.com/repos/Timidger/mackup/issues/comments{/number}","contents_url":"https://api.github.com/repos/Timidger/mackup/contents/{+path}","compare_url":"https://api.github.com/repos/Timidger/mackup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Timidger/mackup/merges","archive_url":"https://api.github.com/repos/Timidger/mackup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Timidger/mackup/downloads","issues_url":"https://api.github.com/repos/Timidger/mackup/issues{/number}","pulls_url":"https://api.github.com/repos/Timidger/mackup/pulls{/number}","milestones_url":"https://api.github.com/repos/Timidger/mackup/milestones{/number}","notifications_url":"https://api.github.com/repos/Timidger/mackup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Timidger/mackup/labels{/name}","releases_url":"https://api.github.com/repos/Timidger/mackup/releases{/id}","created_at":"2014-03-12T02:55:17Z","updated_at":"2015-02-03T00:22:48Z","pushed_at":"2015-08-10T03:29:44Z","git_url":"git://github.com/Timidger/mackup.git","ssh_url":"git@github.com:Timidger/mackup.git","clone_url":"https://github.com/Timidger/mackup.git","svn_url":"https://github.com/Timidger/mackup","homepage":"","size":1243,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lra:master","ref":"master","sha":"ea326c7f2c3410eff92486ff2ca55dc0b1a91833","user":{"login":"lra","id":122286,"avatar_url":"https://avatars.githubusercontent.com/u/122286?v=3","gravatar_id":"","url":"https://api.github.com/users/lra","html_url":"https://github.com/lra","followers_url":"https://api.github.com/users/lra/followers","following_url":"https://api.github.com/users/lra/following{/other_user}","gists_url":"https://api.github.com/users/lra/gists{/gist_id}","starred_url":"https://api.github.com/users/lra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lra/subscriptions","organizations_url":"https://api.github.com/users/lra/orgs","repos_url":"https://api.github.com/users/lra/repos","events_url":"https://api.github.com/users/lra/events{/privacy}","received_events_url":"https://api.github.com/users/lra/received_events","type":"User","site_admin":false},"repo":{"id":9265294,"name":"mackup","full_name":"lra/mackup","owner":{"login":"lra","id":122286,"avatar_url":"https://avatars.githubusercontent.com/u/122286?v=3","gravatar_id":"","url":"https://api.github.com/users/lra","html_url":"https://github.com/lra","followers_url":"https://api.github.com/users/lra/followers","following_url":"https://api.github.com/users/lra/following{/other_user}","gists_url":"https://api.github.com/users/lra/gists{/gist_id}","starred_url":"https://api.github.com/users/lra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lra/subscriptions","organizations_url":"https://api.github.com/users/lra/orgs","repos_url":"https://api.github.com/users/lra/repos","events_url":"https://api.github.com/users/lra/events{/privacy}","received_events_url":"https://api.github.com/users/lra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lra/mackup","description":"Keep your application settings in sync (OS X/Linux)","fork":false,"url":"https://api.github.com/repos/lra/mackup","forks_url":"https://api.github.com/repos/lra/mackup/forks","keys_url":"https://api.github.com/repos/lra/mackup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lra/mackup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lra/mackup/teams","hooks_url":"https://api.github.com/repos/lra/mackup/hooks","issue_events_url":"https://api.github.com/repos/lra/mackup/issues/events{/number}","events_url":"https://api.github.com/repos/lra/mackup/events","assignees_url":"https://api.github.com/repos/lra/mackup/assignees{/user}","branches_url":"https://api.github.com/repos/lra/mackup/branches{/branch}","tags_url":"https://api.github.com/repos/lra/mackup/tags","blobs_url":"https://api.github.com/repos/lra/mackup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lra/mackup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lra/mackup/git/refs{/sha}","trees_url":"https://api.github.com/repos/lra/mackup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lra/mackup/statuses/{sha}","languages_url":"https://api.github.com/repos/lra/mackup/languages","stargazers_url":"https://api.github.com/repos/lra/mackup/stargazers","contributors_url":"https://api.github.com/repos/lra/mackup/contributors","subscribers_url":"https://api.github.com/repos/lra/mackup/subscribers","subscription_url":"https://api.github.com/repos/lra/mackup/subscription","commits_url":"https://api.github.com/repos/lra/mackup/commits{/sha}","git_commits_url":"https://api.github.com/repos/lra/mackup/git/commits{/sha}","comments_url":"https://api.github.com/repos/lra/mackup/comments{/number}","issue_comment_url":"https://api.github.com/repos/lra/mackup/issues/comments{/number}","contents_url":"https://api.github.com/repos/lra/mackup/contents/{+path}","compare_url":"https://api.github.com/repos/lra/mackup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lra/mackup/merges","archive_url":"https://api.github.com/repos/lra/mackup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lra/mackup/downloads","issues_url":"https://api.github.com/repos/lra/mackup/issues{/number}","pulls_url":"https://api.github.com/repos/lra/mackup/pulls{/number}","milestones_url":"https://api.github.com/repos/lra/mackup/milestones{/number}","notifications_url":"https://api.github.com/repos/lra/mackup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lra/mackup/labels{/name}","releases_url":"https://api.github.com/repos/lra/mackup/releases{/id}","created_at":"2013-04-06T19:22:54Z","updated_at":"2015-08-09T21:15:44Z","pushed_at":"2015-08-10T03:29:44Z","git_url":"git://github.com/lra/mackup.git","ssh_url":"git@github.com:lra/mackup.git","clone_url":"https://github.com/lra/mackup.git","svn_url":"https://github.com/lra/mackup","homepage":"","size":4939,"stargazers_count":3011,"watchers_count":3011,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":309,"mirror_url":null,"open_issues_count":68,"forks":309,"open_issues":68,"watchers":3011,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lra/mackup/pulls/236"},"html":{"href":"https://github.com/lra/mackup/pull/236"},"issue":{"href":"https://api.github.com/repos/lra/mackup/issues/236"},"comments":{"href":"https://api.github.com/repos/lra/mackup/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/lra/mackup/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/lra/mackup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lra/mackup/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/lra/mackup/statuses/4c370c713814dcf25552e09eb6ae2225a20d596d"}}}}