8ec8a7d4d8260c9da7f920cda61255d580e326ff,src/python/pants/bin/goal_runner.py,GoalRunnerFactory,__init__,#GoalRunnerFactory#Any#Any#Any#Any#Any#Any#Any#Any#,33
Before Change
f"--owner-of={spec.glob}" for spec in self._specs.filesystem_specs
)
suggestion = f"run `{pants_bin_name} {suggested_owners_args} {v1_goals}`."
trying_to_use_globs = any("*" in spec.glob for spec in self._specs.filesystem_specs)
if trying_to_use_globs:
suggestion = (
f"run `{pants_bin_name} --owner-of=src/python/f1.py --owner-of=src/python/f2.py "
f"{v1_goals}`. (You must explicitly enumerate every file because " f"`--owner-of` does "
f"not support globs.)"
)
raise FilesystemSpecsUnsupported(
f"Instead of running `{approximate_original_command}`, {suggestion}\n\n"
f"Why? Filesystem specs like `src/python/example.py` and `src/**/*.java` (currently) only "
f"work when running goals implemented with the V2 engine. When using V1 goals, either use "
After Change
BuildFileAddresses, [self._specs.filesystem_specs]
)
updated_address_specs = AddressSpecs(
dependencies=tuple(
SingleAddress(a.spec_path, a.target_name) for a in owned_addresses
),
tags=self._specs.address_specs.matcher.tags,
exclude_patterns=self._specs.address_specs.matcher.exclude_patterns,
)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 8ec8a7d4d8260c9da7f920cda61255d580e326ff
Time: 2020-02-03
Author: ericarellano@me.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunnerFactory
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: a1696c815774552ee14e8df30f5636bb97c2b9e9
Time: 2018-07-13
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/tasks/wrapped_pex.py
Class Name: WrappedPEX
Method Name: run
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: f287a04243fb8cbe966161c106dce14fac274a6c
Time: 2018-01-06
Author: max.lapan@gmail.com
File Name: ch12/libbots/utils.py
Class Name:
Method Name: calc_bleu
Project Name: pantsbuild/pants
Commit Name: aa23024157360be890e9c50368ff54ca05ef7218
Time: 2019-05-18
Author: stuhood@gmail.com
File Name: src/python/pants/goal/context.py
Class Name: Context
Method Name: targets