-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Move steps for updating ASF modules to Makefile #13354
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
Conversation
Hidden in the GitHub workflow, it's hard to find the command to run to fix the unused imports in the generated file. Here we move this logic to a new Makefile rule, for convenient manual and automated use.
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 39m 48s ⏱️ Results for commit 67bf369. ♻️ This comment has been updated with latest results. |
alexrashed
left a comment
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.
Nice! These changes are looking good, the more transparent the steps are the better! 💯
I am not fully sure if the format target fix really is tackling the root cause, but the current solution is imho semantically equivalent to the existing one, so no need to block anything here. :)
9028207 to
67bf369
Compare
Motivation
Hidden in the GitHub workflow, it was hard to find the command to run to fix the unused imports in the generated file, and the
pre-commitdoesn't pick this up if you run the scaffold generation manually and forget this step.Changes
Here we move the necessary commands to a single Makefile rule, for convenient manual and automated use.
(A further small commit also fixes a small issue in an existing Makefile rule, wherein a failing command wouldn't short-circuit the following command.)
Tests
make asf-regenerateworks nicely locally: the corresponding workflow would need to be run to fully test it, but it looks pretty safe to me.