Closed creativeprojects closed 1 month ago
The pull request introduces several modifications, including an update to the .gitignore
file to ignore all text files in the root directory, the addition of a new deploy-current
target in the Makefile for deploying binaries, and enhancements to the Global
struct in config/global.go
to clarify field descriptions. A new test function, TestGeneratePriorityFields
, is added in systemd/generate_test.go
to validate priority configurations, while documentation updates in priority.md
and systemd.md
provide clearer usage instructions and new features related to resticprofile
.
File | Change Summary |
---|---|
.gitignore | Added entry to ignore all text files (/*.txt ). |
Makefile | Introduced new phony target deploy-current for building and deploying binaries. |
config/global.go | Updated descriptions for IONice , IONiceClass , IONiceLevel , ResticLockRetryAfter , and ResticStaleLockAge . |
systemd/generate_test.go | Added TestGeneratePriorityFields to validate Generate function with various priority configurations. |
docs/content/configuration/priority.md | Clarified that both string and numeric values are valid for the priority parameter. |
docs/content/schedules/systemd.md | Updated to include new features related to priority and CPU scheduling in resticprofile . |
Objective | Addressed | Explanation |
---|---|---|
Ensure Nice value is correctly passed to systemd unit (229) |
✅ |
generate-jsonschema
target may connect with the main PR's modifications to the .gitignore
file, as both involve file management and configuration aspects within the project.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 63.04348%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 72.33%. Comparing base (
da03de7
) to head (2c6b1e3
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
schedule/handler_systemd.go | 0.00% | 17 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Set Nice and IONice in systemd service unit from global config
Fixes #229