Closed Bug 1646748 Opened 4 years ago Closed 4 years ago

`mach clobber python` deletes untracked new Python source files in python/

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

Details

Attachments

(1 file)

No description provided.
Summary: `mach clobber python` deletes untracked new Python source files → `mach clobber python` deletes untracked new Python source files in python/

This is a documented feature of mach clobber python, which I never noticed until bug 1645889 landed. I think it's fair to say that this is not how one would intuitively expect the command to work given that I'm the "owner" of this mach command and I never noticed this quirk until today. :)

python/ shouldn't contain compiled C extensions or anything and the existing *.py[cdo] and */__pycache__ clauses should get rid of most, if not all, of the relevant garbage in the directory.

If the original behavior turns out to be desirable, we can add it back in (maybe we can use the --full command line option?)

Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/914e5bf52768 `mach clobber python` no longer deletes arbitrary untracked files in `python/` r=nalexander
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: