-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception handling #207
Exception handling #207
Commits on Dec 26, 2018
-
Exception handling for backups (#206)
This commit covers: 1. Specifying the backup path to an existing filename. 2. KeyboardInterrupts at menus and prompts. 3. When backing up packages, failed but installed commands (e.g., ls xxx/.cargo/bin) outputted their error messages to STDOUT. 4. No need to clean up empty backup files now since we don't write to the packages' files if they're not installed. 5. Because of #4, we needed to move npm's 2nd write section into an if so that it wouldn't try to remove a nonexistent file.
Jason Phan committedDec 26, 2018 Configuration menu - View commit details
-
Copy full SHA for 5b47b3c - Browse repository at this point
Copy the full SHA 5b47b3cView commit details -
Exception handling for --new_path (#206)
I decided to exit here instead of reprompting like in path_update_prompt() because if you're using the --new_path option you decided not to just use the regular path update prompt for some reason. I don't really know why this option's a thing honestly because running shallow-backup with no arguments always prompts you to update the path anyways.
Jason Phan committedDec 26, 2018 Configuration menu - View commit details
-
Copy full SHA for 1d279fd - Browse repository at this point
Copy the full SHA 1d279fdView commit details -
Jason Phan committed
Dec 26, 2018 Configuration menu - View commit details
-
Copy full SHA for 59ba373 - Browse repository at this point
Copy the full SHA 59ba373View commit details
Commits on Dec 27, 2018
-
Fixed reinstalling packages w/ no package backups
Also got rid of unnecessary inner function.
Jason Phan committedDec 27, 2018 Configuration menu - View commit details
-
Copy full SHA for a9b1956 - Browse repository at this point
Copy the full SHA a9b1956View commit details -
Jason Phan committed
Dec 27, 2018 Configuration menu - View commit details
-
Copy full SHA for ecbfbe5 - Browse repository at this point
Copy the full SHA ecbfbe5View commit details
Commits on Jan 1, 2019
-
Jason Phan committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 289cb65 - Browse repository at this point
Copy the full SHA 289cb65View commit details -
Updated to exit after no package backups are found
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for f436375 - Browse repository at this point
Copy the full SHA f436375View commit details -
Jason Phan committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 41c6f99 - Browse repository at this point
Copy the full SHA 41c6f99View commit details -
got rid of extra EOL blank line
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 5a96b6c - Browse repository at this point
Copy the full SHA 5a96b6cView commit details -
Jason Phan committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for cb2b47e - Browse repository at this point
Copy the full SHA cb2b47eView commit details -
Refactored out existing file check into utils.py
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 28f40b6 - Browse repository at this point
Copy the full SHA 28f40b6View commit details -
Jason Phan committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for fb5cef6 - Browse repository at this point
Copy the full SHA fb5cef6View commit details -
Updated backup prompt to not be literal satan
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 5054d89 - Browse repository at this point
Copy the full SHA 5054d89View commit details -
Added check for existing but empty package directories
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 11434b6 - Browse repository at this point
Copy the full SHA 11434b6View commit details -
Fixed empty dir check and modified package error message
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 3783008 - Browse repository at this point
Copy the full SHA 3783008View commit details -
Updated existing file check function name
Co-Authored-By: bl0nd <xorblonded@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ef21b41 - Browse repository at this point
Copy the full SHA ef21b41View commit details -
Pulled renaming suggested change
Jason Phan committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 4fc4841 - Browse repository at this point
Copy the full SHA 4fc4841View commit details
Commits on Jan 2, 2019
-
Modified empty directory check condition
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 6947433 - Browse repository at this point
Copy the full SHA 6947433View commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 89d425f - Browse repository at this point
Copy the full SHA 89d425fView commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 65ae865 - Browse repository at this point
Copy the full SHA 65ae865View commit details -
modified package error message
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 551f4a3 - Browse repository at this point
Copy the full SHA 551f4a3View commit details -
removed unnecessary parameters and updated function calls
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 2b90678 - Browse repository at this point
Copy the full SHA 2b90678View commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for e16c9f0 - Browse repository at this point
Copy the full SHA e16c9f0View commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 6584ba7 - Browse repository at this point
Copy the full SHA 6584ba7View commit details -
Updated new_dir_is_valid to return bool
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for eaf0b9d - Browse repository at this point
Copy the full SHA eaf0b9dView commit details -
updated to reflect new new_dir_is_valid()
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for ff1233a - Browse repository at this point
Copy the full SHA ff1233aView commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for ee9343d - Browse repository at this point
Copy the full SHA ee9343dView commit details -
Jason Phan committed
Jan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 6c7f9fa - Browse repository at this point
Copy the full SHA 6c7f9faView commit details -
moved empty backup dir check into function
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for 92adb5b - Browse repository at this point
Copy the full SHA 92adb5bView commit details -
updated empty_backup_dir_check() message
Jason Phan committedJan 2, 2019 Configuration menu - View commit details
-
Copy full SHA for e9ae1aa - Browse repository at this point
Copy the full SHA e9ae1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2031741 - Browse repository at this point
Copy the full SHA 2031741View commit details