resticprofile
resticprofile copied to clipboard
DEB, RPM, APK packages
This PR attempts to create DEB, RPM and APK packages to simplify deployment on Linux. It is an early draft at the moment and requires more work and probably some iterations and feedback.
It depends on the following:
- [ ] Config layout for
/etc/resticprofile(using similar concepts as other software) - [x] Post installation script (e.g. calls
resticprofile generate-keyif password file is missing) - [x] Update to
.goreleaserto createdeb,rpm&apk - [x] #65
- [x] #62
Codecov Report
Merging #66 (e73d7b5) into master (ea52e93) will decrease coverage by
2.73%. The diff coverage is100.00%.
:exclamation: Current head e73d7b5 differs from pull request most recent head d3d9ea1. Consider uploading reports for the commit d3d9ea1 to get more accurate results
@@ Coverage Diff @@
## master #66 +/- ##
==========================================
- Coverage 64.86% 62.13% -2.74%
==========================================
Files 64 62 -2
Lines 6472 5931 -541
==========================================
- Hits 4198 3685 -513
+ Misses 2078 2047 -31
- Partials 196 199 +3
| Impacted Files | Coverage Δ | |
|---|---|---|
| systemd/generate.go | 83.01% <ø> (ø) |
|
| config/profile.go | 92.46% <100.00%> (-1.94%) |
:arrow_down: |
| filesearch/filesearch.go | 74.45% <100.00%> (+0.18%) |
:arrow_up: |
| commands.go | 27.06% <0.00%> (-20.19%) |
:arrow_down: |
| config/path.go | 77.50% <0.00%> (-3.75%) |
:arrow_down: |
| config/config.go | 71.42% <0.00%> (-1.51%) |
:arrow_down: |
| flags.go | ||
| complete.go | ||
| ... and 2 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update ea52e93...d3d9ea1. Read the comment docs.
Cool, this one was also on my TODO list 😄
Great 😀 , still some work ahead.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
