-
Notifications
You must be signed in to change notification settings - Fork 5
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
coreos-overlay-diff.py is broken with Python sh 2.x #159
Comments
@sayanchowdhury / @tormath1 do we use this script? |
Good question. I think most of the package diff is now handled from bash script: https://github.com/flatcar/flatcar-build-scripts/blob/6495dd7bf80b6ec7e5646cf06a50eadb6dea996c/package-diff (see: https://github.com/flatcar/scripts/blob/29f7c259bd77173ae91b4e65cb8dd4ef424d5482/ci-automation/image_changes.sh#L310) |
@chewi: I don't think I have ever used the script. Feel free to kill it. |
Description
This script was written against sh 1.x. There were some significant breaking changes in 2.x, notably the way pipes are constructed and the type returned.
Impact
Environment and steps to reproduce
Expected behavior
It outputs information about which commits to pick.
Additional information
I would fix this now, but I imagine it's still used in places that don't have sh 2.x. We could support both, but quite a few lines would need to be duplicated. The syntax is quite different.
The text was updated successfully, but these errors were encountered: