-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle more ubuntu git repo errors
Currently there may be situations where there are untracked files present in the ubuntu git working directory (likely due to some previous failure state), so the provider will now automatically issue a `git clean -fd` to try and resolve these rather than failing. If the pull still fails, then just re-clone the repo (except in the case of 503 errors) Now raises a specific exception for the 503 errors which are frequently issued by the upstream https endpoint so that specific scenario can be handled separately Signed-off-by: Weston Steimel <[email protected]>
- Loading branch information
1 parent
543bca2
commit e5b1b26
Showing
1 changed file
with
54 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters