-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Download oscap tailoring file from a private git repo #263
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #263 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 106 106
Lines 4317 4334 +17
=========================================
+ Hits 4317 4334 +17
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
The entire point of https://github.com/ploigos/ploigos-step-runner/blob/main/src/ploigos_step_runner/utils/file.py#L139 was to make it so we wouldn't have to have the "if file / if repo" logic all ovcer the palce, we could jsut have it in one place. so why not update https://github.com/ploigos/ploigos-step-runner/blob/main/src/ploigos_step_runner/utils/file.py#L139 to be able to take credentials and provide them to git if given so this logic isn't just in openscap but anywhere we need to pull a file? |
856d161
to
fcb4b77
Compare
I agree this would be better. I'm also okay merging this because the work is already done but opening an issue to refactor it. |
fcb4b77
to
9d1aa4f
Compare
@christophermay07 based on our out of band conversation, i thought you were going to stop work on this (I may have misunderstood). I see more commits. Do you want me to review again instead? |
@dwinchell since this PR was so old, I rebased again |
Purpose
This PR enhances the existing OpenSCAP step runner to allow for pulling down an OpenSCAP definition tailoring file from a private git repository.
Breaking?
No
Integration Testing
TBD; currently in progress