Closed Bug 1645889 Opened 5 years ago Closed 5 years ago

`mach clobber` should clobber Python files, not just objdir files

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

References

Details

Attachments

(1 file)

No description provided.

With the ongoing artifact issues, I find myself asking people to run mach clobber python quite frequently. Very often, those people come back and tell me that they tried to mach clobber and it didn't work, which is of course no surprise to me because mach clobber and mach clobber python do different things; so I have to repeat myself and we waste time going through the cycle multiple times for no reason.

It's not crazy to assume that mach clobber will do as much as, or more, work than mach clobber python, so this change should bring the actual functionality of the code in sync with what people tend to assume. People tend to instinctively mach clobber when something has gone wrong locally and since mach clobber python does actually fix a set of local issues that mach clobber does not, this could also result in fewer bugs being reported in the long run. This is technically a back-incompatible change, but unlike a clobber of the objdir which can require you to do an expensive full rebuild, nobody's going to miss their .pyc files being deleted.

Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/40ff90d21697 `mach clobber` clobbers Python files as well as objdir files r=nalexander
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
See Also: → 1720113
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: