зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1621658 Update |mach try fuzzy| fzf version check r=ahal
Add filename support for plain display Update fzf version in tests Update tooltool url for fzf Differential Revision: https://phabricator.services.mozilla.com/D66571 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
51881bc9e7
Коммит
dfdd97e607
|
@ -67,10 +67,10 @@ mv /build/node_modules /build/node_modules_eslint-plugin-mozilla
|
|||
tooltool_fetch <<EOF
|
||||
[
|
||||
{
|
||||
"size": 866160,
|
||||
"digest": "9f0ef6bf44b8622bd0e4e8b0b5b5c714c0a2ce4487e6f234e7d4caac458164c521949f4d84b8296274e8bd20966f835e26f6492ba499405d38b620181e82429e",
|
||||
"size": 1161860,
|
||||
"digest": "3246470715e1ddf4c7e5136fdddd2ca269928c2de3074a98233faef189efd88fc9b28ddbe68642a31cf647a97f630941d764187006c5115e6f357d49322ef58d",
|
||||
"algorithm": "sha512",
|
||||
"filename": "fzf-0.16.11-linux_amd64.tgz",
|
||||
"filename": "fzf-0.20.0-linux_amd64.tgz",
|
||||
"unpack": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -218,6 +218,9 @@ def fzf_bootstrap(update=False):
|
|||
the install script.
|
||||
"""
|
||||
fzf_bin = find_executable('fzf')
|
||||
if fzf_bin and should_force_fzf_update(fzf_bin):
|
||||
update = True
|
||||
|
||||
if fzf_bin and not update:
|
||||
return fzf_bin
|
||||
|
||||
|
|
|
@ -29,9 +29,11 @@ def process_args():
|
|||
return argparser.parse_args()
|
||||
|
||||
|
||||
def plain_display(tasklist):
|
||||
def plain_display(taskfile):
|
||||
"""Original preview window display."""
|
||||
print("\n".join(sorted(s.strip("'") for s in tasklist.split())))
|
||||
with open(taskfile, "r") as f:
|
||||
tasklist = [line.strip() for line in f]
|
||||
print("\n".join(sorted(tasklist)))
|
||||
|
||||
|
||||
def duration_display(graph_cache_file, taskfile, cache_dir):
|
||||
|
|
Загрузка…
Ссылка в новой задаче