mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
e6c05965dd
Mercurial's sparse checkout support allows "profile" files defining what's in sparse checkouts to be defined in-tree. This convenient feature means you simply need to point a client at a path inside the repository and it dynamically resolves what files to include in the checkout. As you update revisions, the "profile" pulls in updates to the underlying file. We introduce 2 sparse profiles: 1 for mach and another for taskgraph. The goal of the "mach" profile is to provide enough files to run `mach`. If you activate this profile and run `mach`, it runs without error. But there are practically no commands available. So it isn't terribly useful. The "taskgraph" profile allows us to run `mach taskgraph`. This profile demonstrates a sparse profile feature: including other profiles. The "taskgraph" profile is thus a union of "mach" and its own entries. There is definitely some fat in these profiles. I didn't feel like chasing the long tail and getting overly granular with the profiles. If we want to optimize later, we can do that. For reference: Full checkout: ~234,000 files mach: ~2,000 files taskgraph: ~3,600 files MozReview-Commit-ID: 7pALt0MwHfE --HG-- extra : rebase_source : 1a4ba4b8a63c522dab2841e2c0019501476da2fe
13 lines
384 B
Plaintext
13 lines
384 B
Plaintext
[include]
|
|
# Various mach commands call config.guess to resolve the default objdir name.
|
|
path:build/autoconf/config.guess
|
|
# Used for bootstrapping the mach driver.
|
|
path:build/mach_bootstrap.py
|
|
path:build/virtualenv_packages.txt
|
|
path:mach
|
|
# Various dependencies. There is room to trim fat, especially in
|
|
# third_party/python.
|
|
path:python/
|
|
path:testing/mozbase/
|
|
path:third_party/python/
|