Closed
Bug 1964939
Opened 11 days ago
Closed 3 days ago
Clobbering in jj repo on Windows complains about find command (with empty objdir)
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox140 fixed)
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: Gijs, Assigned: ahochheiden)
Details
Attachments
(1 file)
cmd = ["find", ".", "-type", "f", "-name", "*.py[cdo]", "-delete"]
subprocess.call(cmd, cwd=command_context.topsrcdir)
cmd = [
"find",
".",
"-type",
"d",
"-name",
"__pycache__",
"-empty",
"-delete",
]
ret = subprocess.call(cmd, cwd=command_context.topsrcdir)
outputs:
File not found - *.py[cdo]
FIND: Parameter format not correct
When run from a mozilla-build shell. The all caps "FIND" makes me suspect the subprocess call is running inside cmd
and using the Windows "find" executable instead of the *nix one.
Reporter | ||
Comment 1•11 days ago
|
||
(it's a colocated jj/git repo so it's also possible that this is an issue with the git command right above it.)
Reporter | ||
Comment 2•11 days ago
|
||
Mossop says this only shows up if the objdir is already empty.
Summary: Clobbering in jj repo on Windows complains about find command → Clobbering in jj repo on Windows complains about find command (with empty objdir)
Assignee | ||
Comment 3•11 days ago
|
||
For now, we assume all jj
repos are git
colocated, so we can do this
portion of the clobber the same way for jj
as we do for git
.
Updated•11 days ago
|
Assignee: nobody → ahochheiden
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 days ago
|
Severity: -- → S4
Priority: -- → P3
Pushed by ahochheiden@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4c71f8e790f4
Use `git` to clobber with `jj` and make the 'no-vcs' fallback pure python r=firefox-build-system-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 3 days ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•