Closed anmarchenko closed 6 months ago
Attention: Patch coverage is 98.87640%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 99.02%. Comparing base (
e238a74
) to head (40cd927
).
Files with missing lines | Patch % | Lines |
---|---|---|
spec/datadog/ci/git/upload_packfile_spec.rb | 97.50% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this PR do? Adds
Git::UploadPackfile
class that is able to upload a single git packfile to Datadog's git API.Makes minor changes to git_commits_rev_list and git_generate_packfiles methods to make them safer and prevent shell injections.
How to test the change? Unit tests are provided, otherwise this functionality is not used yet