Skip to content

Update generated files list and add diff=generated attribute #30745

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

Merged
merged 10 commits into from
Jan 21, 2022

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jan 21, 2022

As a side effect, the list of generated files is relocated after the language aware diff settings.

Closes python/core-workflow#425

Automerge-Triggered-By: GH:zware

Erlend E. Aasland added 3 commits January 21, 2022 13:45
+ Include/internal/pycore_ast_state.h
+ Lib/keyword.py
+ Parser/parser.c
+ Python/Python-ast.c
+ Python/stdlib_module_names.h
+ Tools/peg_generator/pegen/grammar_parser.py
@erlend-aasland
Copy link
Contributor Author

FYI @isidentical, I added some of the missing generated files, mostly related to the parser.

@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented Jan 21, 2022

I'm considering adding a NEWS item for this.

@erlend-aasland erlend-aasland changed the title Mark generated files with diff=generated attribute Update generated files list and add diff=generated attribute Jan 21, 2022
@erlend-aasland
Copy link
Contributor Author

Added configure and aclocal.m4 as well (this PR now superseeds #30031). I think that covers everything :)

@erlend-aasland
Copy link
Contributor Author

cc. @arhadthedev (I can't directly request your review on the PR)

Copy link
Member

@isidentical isidentical left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @erlend-aasland, LGTM. Assuming this includes everything from our make regen-all targets

Copy link
Member

@arhadthedev arhadthedev left a comment

Choose a reason for hiding this comment

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

Looks good to me, I have no objection on who successfully pushes a solution to a problem.

By the way, what does diff=generated do? Google returned nothing relevant for git diff generated; grepping the repository gives lots of clutter as well. Edit: I found the answer in python/core-workflow#425.

@erlend-aasland
Copy link
Contributor Author

Thanks for the PR @erlend-aasland, LGTM. Assuming this includes everything from our make regen-all targets

I went through the Makefile twice, but I may have overlooked something. Feel free to double check 🕵🏻

@erlend-aasland
Copy link
Contributor Author

IMO, I don't think it is worth the hassle to backport this. Cry out if you disagree.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@erlend-aasland erlend-aasland requested a review from zware January 21, 2022 20:24
@miss-islington
Copy link
Contributor

@erlend-aasland: Status check is done, and it's a success ✅ .

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.

Mark generated files with custom generated git diff driver
8 participants