• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alichtman / shallow-backup / 245
42%

Build:
DEFAULT BRANCH: master
Ran 02 Jan 2019 05:35AM UTC
Jobs 1
Files 8
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
245

push

travis-ci-com

alichtman
Exception handling (#207)

So this PR is a fix for most things that I found which could be fixed without major refactoring, including:
1. Specifying the backup path to a file (via prompt and `--new_path`).
2. KeyboardInterrupts at menus and prompts.
3. Failed but installed commands ran while backing up packages outputted error messages to STDOUT. This was the case for cargo's backup which ran `ls xxx/.cargo/bin` when I didn't have cargo.
4. There was a `configs_mapping` instead of `config_mapping` in `reinstall_configs()` when accessing the config dict.
5. Minor refactoring so that not installed packages won't get a backup directory so we don't need a for loop to clean those up.
6. Reinstalling packages without package backups errored out so now you get prompted to backup packages first.

I tried to follow your lead of allowing users to fix the issues themselves by reprompting and things like that but if you have any further suggestions I'll try my best to do them.

For some of the unfixed problems (critical and otherwise) like failing to reinstall configs for an already existing Sublime Text 3 because copytree() doesn't overwrite, I'll make a separate issue. The main reason for not fixing them in this PR was just because I didn't want to do major code revisions, I just wanted to focus on general handling in this one.

191 of 392 relevant lines covered (48.72%)

0.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 245.1 02 Jan 2019 05:35AM UTC 0
48.72
Travis Job 245.1
Source Files on build 245
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #245
  • 9f8f9d40 on github
  • Prev Build on master (#36)
  • Next Build on master (#54)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc