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

always generate fixes in ClangTidy aspect #22

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

oliverlee
Copy link
Owner

Always generate the exported fixes when executing a ClangTidy aspect. By
using the check aspect in the apply_fixes rule, this rule can use
fixes stored in the action cache if available.

As apply_fixes now uses the check aspect, this commit removes the
export_fixes aspect as it is no longer used.

--remote_download_toplevel is suggested as an option in .bazelrc so
that aspect outputs may be downloaded from a remote cache if present.
This is primarily for use with the apply-fixes script which does not
define fixes as inputs.

Change-Id: I3c277a9bad789229b4138d7993d0a609fff0925d

Base automatically changed from Ieb3098c28157313400d5be807ae47679800fbef8 to main August 25, 2024 15:35
Always generate the exported fixes when executing a ClangTidy aspect. By
using the `check` aspect in the `apply_fixes` rule, this rule can use
fixes stored in the action cache if available.

As `apply_fixes` now uses the `check` aspect, this commit removes the
`export_fixes` aspect as it is no longer used.

`--remote_download_toplevel` is suggested as an option in `.bazelrc` so
that aspect outputs may be downloaded from a remote cache if present.
This is primarily for use with the `apply-fixes` script which does not
define fixes as inputs.

Change-Id: I3c277a9bad789229b4138d7993d0a609fff0925d
@pr-update pr-update bot force-pushed the I3c277a9bad789229b4138d7993d0a609fff0925d branch from 01dd1ed to 0fd41a3 Compare August 25, 2024 15:35
@oliverlee oliverlee merged commit 0231947 into main Aug 25, 2024
21 of 22 checks passed
@oliverlee oliverlee deleted the I3c277a9bad789229b4138d7993d0a609fff0925d branch August 25, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant