Enable fsmonitor/watchman during `./mach vcs-setup`
Categories
(Firefox Build System :: Mach Core, enhancement, P2)
Tracking
(firefox140 fixed)
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
Details
Attachments
(9 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Currently only the bootstrap.py script adds the watchman
hook. The instructions we sent out for the git
changeover were to do a raw git clone https://github.com/mozilla-firefox/firefox.git
, so all the additional things done in the standalone bootstrap script were unintentionally circumvented.
While we're doing this, we can migrate away from watchman
on Windows/macOS. The built-in fsmonitor
on git
version 2.37
or higher is better than using the watchman
hook. As such, let's bump the minimum git
version to 2.37
, setup fsmonitor
on Windows and macOS, and add the watchman
hook for linux
users in ./mach vcs-setup
.
Assignee | ||
Comment 1•23 days ago
|
||
https://github.blog/open-source/git/highlights-from-git-2-37
The fsmonitor
that's built-in for git
2.37+ on Windows/macOS is
superior to using watchman
with a hook. As such, we should recommended
this as the minimum version, and automatically configure fsmonitor
in a
subsequent patch.
Assignee | ||
Comment 2•23 days ago
|
||
Assignee | ||
Comment 3•23 days ago
|
||
This check is unnecessary now that the minimum required git
is 2.37
.
Assignee | ||
Comment 4•23 days ago
|
||
fscache
is only supported on Windows.- The built-in
fsmonitor
is superior to the Watchman hook, but is only supported on Windows/macOS. - Linux still requires
watchman
(and the sample hook script) to get fsmonitor-style speedups.
Assignee | ||
Comment 5•23 days ago
|
||
This is no longer necessary, as this is now handled entirely by ./mach vcs-setup
.
Assignee | ||
Comment 6•23 days ago
|
||
Assignee | ||
Comment 7•23 days ago
|
||
- Minor renames/refactoring
Assignee | ||
Comment 9•21 days ago
|
||
Assignee | ||
Comment 10•21 days ago
|
||
Comment 11•21 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/95fe04731cdb
https://hg.mozilla.org/mozilla-central/rev/6f5c43099ee0
https://hg.mozilla.org/mozilla-central/rev/e72997c9d887
https://hg.mozilla.org/mozilla-central/rev/8df0e499afc4
https://hg.mozilla.org/mozilla-central/rev/7c36158c954d
https://hg.mozilla.org/mozilla-central/rev/44c752305a21
https://hg.mozilla.org/mozilla-central/rev/9f42bb12acde
Updated•20 days ago
|
Comment 12•18 days ago
|
||
Comment 13•17 days ago
|
||
bugherder |
Comment 14•8 days ago
|
||
Comment 15•7 days ago
|
||
bugherder |
Description
•