Skip to content
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

Use CSV-separated outputs @ get-changed-files @ CI #105151

Conversation

webknjaz
Copy link
Contributor

This is necessary because paths with whitespaces tend to crash said
action[1][2][3]. Also, we don't need to use JSON as it's harder
to parse while the value isn't used except for the emptiness check.

The change fixes [4]. It also reverts commit 4c77061.

webknjaz added 2 commits May 31, 2023 17:43
This is necessary because paths with whitespaces tend to crash said
action[[1]][[2]][[3]]. Also, we don't need to use JSON as it's harder
to parse while the value isn't used except for the emptiness check.

The change fixes [[4]]

[1]: https://github.com/Ana06/get-changed-files#get-all-changed-files-as-space-delimited
[2]: python#103914 (comment)
[3]: python#103914 (comment)
[4]: python#103914 (comment)
@webknjaz
Copy link
Contributor Author

I've made a "demo PR" that should help verify that the fix is functional. It's here: #105153.

@webknjaz
Copy link
Contributor Author

I've made a "demo PR" that should help verify that the fix is functional. It's here: #105153.

UPD: it does work — https://github.com/python/cpython/actions/runs/5135145133/jobs/9240164159?pr=105153#step:5:17

cc @hugovk

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/reusable-docs.yml Outdated Show resolved Hide resolved
@webknjaz webknjaz requested a review from hugovk June 4, 2023 21:16
@webknjaz
Copy link
Contributor Author

webknjaz commented Jun 4, 2023

@hugovk I think this needs skip issue and skip news too.

Doc/tools/touch-clean-files.py Outdated Show resolved Hide resolved
Doc/tools/touch-clean-files.py Outdated Show resolved Hide resolved
.github/workflows/reusable-docs.yml Show resolved Hide resolved
webknjaz and others added 2 commits June 5, 2023 23:22
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hugovk hugovk merged commit eaa6702 into python:main Jun 21, 2023
webknjaz added a commit to webknjaz/cpython that referenced this pull request Jul 22, 2023
Co-authored-by: Hugo van Kemenade <[email protected]>
(cherry picked from commit eaa6702)
webknjaz added a commit to webknjaz/cpython that referenced this pull request Jul 22, 2023
Co-authored-by: Hugo van Kemenade <[email protected]>
(cherry picked from commit eaa6702)
ambv pushed a commit that referenced this pull request Jul 23, 2023
…) (#107043)

Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>.

(cherry picked from commit 88d14da)
(cherry picked from commit eaa6702)
ambv pushed a commit that referenced this pull request Jul 23, 2023
…) (#107042)

Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>

(cherry picked from commit 88d14da)
(cherry picked from commit eaa6702)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants