Add a backup and restore step on the netplans directory (Bugfix)#1933
Add a backup and restore step on the netplans directory (Bugfix)#1933pieqq merged 7 commits intocanonical:mainfrom
Conversation
197f7f1 to
945acb0
Compare
945acb0 to
b7c1a16
Compare
35e6c54 to
a66f086
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1933 +/- ##
==========================================
+ Coverage 50.39% 50.46% +0.06%
==========================================
Files 384 384
Lines 41095 41136 +41
Branches 6753 6829 +76
==========================================
+ Hits 20709 20758 +49
+ Misses 19644 19638 -6
+ Partials 742 740 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c551cf4 to
f8ef3c5
Compare
f8ef3c5 to
3ae5b84
Compare
pieqq
left a comment
There was a problem hiding this comment.
I have a few comments inline. I'm not sure why the functions you add return a boolean (sometimes). If it's only to east with writing the unit tests, then I would refrain from doing so, and instead modify the unit tests to check if an exception is raised, etc.
3ae5b84 to
7d0ce87
Compare
7d0ce87 to
6ba276a
Compare
pieqq
left a comment
There was a problem hiding this comment.
I think we had discussed about some of this stuff already on MM, see if that makes sense.
5503846 to
272c49f
Compare
272c49f to
8dfcc8d
Compare
|
I applied the suggestions, back to you @pieqq |
pieqq
left a comment
There was a problem hiding this comment.
Thanks for the quick fixes! Looks good, let's hope it helps!
* Add a backup and restore step on the netplans directory * Fix tests * Fix temporary directories * Fix the backup/restore behavior of netplans, overall simplifications * Modify a misplaced comment * Apply suggestions from review * Simplify the trycatch, fix flake8
* Add a backup and restore step on the netplans directory * Fix tests * Fix temporary directories * Fix the backup/restore behavior of netplans, overall simplifications * Modify a misplaced comment * Apply suggestions from review * Simplify the trycatch, fix flake8
* Add a backup and restore step on the netplans directory * Fix tests * Fix temporary directories * Fix the backup/restore behavior of netplans, overall simplifications * Modify a misplaced comment * Apply suggestions from review * Simplify the trycatch, fix flake8
* Add a backup and restore step on the netplans directory * Fix tests * Fix temporary directories * Fix the backup/restore behavior of netplans, overall simplifications * Modify a misplaced comment * Apply suggestions from review * Simplify the trycatch, fix flake8
Description
Resolved issues
Documentation
Tests