[Backport] Modules: scm_track - Fix pushing to repositories #3622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Linked Items
Fixes #3621
Description
Cobbler crashed when enabling
scm_track
. Especially thescm_track_push_script
setting didn't work due to asubprocess.call
refactoring.Behaviour changes
Old: Cobbler crashes when using
scm_track
New: Cobbler is able to push to remote repositories with the
scm_track
module.Category
This is related to a:
Tests