-
Notifications
You must be signed in to change notification settings - Fork 4.5k
--explain explain should tell what files changed #13566
Copy link
Copy link
Closed as not planned
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request
Description of the problem / feature request:
Running
bazel --explain explain.logwill createexplain.logwith an explanation why a target was rebuilt. Unfortunately it lacks detailed information about which files changed. Instead a typical diagnostic is:Feature requests: what underlying problem are you trying to solve with this feature?
I would like to specify
--explain explain.logfor my builds unconditionally to adhoc debug "huh-why-did-this-now-build?"-situations.Ninja's explain log
-d explainhelped me in the past numerous times to track down dependency issues.What's the output of
bazel info release?development versionIf
bazel info releasereturns "development version" or "(@Non-Git)", tell us how you built Bazel.Recent Bazel used for Android