ci(python): python-runner 인자·핀 검증을 iris-bridge 정본과 일치 - #84
Merged
Merged
Conversation
scripts/ci/python-runner.sh를 iris-bridge b994317 정본과 byte-identical로 맞춘다. 이전 판은 `--`만 주면 해석기를 인자 없이 exec했고 `--print-interpreter` 뒤 추가 인자와 여러 줄 .python-version을 받았다. 이제 인자를 해석기 탐색 전에 검증해 usage exit 2로 끝내고 .python-version은 symlink가 아닌 정규 파일의 "3.14.7\n" 한 줄만 받는다. 저장소 호출자(python-runtime.sh, python-runtime action, commit-msg hook)는 --print-interpreter와 `-- <args>`만 쓰므로 동작이 같다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
scripts/ci/python-runner.sh를 iris-bridge b994317 정본과 byte-identical로 맞춥니다.
--만 주거나--print-interpreter뒤 인자가 있으면 해석기 탐색 전에 usage exit 2,.python-version은 symlink가 아닌 정규 파일의3.14.7\n한 줄만 허용합니다. 로컬 smoke:--/--print-interpreter x/무인자 → 2,--print-interpreter와-- -c ...→ 0, python-runtime.sh repo_python_init 성공. pre-push gate 통과.