GeezerVison is showing github.com — bpo-46038: Mark /configure file as generated in .gitattributes by arhadthedev · Pull Request #30031 · python/cpython
Conversation
arhadthedev
commented
Dec 10, 2021
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
configure is regenerated from configure.ac using a custom container with appropriate version of tools (quay.io/tiran/cpython_autoconf by Christian Heimes). As a result, configure falls into the same category as files generated by Argument Clinic, Freeze and Parser/asdl_c.py. Due to size and churn of these artifacts, they are marked in .gitattributes as generated so GitHub Pull Request Diff Viewer collapses them into a short notification. This pull request does the same for configure.
Actually, configure diff is so large that sometimes it crosses a threshold and GitHub collapses it by force with "Large diffs are not rendered by default" or even "xxx additions, yyy deletions not shown because the diff is too large. Please use a local Git client to view these changes". See GH-29756 as an extreme example and https://github.com/python/cpython/commits/main/configure for an average.
I believe this PR does not need a NEWS entry because the change is relevant only for a GitHub-hosted copy.
https://bugs.python.org/issue46038
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
configure is regenerated from configure.ac using a custom container
with appropriate version of tools (quay.io/tiran/cpython_autoconf
by Christian Heimes).
As a result, configure falls into the same category as files generated
by Argument Clinic, Freeze and Parser/asdl_c.py. Due to size and churn
of these artifacts, they are marked in .gitattributes as generated so
GitHub Pull Request Diff Viewer collapses them into a short
notification. This commit does the same for configure.
Actually, configure diff is so large that sometimes it crosses
a threshold and GitHub collapses it by force with "Large diffs are not
rendered by default" or even "xxx additions, yyy deletions not shown
because the diff is too large. Please use a local Git client to view
these changes". See pythonGH-29756 as an extreme example and
<https://github.com/python/cpython/commits/main/configure> for
an average.
Uh oh!
There was an error while loading. Please reload this page.
|
I'd say we backport this to 3.10 and 3.9, @tiran.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I know very little about autoconf.
@tiran, should this be merged? And should it be backported?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
+2 more reviewers
tiran
tiran approved these changes
taleinat
taleinat approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|