`mach clobber` should clobber Python files, not just objdir files
Categories
(Firefox Build System :: General, task)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: rstewart, Assigned: rstewart)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•5 years ago
|
||
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.
Comment 3•5 years ago
|
||
bugherder |
Description
•